diff options
| author | Hayes Wang <[email protected]> | 2019-08-13 03:42:08 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2019-08-14 01:12:08 +0000 |
| commit | 47922fcde5365a2d37e8d4056e537fc8a7213c39 (patch) | |
| tree | 700df8ef6e8f48594c1c94b83a5cda660f726eb3 /tools/bpf/bpftool/net.c | |
| parent | r8152: use alloc_pages for rx buffer (diff) | |
| download | kernel-47922fcde5365a2d37e8d4056e537fc8a7213c39.tar.gz kernel-47922fcde5365a2d37e8d4056e537fc8a7213c39.zip | |
r8152: support skb_add_rx_frag
Use skb_add_rx_frag() to reduce the memory copy for rx data.
Use a new list of rx_used to store the rx buffer which couldn't be
reused yet.
Besides, the total number of rx buffer may be increased or decreased
dynamically. And it is limited by RTL8152_MAX_RX_AGG.
Signed-off-by: Hayes Wang <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/net.c')
0 files changed, 0 insertions, 0 deletions
