ionic: separate interrupt for Tx and Rx
authorShannon Nelson <snelson@pensando.io>
Fri, 31 Jul 2020 20:15:36 +0000 (13:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2020 22:32:02 +0000 (15:32 -0700)
commitfe8c30b50835436152a4d2319f834acb36b3b659
tree8195b6412f7d8e487d764bd30caf49f052463ba4
parentb14e4e95f9ec5acf2cf65bcc4fab2fe8ded81ac3
ionic: separate interrupt for Tx and Rx

Add the capability to split the Tx queues onto their own
interrupts with their own napi contexts.  This gives the
opportunity for more direct control of Tx interrupt
handling, such as CPU affinity and interrupt coalescing,
useful for some traffic loads.

v2: use ethtool -L, not a vendor specific priv-flag
v3: simplify logging, drop unnecessary "no-change" tests

Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
drivers/net/ethernet/pensando/ionic/ionic_lif.c
drivers/net/ethernet/pensando/ionic/ionic_lif.h
drivers/net/ethernet/pensando/ionic/ionic_txrx.c
drivers/net/ethernet/pensando/ionic/ionic_txrx.h