diff options
| author | Peng Li <lipeng321@huawei.com> | 2018-11-15 12:29:24 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-11-15 20:44:46 +0300 |
| commit | 81ae0e0491f31775d086e24a7cd2a4a4ec29f346 (patch) | |
| tree | 66ec71daf0099a363d02a65f4f2d80bbfeccb95d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 5c9f6b3935f808afdabac560250bcf4333311efc (diff) | |
| download | linux-81ae0e0491f31775d086e24a7cd2a4a4ec29f346.tar.xz | |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
