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

Provide the ability to enable SCTP RSS hashing by ethtool.

It gives users option of generating RSS hash based on the SCTP 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