[net-next,v3,RESEND,0/4] Cleanup and optimizations to transmit code

Message ID 20231114134535.2455051-1-srasheed@marvell.com
Headers
Series Cleanup and optimizations to transmit code |

Message

Shinas Rasheed Nov. 14, 2023, 1:45 p.m. UTC
  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(-)
  

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 16, 2023, 10 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Tue, 14 Nov 2023 05:45:31 -0800 you wrote:
> 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/
> 
> [...]

Here is the summary with links:
  - [net-next,v3,RESEND,1/4] octeon_ep: add padding for small packets
    https://git.kernel.org/netdev/net-next/c/5827fe2bc9c4
  - [net-next,v3,RESEND,2/4] octeon_ep: remove dma sync in trasmit path
    https://git.kernel.org/netdev/net-next/c/2fba5069959c
  - [net-next,v3,RESEND,3/4] octeon_ep: implement xmit_more in transmit
    https://git.kernel.org/netdev/net-next/c/373d9a55ba74
  - [net-next,v3,RESEND,4/4] octeon_ep: remove atomic variable usage in Tx data path
    https://git.kernel.org/netdev/net-next/c/dc9c02b7faa0

You are awesome, thank you!