netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/6] sfc: TXQ refactor
@ 2020-09-03 21:30 Edward Cree
  2020-09-03 21:34 ` [PATCH v2 net-next 1/6] sfc: add and use efx_tx_send_pending in tx.c Edward Cree
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Edward Cree @ 2020-09-03 21:30 UTC (permalink / raw)
  To: linux-net-drivers, davem; +Cc: netdev

Refactor and unify partner-TXQ handling in the EF100 and legacy drivers.

The main thrust of this series is to remove from the legacy (Siena/EF10)
 driver the assumption that a netdev TX queue has precisely two hardware
 TXQs (checksummed and unchecksummed) associated with it, so that in
 future we can have more (e.g. for handling inner-header checksums) or
 fewer (e.g. to free up hardware queues for XDP usage).

Changes from v1:
 * better explain patch #1 in the commit message, and rename
   xmit_more_available to xmit_pending
 * add new patch #2 applying the same approach to ef100, for consistency

Edward Cree (6):
  sfc: add and use efx_tx_send_pending in tx.c
  sfc: make ef100 xmit_more handling look more like ef10's
  sfc: use tx_queue->old_read_count in EF100 TX path
  sfc: use efx_channel_tx_[old_]fill_level() in Siena/EF10 TX datapath
  sfc: rewrite efx_tx_may_pio
  sfc: remove efx_tx_queue_partner

 drivers/net/ethernet/sfc/ef10.c       |  2 +-
 drivers/net/ethernet/sfc/ef100_tx.c   | 34 +++++----
 drivers/net/ethernet/sfc/ef100_tx.h   |  1 -
 drivers/net/ethernet/sfc/farch.c      |  2 +-
 drivers/net/ethernet/sfc/net_driver.h | 22 ++++--
 drivers/net/ethernet/sfc/nic_common.h | 40 +----------
 drivers/net/ethernet/sfc/tx.c         | 99 +++++++++++++++++----------
 drivers/net/ethernet/sfc/tx_common.c  |  9 +--
 8 files changed, 104 insertions(+), 105 deletions(-)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-09-05 19:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03 21:30 [PATCH v2 net-next 0/6] sfc: TXQ refactor Edward Cree
2020-09-03 21:34 ` [PATCH v2 net-next 1/6] sfc: add and use efx_tx_send_pending in tx.c Edward Cree
2020-09-03 21:34 ` [PATCH v2 net-next 2/6] sfc: make ef100 xmit_more handling look more like ef10's Edward Cree
2020-09-03 21:34 ` [PATCH v2 net-next 3/6] sfc: use tx_queue->old_read_count in EF100 TX path Edward Cree
2020-09-03 21:35 ` [PATCH v2 net-next 4/6] sfc: use efx_channel_tx_[old_]fill_level() in Siena/EF10 TX datapath Edward Cree
2020-09-03 21:35 ` [PATCH v2 net-next 5/6] sfc: rewrite efx_tx_may_pio Edward Cree
2020-09-03 21:35 ` [PATCH v2 net-next 6/6] sfc: remove efx_tx_queue_partner Edward Cree
2020-09-05 19:24 ` [PATCH v2 net-next 0/6] sfc: TXQ refactor Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).