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 /block | |
parent | net: hns3: add counter for times RX pages gets allocated (diff) | |
download | linux-dev-db4970aa92a148389826057290cd45bb30f5650e.tar.xz linux-dev-db4970aa92a148389826057290cd45bb30f5650e.zip |
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 'block')
0 files changed, 0 insertions, 0 deletions