From: Magnus Karlsson <magnus.karlsson@intel.com>
To: magnus.karlsson@intel.com, bjorn.topel@intel.com, ast@kernel.org,
daniel@iogearbox.net, netdev@vger.kernel.org,
jeffrey.t.kirsher@intel.com
Subject: [PATCH bpf-next v2 0/2] xsk: misc code cleanup
Date: Fri, 31 Aug 2018 13:40:00 +0200 [thread overview]
Message-ID: <1535715602-29056-1-git-send-email-magnus.karlsson@intel.com> (raw)
This patch set cleans up two code style issues with the xsk zero-copy
code. The resulting code is smaller and simpler.
Changes from v1:
* Fixed bisecatbility problem reported by Daniel Borkmann by squashing
the two last patches into one.
Patch 1: Removes a potential compiler warning reported by the Intel
0-DAY kernel test infrastructure.
Patch 2: Removes the xdp_umem_props structure. At some point, it
was used to break a dependency, but the members are these
days much better off in the xdp_umem since the dependency
does not exist anymore. Also adapts the i40e driver to this
new interface.
I based this patch set on bpf-next commit 9c4f39811db8 ("samples/bpf:
xdpsock, minor fixes")
Thanks: Magnus
Magnus Karlsson (2):
i40e: fix possible compiler warning in xsk TX path
xsk: i40e: get rid of useless struct xdp_umem_props
drivers/net/ethernet/intel/i40e/i40e_xsk.c | 10 ++++------
include/net/xdp_sock.h | 8 ++------
net/xdp/xdp_umem.c | 4 ++--
net/xdp/xdp_umem_props.h | 14 --------------
net/xdp/xsk.c | 10 ++++++----
net/xdp/xsk_queue.c | 5 +++--
net/xdp/xsk_queue.h | 13 +++++++------
7 files changed, 24 insertions(+), 40 deletions(-)
delete mode 100644 net/xdp/xdp_umem_props.h
next reply other threads:[~2018-08-31 15:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-31 11:40 Magnus Karlsson [this message]
2018-08-31 11:40 ` [PATCH bpf-next v2 1/2] i40e: fix possible compiler warning in xsk TX path Magnus Karlsson
2018-08-31 11:40 ` [PATCH bpf-next v2 2/2] xsk: i40e: get rid of useless struct xdp_umem_props Magnus Karlsson
2018-08-31 23:43 ` [PATCH bpf-next v2 0/2] xsk: misc code cleanup Daniel Borkmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1535715602-29056-1-git-send-email-magnus.karlsson@intel.com \
--to=magnus.karlsson@intel.com \
--cc=ast@kernel.org \
--cc=bjorn.topel@intel.com \
--cc=daniel@iogearbox.net \
--cc=jeffrey.t.kirsher@intel.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).