aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/net.c
diff options
context:
space:
mode:
authorHayes Wang <[email protected]>2019-08-13 03:42:08 +0000
committerJakub Kicinski <[email protected]>2019-08-14 01:12:08 +0000
commit47922fcde5365a2d37e8d4056e537fc8a7213c39 (patch)
tree700df8ef6e8f48594c1c94b83a5cda660f726eb3 /tools/bpf/bpftool/net.c
parentr8152: use alloc_pages for rx buffer (diff)
downloadkernel-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