diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-05-06 10:48:44 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-07 10:37:13 -0700 |
commit | db4970aa92a148389826057290cd45bb30f5650e (patch) | |
tree | e5e37fd7844c691f71cee412930990053f865adc /tools/perf/scripts/python/mem-phys-addr.py | |
parent | d21ff4f90d975f5027678eb84e0d53fb8ca19c9b (diff) |
net: hns3: add linearizing checking for TSO case
HW requires every continuous 8 buffer data to be larger than MSS,
we simplify it by ensuring skb_headlen + the first continuous
7 frags to to be larger than GSO header len + mss, and the
remaining continuous 7 frags to be larger than MSS except the
last 7 frags.
This patch adds hns3_skb_need_linearized to handle it for TSO
case.
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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions