aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2019-05-06 10:48:44 +0800
committerDavid S. Miller <davem@davemloft.net>2019-05-07 10:37:13 -0700
commitdb4970aa92a148389826057290cd45bb30f5650e (patch)
treee5e37fd7844c691f71cee412930990053f865adc /sound
parentnet: hns3: add counter for times RX pages gets allocated (diff)
downloadlinux-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 'sound')
0 files changed, 0 insertions, 0 deletions