mbox series

[v2,net,0/2] dpaa2-eth: various fixes

Message ID 20231124102805.587303-1-ioana.ciornei@nxp.com (mailing list archive)
Headers show
Series dpaa2-eth: various fixes | expand

Message

Ioana Ciornei Nov. 24, 2023, 10:28 a.m. UTC
The first patch fixes a memory corruption issue happening between the Tx
and Tx confirmation of a packet by making the Tx alignment at 64bytes
mandatory instead of optional as it was previously.

The second patch fixes the Rx copybreak code path which recycled the
initial data buffer before all processing was done on the packet.

Changes in v2:
- squashed patches #1 and #2

Ioana Ciornei (2):
  dpaa2-eth: increase the needed headroom to account for alignment
  dpaa2-eth: recycle the RX buffer only after all processing done

 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 16 ++++++++++------
 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h |  2 +-
 2 files changed, 11 insertions(+), 7 deletions(-)

Comments

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

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

On Fri, 24 Nov 2023 12:28:03 +0200 you wrote:
> The first patch fixes a memory corruption issue happening between the Tx
> and Tx confirmation of a packet by making the Tx alignment at 64bytes
> mandatory instead of optional as it was previously.
> 
> The second patch fixes the Rx copybreak code path which recycled the
> initial data buffer before all processing was done on the packet.
> 
> [...]

Here is the summary with links:
  - [v2,net,1/2] dpaa2-eth: increase the needed headroom to account for alignment
    https://git.kernel.org/netdev/net/c/f422abe3f23d
  - [v2,net,2/2] dpaa2-eth: recycle the RX buffer only after all processing done
    https://git.kernel.org/netdev/net/c/beb1930f966d

You are awesome, thank you!