summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@oracle.com>2018-08-23 02:47:14 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-08-29 00:33:33 +0300
commit47b6f50077e68bcd544f657526dad4bfdce7e87d (patch)
treef59324f964c24af7e821638b0bee4a4783310d56 /tools/perf/scripts/python
parent7f68d43067018df9b6ce0e75a99c9d58ded989f5 (diff)
downloadlinux-47b6f50077e68bcd544f657526dad4bfdce7e87d.tar.xz
ixgbe: disallow IPsec Tx offload when in SR-IOV mode
There seems to be a problem in the x540's internal switch wherein if SR-IOV mode is enabled and an offloaded IPsec packet is sent to a local VF, the packet is silently dropped. This might never be a problem as it is somewhat a corner case, but if someone happens to be using IPsec offload from the PF to a VF that just happens to get migrated to the local box, communication will mysteriously fail. Not good. A simple way to protect from this is to simply not allow any IPsec offloads for outgoing packets when num_vfs != 0. This doesn't help any offloads that were created before SR-IOV was enabled, but we'll get to that later. Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions