Yunsheng Lin db4970aa92 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>
2019-05-07 10:37:13 -07:00
..
2019-03-06 09:41:12 -08:00
2019-03-16 13:05:32 -07:00
2019-02-11 09:05:58 +01:00
2019-04-26 10:33:33 +10:00
2019-03-06 14:18:59 -08:00
2019-03-15 14:37:46 -07:00
2019-05-04 00:25:02 -04:00
2019-04-22 11:54:47 -07:00
2019-03-10 10:17:23 -07:00
2019-05-01 14:57:23 -07:00
2019-01-25 16:40:40 +01:00
2019-03-14 09:00:06 -07:00
2019-04-20 12:52:23 -07:00
2019-03-09 14:57:08 -08:00
2019-03-06 09:41:12 -08:00
2019-04-10 22:45:38 -07:00
2019-03-15 14:22:59 -07:00
2019-03-11 11:22:15 -07:00
2019-04-07 06:12:10 -10:00
2019-03-10 12:29:52 -07:00