diff options
author | 2021-01-05 11:37:28 +0800 | |
---|---|---|
committer | 2021-01-05 16:46:41 -0800 | |
commit | ab6e32d2913a594bc8f822ce4a75c400190b2ecc (patch) | |
tree | e357e2d2c4687a74320fa0512ccdffc0212e729c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: hns3: fix the number of queues actually used by ARQ (diff) | |
download | linux-dev-ab6e32d2913a594bc8f822ce4a75c400190b2ecc.tar.xz linux-dev-ab6e32d2913a594bc8f822ce4a75c400190b2ecc.zip |
net: hns3: fix incorrect handling of sctp6 rss tuple
For DEVICE_VERSION_V2, the hardware only supports src-ip,
dst-ip and verification-tag for rss tuple set of sctp6
packet. For DEVICE_VERSION_V3, the hardware supports
src-port and dst-port as well.
Currently, when user queries the sctp6 rss tuples info,
some unsupported information will be showed on V2. So add
a check for hardware version when initializing and queries
sctp6 rss tuple to fix this issue.
Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions