summaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2018-11-15 09:29:24 +0000
committerDavid S. Miller <davem@davemloft.net>2018-11-15 09:44:46 -0800
commit81ae0e0491f31775d086e24a7cd2a4a4ec29f346 (patch)
tree66ec71daf0099a363d02a65f4f2d80bbfeccb95d /include/linux/debugobjects.h
parent5c9f6b3935f808afdabac560250bcf4333311efc (diff)
downloadcachepc-linux-81ae0e0491f31775d086e24a7cd2a4a4ec29f346.tar.gz
cachepc-linux-81ae0e0491f31775d086e24a7cd2a4a4ec29f346.zip
net: hns3: Add skb chain when num of RX buf exceeds MAX_SKB_FRAGS
MAX_SKB_FRAGS in protocol stack is defined as: MAX_SKB_FRAGS is 17 when PAGE_SIZE is 4K. If HW enable GRO, it may merge small packets and the rx buffer may be more than MAX_SKB_FRAGS. So driver will add skb chain when RX buffer num. more than MAX_SKB_FRAGS. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions