diff options
author | 2019-03-22 14:16:37 -0700 | |
---|---|---|
committer | 2019-06-05 13:04:29 -0700 | |
commit | d49e286d354e75710cc9d100197de1161a8b809e (patch) | |
tree | 9e8c1a118518ffee1ec0ffc514d9e9df0c585d3e /net/socket.c | |
parent | net: fec_ptp: Use dev_err() instead of pr_err() (diff) | |
download | wireguard-linux-d49e286d354e75710cc9d100197de1161a8b809e.tar.xz wireguard-linux-d49e286d354e75710cc9d100197de1161a8b809e.zip |
ixgbe: add tracking of AF_XDP zero-copy state for each queue pair
Here, we add a bitmap to the ixgbe_adapter that tracks if a
certain queue pair has been "zero-copy enabled" via the ndo_bpf.
The bitmap is used in ixgbe_xsk_umem, and enables zero-copy if
and only if XDP is enabled, the corresponding qid in the bitmap
is set, and the umem is non-NULL;
Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions