diff options
author | Jian Shen <shenjian15@huawei.com> | 2021-01-05 11:37:28 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-01-05 16:46:41 -0800 |
commit | ab6e32d2913a594bc8f822ce4a75c400190b2ecc (patch) | |
tree | e357e2d2c4687a74320fa0512ccdffc0212e729c /tools/perf/scripts/python/syscall-counts.py | |
parent | 65e61e3c2a619c4d4b873885b2d5394025ed117b (diff) |
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions