]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix flow-type by setting GL_HASH_INSET registers
authorSlawomir Laba <slawomirx.laba@intel.com>
Mon, 24 Oct 2022 10:05:26 +0000 (03:05 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Oct 2022 23:18:32 +0000 (16:18 -0700)
commit2c4074e4ce65d7571928c17e3837db773c37d3fc
tree5d33090b60edea60e7b0db7421dbc33dcfffc94b
parentece70b696a37d4ce568eb344da5ccf5dfd02affc
i40e: Fix flow-type by setting GL_HASH_INSET registers

Fix setting bits for specific flow_type for GLQF_HASH_INSET register.
In previous version all of the bits were set only in hena register, while
in inset only one bit was set. In order for this working correctly on all
types of cards these bits needs to be set correctly for both hena and inset
registers.

Fixes: 2d4d6b475ffb ("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>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20221024100526.1874914-3-jacob.e.keller@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c