mbox series

[v3,net-next,0/8] ionic updates

Message ID 20201112182208.46770-1-snelson@pensando.io (mailing list archive)
Headers show
Series ionic updates | expand

Message

Shannon Nelson Nov. 12, 2020, 6:22 p.m. UTC
These updates are a bit of code cleaning and a minor
bit of performance tweaking.

v3: convert ionic_lif_quiesce() to void
v2: added void cast on call to ionic_lif_quiesce()
    lowered batching threshold
    added patch to flatten calls to ionic_lif_rx_mode
    added patch to change from_ndo to can_sleep

Shannon Nelson (8):
  ionic: start queues before announcing link up
  ionic: check for link after netdev registration
  ionic: add lif quiesce
  ionic: batch rx buffer refilling
  ionic: use mc sync for multicast filters
  ionic: flatten calls to ionic_lif_rx_mode
  ionic: change set_rx_mode from_ndo to can_sleep
  ionic: useful names for booleans

 .../net/ethernet/pensando/ionic/ionic_dev.c   |   2 +-
 .../net/ethernet/pensando/ionic/ionic_dev.h   |   4 +-
 .../net/ethernet/pensando/ionic/ionic_lif.c   | 109 ++++++++++--------
 .../net/ethernet/pensando/ionic/ionic_lif.h   |   6 +
 .../net/ethernet/pensando/ionic/ionic_txrx.c  |  18 +--
 5 files changed, 81 insertions(+), 58 deletions(-)

Comments

Jakub Kicinski Nov. 14, 2020, 9:26 p.m. UTC | #1
On Thu, 12 Nov 2020 10:22:00 -0800 Shannon Nelson wrote:
> These updates are a bit of code cleaning and a minor
> bit of performance tweaking.
> 
> v3: convert ionic_lif_quiesce() to void
> v2: added void cast on call to ionic_lif_quiesce()
>     lowered batching threshold
>     added patch to flatten calls to ionic_lif_rx_mode
>     added patch to change from_ndo to can_sleep

Applied, thanks!

FWIW I'm not 100% confident the defines in the last patch are a good
idea, feels too easy to get wrong..  In case you need to extend it in
the future - consider using explicit enum, then at least the compiler
has a chance to warn.