diff options
author | Hayes Wang <hayeswang@realtek.com> | 2019-08-13 11:42:08 +0800 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-08-13 18:12:08 -0700 |
commit | 47922fcde5365a2d37e8d4056e537fc8a7213c39 (patch) | |
tree | 700df8ef6e8f48594c1c94b83a5cda660f726eb3 /lib/sbitmap.c | |
parent | d55d70894c6d4709b9ae61109a9fa7c319586b53 (diff) |
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 <hayeswang@realtek.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'lib/sbitmap.c')
0 files changed, 0 insertions, 0 deletions