Thread (6 messages) flat view 6 messages, 3 authors, 2020-01-27

Re: [PATCH bpf-next v3 0/3] XDP flush cleanups

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2020-01-27 10:58:44
Also in: bpf

On 1/27/20 1:13 AM, John Fastabend wrote:
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(-)
Series applied, thanks. I had to manually massage the patch 3/3 as it
wasn't rebased onto bpf-next.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help