Fix Intel drivers not handling RXH_XFRM_NO_CHANGE.

I had an urge to "fix this in the core" and hide RXH_XFRM_NO_CHANGE
from the drivers, by fetching the current config instead.
But "NO_CHANGE" values are already part of the driver facing API
(hfunc has ETH_RSS_HASH_NO_CHANGE). Besides we can't _completely_
hide RXH_XFRM_NO_CHANGE from the drivers, since we want the drivers
to be able to populate the defaults for new RSS contexts.
We need a "user didn't say" value there.

---

Matt pointed out that the upcoming RSS sizing series breaks
NIPA tests, this is because the fix we shared in June:
  https://lore.kernel.org/[email protected]
or Maciej's version:
  https://lore.kernel.org/[email protected]
is still not upstream!?

Recent discussions suggest that Intel maintainers may be willing
to ack patches on netdev directly. Let's put that to tests.

Note that I think this is a major bug likely to bother real
users so I'm targetting net. Przemek's series will have to
wait for net->net-next merge.

Jakub Kicinski (2):
  ice: don't unintentionally switch to symmetric RSS hash
  iavf: don't unintentionally switch to symmetric RSS hash

 drivers/net/ethernet/intel/iavf/iavf_ethtool.c | 3 ++-
 drivers/net/ethernet/intel/ice/ice_ethtool.c   | 9 ++++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

-- 
2.56.1

Reply via email to