]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'octeon_ep-transmit-cleanups-and-optimizations'
authorDavid S. Miller <davem@davemloft.net>
Thu, 16 Nov 2023 21:55:06 +0000 (21:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Nov 2023 21:55:06 +0000 (21:55 +0000)
commit470f3669d38dac3eb5e4b0db5bb9aea3a52df547
tree6575300810ebc80dbc88da740951bfff8bde896a
parent56eddc3cb1affe014d567f8460e5a76ca079f842
parentdc9c02b7faa0f37a1dd52752192a665319657d14
Merge branch 'octeon_ep-transmit-cleanups-and-optimizations'

Shinas Rasheed says:

====================
Cleanup and optimizations to transmit code

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/
====================

Signed-off-by: David S. Miller <davem@davemloft.net>