Merge branch 'r8152-RX-improve'
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 14 Aug 2019 01:12:45 +0000 (18:12 -0700)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 14 Aug 2019 01:12:45 +0000 (18:12 -0700)
commitb753c5a7f99f390fc100de18647ce0dcacdceafc
treefc114ed5fafe2ab0e830e7fddd23d900736ae7d7
parente070ca371f2b6ccba35db83d0ca8c2de6255475d
parente4a5017ac5b3924384a36a0a043cb65bb41dd5be
Merge branch 'r8152-RX-improve'

Hayes says:

====================
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.
====================

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>