Thread (13 messages) 13 messages, 8 authors, 2021-01-18

RE: [PATCH v5 bpf-next 1/2] net: xdp: introduce xdp_init_buff utility routine

From: John Fastabend <john.fastabend@gmail.com>
Date: 2020-12-29 05:40:08
Also in: bpf

Lorenzo Bianconi wrote:
Introduce xdp_init_buff utility routine to initialize xdp_buff fields
const over NAPI iterations (e.g. frame_sz or rxq pointer). Rely on
xdp_init_buff in all XDP capable drivers.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
Seems like a nice bit of cleanup. I spot checked math in a few drivers LGTM.

Acked-by: John Fastabend <john.fastabend@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help