linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/4] Cleanup and optimizations to transmit code
@ 2023-10-27 12:16 Shinas Rasheed
  2023-10-27 12:16 ` [PATCH net-next v3 1/4] octeon_ep: add padding for small packets Shinas Rasheed
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Shinas Rasheed @ 2023-10-27 12:16 UTC (permalink / raw)
  To: netdev, linux-kernel
  Cc: hgani, vimleshk, egallen, mschmidt, pabeni, horms, kuba, davem,
	wizhao, konguyen, Shinas Rasheed

Pad small packets to ETH_ZLEN before transmit, cleanup dma sync calls,
add xmit_more functionality and then further remove atomic
variable usage in the prior.

Changes:
V3:
  - Stop returning NETDEV_TX_BUSY when ring is full in xmit_patch.
    Change to inspect early if next packet can fit in ring instead of
    current packet, and stop queue if not.
  - Add smp_mb between stopping tx queue and checking if tx queue has
    free entries again, in queue full check function to let reflect
    IQ process completions that might have happened on other cpus.
  - Update small packet padding patch changelog to give more info.
V2: https://lore.kernel.org/all/20231024145119.2366588-1-srasheed@marvell.com/
  - Added patch for padding small packets to ETH_ZLEN, part of
    optimization patches for transmit code missed out in V1
  - Updated changelog to provide more details for dma_sync remove patch
  - Updated changelog to use imperative tone in add xmit_more patch
V1: https://lore.kernel.org/all/20231023114449.2362147-1-srasheed@marvell.com/

Shinas Rasheed (4):
  octeon_ep: add padding for small packets
  octeon_ep: remove dma sync in trasmit path
  octeon_ep: implement xmit_more in transmit
  octeon_ep: remove atomic variable usage in Tx data path

 .../ethernet/marvell/octeon_ep/octep_config.h |  3 +-
 .../ethernet/marvell/octeon_ep/octep_main.c   | 55 +++++++++++--------
 .../ethernet/marvell/octeon_ep/octep_main.h   |  9 +++
 .../net/ethernet/marvell/octeon_ep/octep_tx.c |  5 +-
 .../net/ethernet/marvell/octeon_ep/octep_tx.h |  3 -
 5 files changed, 45 insertions(+), 30 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-10-30  6:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-27 12:16 [PATCH net-next v3 0/4] Cleanup and optimizations to transmit code Shinas Rasheed
2023-10-27 12:16 ` [PATCH net-next v3 1/4] octeon_ep: add padding for small packets Shinas Rasheed
2023-10-27 12:16 ` [PATCH net-next v3 2/4] octeon_ep: remove dma sync in trasmit path Shinas Rasheed
2023-10-27 12:16 ` [PATCH net-next v3 3/4] octeon_ep: implement xmit_more in transmit Shinas Rasheed
2023-10-27 12:16 ` [PATCH net-next v3 4/4] octeon_ep: remove atomic variable usage in Tx data path Shinas Rasheed
2023-10-30  6:31 ` [PATCH net-next v3 0/4] Cleanup and optimizations to transmit code 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).