diff options
author | 2015-12-09 15:50:21 -0800 | |
---|---|---|
committer | 2016-01-08 01:30:11 -0800 | |
commit | 857942fd1aa15edf7356a4a4bad5369c8e70a633 (patch) | |
tree | 0bdfcccb89644fe82d07f21b4ba4f6891061da01 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | i40e: Look up MAC address in Open Firmware or IDPROM (diff) | |
download | linux-dev-857942fd1aa15edf7356a4a4bad5369c8e70a633.tar.xz linux-dev-857942fd1aa15edf7356a4a4bad5369c8e70a633.zip |
i40e: Fix Rx hash reported to the stack by our driver
If the driver calls skb_set_hash even with a zero hash, that
indicates to the stack that the hash calculation is offloaded
in hardware. So the Stack doesn't do a SW hash which is required
for load balancing if the user decides to turn of rx-hashing
on our device.
This patch fixes the path so that we do not call skb_set_hash
if the feature is disabled.
Change-ID: Ic4debfa4ff91b5a72e447348a75768ed7a2d3e1b
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions