Skip to content

r8152: RX improve

Hayes Wang linux-usb lkml netdev 2 versions – Applied

Status from this message: Applied, thank you.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 2 repliesApplied
  2. v15 patches 16 repliesSuperseded

Changes in v2 from the cover letter

For patch #2, replace list_for_each_safe with list_for_each_entry_safe. Remove unlikely in WARN_ON. Adjust the coding style.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5r8152: separate the rx buffer sizedrivers/net/usb/r8152.c+8 -40 replies
2/5r8152: replace array with linking list for rx informationdrivers/net/usb/r8152.c+125 -570 replies
3/5r8152: use alloc_pages for rx bufferdrivers/net/usb/r8152.c+11 -200 replies
4/5r8152: support skb_add_rx_fragdrivers/net/usb/r8152.c+105 -155 replies
5/5r8152: change rx_copybreak and rx_pending through ethtooldrivers/net/usb/r8152.c+86 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 0/5] r8152: RX improve

v2:
For patch #2, replace list_for_each_safe with list_for_each_entry_safe. Remove unlikely in WARN_ON. Adjust the coding style.

For patch #4, replace list_for_each_safe with list_for_each_entry_safe. Remove "else" after "continue".

For patch #5. replace sysfs with ethtool to modify rx_copybreak and rx_pending.

v1:
The different chips use different rx buffer size.

Use skb_add_rx_frag() to reduce memory copy for RX.

Hayes Wang (5):
r8152: separate the rx buffer size
r8152: replace array with linking list for rx information
r8152: use alloc_pages for rx buffer
r8152: support skb_add_rx_frag
r8152: change rx_copybreak and rx_pending through ethtool

 drivers/net/usb/r8152.c | 374 ++++++++++++++++++++++++++++++++--------
 1 file changed, 304 insertions(+), 70 deletions(-)
Signature · 1 line
2.21.0