netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/3] xsk: misc code cleanup
@ 2018-08-30 13:56 Magnus Karlsson
  2018-08-30 13:56 ` [PATCH bpf-next 1/3] i40e: fix possible compiler warning in xsk TX path Magnus Karlsson
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Magnus Karlsson @ 2018-08-30 13:56 UTC (permalink / raw)
  To: magnus.karlsson, bjorn.topel, ast, daniel, netdev

This patch set cleans up two code style issues with the xsk zero-copy
code. The resulting code is smaller and simpler.

Patch 1: Removes a potential compiler warning reported by the Intel
         0-DAY kernel test infrastructure.
Patches 2-3: 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.

I based this patch set on bpf-next commit 234dbe3dc1db ("Merge branch
'verifier-liveness-simplification'")

Thanks: Magnus

Magnus Karlsson (3):
  i40e: fix possible compiler warning in xsk TX path
  xsk: get rid of useless struct xdp_umem_props
  i40e: adapt driver to new xdp_umem structure

 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-08-31 14:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-30 13:56 [PATCH bpf-next 0/3] xsk: misc code cleanup Magnus Karlsson
2018-08-30 13:56 ` [PATCH bpf-next 1/3] i40e: fix possible compiler warning in xsk TX path Magnus Karlsson
2018-08-30 13:56 ` [PATCH bpf-next 2/3] xsk: get rid of useless struct xdp_umem_props Magnus Karlsson
2018-08-31  4:03   ` kbuild test robot
2018-08-30 13:56 ` [PATCH bpf-next 3/3] i40e: adapt driver to new xdp_umem structure Magnus Karlsson
2018-08-31 10:34   ` Daniel Borkmann
2018-08-31  2:42 ` [PATCH bpf-next 0/3] xsk: misc code cleanup Alexei Starovoitov

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).