bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next v3 0/3] XDP flush cleanups
@ 2020-01-27  0:13 John Fastabend
  2020-01-27  0:14 ` [PATCH bpf-next v3 1/3] bpf: xdp, update devmap comments to reflect napi/rcu usage John Fastabend
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: John Fastabend @ 2020-01-27  0:13 UTC (permalink / raw)
  To: bpf
  Cc: bjorn.topel, songliubraving, john.fastabend, ast, daniel, toke,
	maciej.fijalkowski, netdev

A couple updates to cleanup some of the XDP comments and rcu usage.

It would be best if patch 1/3 goes into current bpf-next with the
associated patch in the fixes tag so we don't have out of sync
comments in the code. Just noting because its close to time to close
{bpf|net}-next branches.

v2->v3: Jesper noticed I can't spell, so fixed spelling. If we
are fixing comments its best to have correct spelling.

v1->v2: Added 2/3 patch for virtio_net to use rcu_access_pointer
and avoid read_lock.

John Fastabend (3):
  bpf: xdp, update devmap comments to reflect napi/rcu usage
  bpf: xdp, virtio_net use access ptr macro for xdp enable check
  bpf: xdp, remove no longer required rcu_read_{un}lock()

 drivers/net/veth.c       |  6 +++++-
 drivers/net/virtio_net.c |  2 +-
 kernel/bpf/devmap.c      | 26 ++++++++++++++------------
 3 files changed, 20 insertions(+), 14 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2020-01-27 17:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-27  0:13 [PATCH bpf-next v3 0/3] XDP flush cleanups John Fastabend
2020-01-27  0:14 ` [PATCH bpf-next v3 1/3] bpf: xdp, update devmap comments to reflect napi/rcu usage John Fastabend
2020-01-27  0:14 ` [PATCH bpf-next v3 2/3] bpf: xdp, virtio_net use access ptr macro for xdp enable check John Fastabend
2020-01-27 10:02   ` Maciej Fijalkowski
2020-01-27  0:14 ` [PATCH bpf-next v3 3/3] bpf: xdp, remove no longer required rcu_read_{un}lock() John Fastabend
2020-01-27 10:58 ` [PATCH bpf-next v3 0/3] XDP flush cleanups Daniel Borkmann

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