diff options
| author | 2022-10-24 03:05:24 -0700 | |
|---|---|---|
| committer | 2022-10-25 16:18:31 -0700 | |
| commit | 54b5af5a438076082d482cab105b1bd484ab5074 (patch) | |
| tree | 526751fbd671f55069382eab20a6ccf3496552f3 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | ipv6: ensure sane device mtu in tunnels (diff) | |
| download | linux-dev-54b5af5a438076082d482cab105b1bd484ab5074.tar.xz linux-dev-54b5af5a438076082d482cab105b1bd484ab5074.zip | |
i40e: Fix ethtool rx-flow-hash setting for X722
When enabling flow type for RSS hash via ethtool:
ethtool -N $pf rx-flow-hash tcp4|tcp6|udp4|udp6 s|d
the driver would fail to setup this setting on X722
device since it was using the mask on the register
dedicated for X710 devices.
Apply a different mask on the register when setting the
RSS hash for the X722 device.
When displaying the flow types enabled via ethtool:
ethtool -n $pf rx-flow-hash tcp4|tcp6|udp4|udp6
the driver would print wrong values for X722 device.
Fix this issue by testing masks for X722 device in
i40e_get_rss_hash_opts function.
Fixes: eb0dd6e4a3b3 ("i40e: Allow RSS Hash set with less than four parameters")
Signed-off-by: Slawomir Laba <slawomirx.laba@intel.com>
Signed-off-by: Michal Jaron <michalx.jaron@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20221024100526.1874914-1-jacob.e.keller@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
