diff options
author | 2019-04-14 09:47:40 +0800 | |
---|---|---|
committer | 2019-04-14 13:47:35 -0700 | |
commit | d474d88f882610850abbf0ec6cf81ff90014c8ed (patch) | |
tree | c39d2e5bc3aa8d37f5f3db2407cb12f997f2965e /tools/perf/scripts/python | |
parent | net: hns3: minor refactor for hns3_rx_checksum (diff) | |
download | wireguard-linux-d474d88f882610850abbf0ec6cf81ff90014c8ed.tar.xz wireguard-linux-d474d88f882610850abbf0ec6cf81ff90014c8ed.zip |
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