sfc: TXQ refactor
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 1 replyApplied
- v15 patches 2 repliesSuperseded
Changes in v2 from the cover letter
* 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
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | sfc: add and use efx_tx_send_pending in tx.cdrivers/ drivers/ drivers/ +3 more | +44 | 0 replies | |
| 2/6 | sfc: make ef100 xmit_more handling look more like ef10'sdrivers/ drivers/ | +11 | 0 replies | |
| 3/6 | sfc: use tx_queue->old_read_count in EF100 TX pathdrivers/ drivers/ | +20 | 0 replies | |
| 4/6 | sfc: use efx_channel_tx_[old_]fill_level() in Siena/EF10 TX datapathdrivers/ drivers/ drivers/ | +7 | 0 replies | |
| 5/6 | sfc: rewrite efx_tx_may_piodrivers/ drivers/ | +27 | 0 replies | |
| 6/6 | sfc: remove efx_tx_queue_partnerdrivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 net-next 0/6] sfc: TXQ refactor
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(-)