Lorenzo Bianconi
43b5169d83
net, xdp: Introduce xdp_init_buff utility routine
...
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>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Shay Agroskin <shayagr@amazon.com>
Acked-by: Martin Habets <habetsm.xilinx@gmail.com>
Acked-by: Camelia Groza <camelia.groza@nxp.com>
Acked-by: Marcin Wojtas <mw@semihalf.com>
Link: https://lore.kernel.org/bpf/7f8329b6da1434dc2b05a77f2e800b29628a8913.1608670965.git.lorenzo@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2021-01-08 13:39:24 -08:00
..
2020-10-16 15:02:21 -07:00
2020-12-11 22:29:38 -08:00
2021-01-08 13:28:00 -08:00
2021-01-08 13:28:00 -08:00
2021-01-08 13:39:24 -08:00
2020-11-03 16:35:15 -08:00
2020-11-02 16:10:24 -08:00
2021-01-08 13:39:24 -08:00
2020-11-03 16:37:09 -08:00
2020-12-28 14:13:22 -08:00
2020-11-23 17:27:04 -08:00
2021-01-07 12:53:29 -08:00
2020-10-16 16:54:11 -07:00
2021-01-07 14:53:07 -08:00
2020-12-10 13:57:36 -08:00
2020-11-23 17:27:04 -08:00
2021-01-08 13:28:00 -08:00
2021-01-08 13:28:00 -08:00
2020-12-16 11:01:04 -08:00
2021-01-05 15:50:36 -08:00
2021-01-07 16:08:37 -08:00
2021-01-06 15:56:44 -08:00
2020-11-03 16:53:55 -08:00
2021-01-07 12:53:29 -08:00
2020-11-09 17:50:28 -08:00
2020-11-03 16:53:55 -08:00
2020-12-05 15:17:19 -08:00
2020-11-03 16:38:28 -08:00
2021-01-05 16:52:02 -08:00
2020-11-05 16:54:01 -08:00
2021-01-05 15:37:29 -08:00
2020-10-29 19:00:46 -07:00
2020-11-03 16:40:23 -08:00
2020-11-03 16:40:09 -08:00
2020-11-23 17:27:04 -08:00
2021-01-07 16:08:37 -08:00
2020-12-15 13:54:56 -08:00
2021-01-08 13:39:24 -08:00
2021-01-08 13:39:24 -08:00
2021-01-08 13:39:24 -08:00
2020-12-11 22:29:38 -08:00
2020-11-23 17:27:04 -08:00
2021-01-07 12:53:29 -08:00
2021-01-08 13:39:24 -08:00