diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-04-14 04:47:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-14 23:47:35 +0300 |
commit | d474d88f882610850abbf0ec6cf81ff90014c8ed (patch) | |
tree | c39d2e5bc3aa8d37f5f3db2407cb12f997f2965e /tools/perf/scripts/python | |
parent | a4d2cdcbb878d4d5828cd4124104c330d2817211 (diff) | |
download | linux-d474d88f882610850abbf0ec6cf81ff90014c8ed.tar.xz |
net: hns3: add hns3_gro_complete for HW GRO process
When a GRO packet is received by driver, the cwr field in the
struct tcphdr needs to be checked to decide whether to set the
SKB_GSO_TCP_ECN for skb_shinfo(skb)->gso_type.
So this patch adds hns3_gro_complete to do that, and adds the
hns3_handle_bdinfo to handle the hns3_gro_complete and
hns3_rx_checksum.
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')
0 files changed, 0 insertions, 0 deletions