[Intel-wired-lan] [PATCH net-next] bpf, i40e: report bpf prog id during XDP_QUERY_PROG

Bowers, AndrewX andrewx.bowers at intel.com
Thu Jun 29 22:24:30 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Daniel Borkmann
> Sent: Saturday, June 24, 2017 12:14 PM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>
> Cc: intel-wired-lan at osuosl.org; Daniel Borkmann <daniel at iogearbox.net>
> Subject: [Intel-wired-lan] [PATCH net-next] bpf, i40e: report bpf prog id
> during XDP_QUERY_PROG
> 
> Fill the XDP prog_id with the id just like we do in other XDP enabled drivers
> such as ixgbe. This is needed so that on dump we can retrieve the attached
> program based on the id, and dump BPF insns, opcodes, etc back to user
> space. Only XDP driver missing this is currently i40e.
> 
> Signed-off-by: Daniel Borkmann <daniel at iogearbox.net>
> Acked-by: John Fastabend <john.fastabend at gmail.com>
> Acked-by: Alexander Duyck <alexander.h.duyck at intel.com>
> ---
>  [ Jeff, this should still go into this net-next window, so that
>    XDP_QUERY_PROG is covered for all XDP drivers wrt id. Thanks. ]
> 
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 1 +
>  1 file changed, 1 insertion(+)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list