iavf: Support for modifying UDP RSS flow hashing
authorHaiyue Wang <haiyue.wang@intel.com>
Tue, 13 Apr 2021 00:48:43 +0000 (08:48 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 22 Apr 2021 16:26:23 +0000 (09:26 -0700)
commit7b8f3f957b22746bc9a410d7cd2e9edd0efcc9f5
treed5a8c07ff1b84188be3927f82647a7000ca855c7
parent5ab91e0593a15652d31d3eb0bd6d28bf0bc9b36c
iavf: Support for modifying UDP RSS flow hashing

Provides the ability to enable UDP RSS hashing by ethtool.

It gives users option of generating RSS hash based on the UDP source
and destination ports numbers, IPv4 or IPv6 source and destination
addresses.

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/iavf/iavf_adv_rss.c
drivers/net/ethernet/intel/iavf/iavf_adv_rss.h
drivers/net/ethernet/intel/iavf/iavf_ethtool.c