diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-05-06 10:48:47 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-07 10:37:13 -0700 |
commit | 757cd1e4a4d81181fcd7130c4315d169ad9f5b81 (patch) | |
tree | 2d970cfa97ca6f7691a266dd947604f6cfcbeb63 /samples | |
parent | 07918fcde144628f12048d5f95f28c40b073fba8 (diff) |
net: hns3: combine len and checksum handling for inner and outer header.
When filling len and checksum info to description, there is some
similar checking or calculation.
So this patch adds hns3_set_l2l3l4 to fill the inner(/normal)
header's len and checksum info. If it is a encapsulation skb, it
calls hns3_set_outer_l2l3l4 to handle the outer header's len and
checksum info, in order to avoid some similar checking or
calculation.
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 'samples')
0 files changed, 0 insertions, 0 deletions