Skip to contentSkip to conversation

i40e: Fix ethtool rx-flow-hash setting for X722

PATCH Superseded Mateusz Palczewski 1 participant 1 message Jul 4, 2022

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

cover i40e: Fix ethtool rx-flow-hash setting for X722

From: Michal Jaron <[email protected]>

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.

Implement a bitmap to collect the flow pc types that shall be applied on the inset and hena registers. Apply a different mask on the register when setting the RSS hash for the X722 device.

Michal Jaron (2):
i40e: Fix ethtool rx-flow-hash setting for X722
i40e: Refactor i40e_set_rss_hash_opt

 .../net/ethernet/intel/i40e/i40e_ethtool.c    | 103 +++++++++++-------
 drivers/net/ethernet/intel/i40e/i40e_type.h   |   4 +
 2 files changed, 67 insertions(+), 40 deletions(-)
Signature · 6 lines
2.27.0

_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan