diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-05-06 10:48:45 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-07 10:37:13 -0700 |
commit | 39c38824c2a0b16bdc6450727847fd5c3da7e8b0 (patch) | |
tree | 46cde9375559ee6edbfbd0d17a27c068f1b6bd90 /tools/perf/scripts/python/sctop.py | |
parent | db4970aa92a148389826057290cd45bb30f5650e (diff) |
net: hns3: fix for tunnel type handling in hns3_rx_checksum
According to hardware user manual, the tunnel packet type is
available in the rx.ol_info field of struct hns3_desc. Currently
the tunnel packet type is decided by the rx.l234_info, which may
cause RX checksum handling error.
This patch fixes it by using the correct field in struct hns3_desc
to decide the tunnel packet type.
Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Signed-off-by: Yunsheng Lin <linyunsheng@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/sctop.py')
0 files changed, 0 insertions, 0 deletions