net/hns3: enable RSS for IPv6-SCTP dst/src port fields
authorLijun Ou <oulijun@huawei.com>
Wed, 21 Oct 2020 08:54:43 +0000 (16:54 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:06 +0000 (23:35 +0100)
commit1bc633c3400851a7244f6608e05d37068a78cd5c
tree5fdb7e8d5f828d10ced980b2dc471e4affec348a
parent238e3167ca869abf44fa50ead022d7fc3b99605b
net/hns3: enable RSS for IPv6-SCTP dst/src port fields

For Kunpeng930 NIC hardware, it supports to use dst/src port to
RSS hash for ipv6-sctp packet type. However, the Kunpeng920 NIC
hardware is different with it. The Kunpeng920 NIC only supports
dst/src ip to RSS hash for ipv6-sctp packet type.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev_vf.c
drivers/net/hns3/hns3_flow.c
drivers/net/hns3/hns3_rss.c
drivers/net/hns3/hns3_rss.h