diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2017-06-24 21:13:52 +0200 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-07-26 03:25:21 -0700 |
commit | eb23039f6c22a6b240aef7d7ebccceeb52a8452a (patch) | |
tree | ca7ee2b20e1e7cb7fccfe973b1af8c74333a31ae /drivers/net/ethernet/intel/i40evf/i40evf_main.c | |
parent | 8d9ee66ac0e5212be37204949c8c86eabbadb24d (diff) | |
download | linux-stable-eb23039f6c22a6b240aef7d7ebccceeb52a8452a.tar.gz linux-stable-eb23039f6c22a6b240aef7d7ebccceeb52a8452a.tar.bz2 linux-stable-eb23039f6c22a6b240aef7d7ebccceeb52a8452a.zip |
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@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40evf_main.c')
0 files changed, 0 insertions, 0 deletions