Re: [PATCH net-next 5/5] net: ethernet: ti am65_cpsw: Drop separate TX completion functions
From: Simon Horman
Date: Tue Feb 18 2025 - 13:06:19 EST
On Mon, Feb 17, 2025 at 09:31:50AM +0200, Roger Quadros wrote:
> Drop separate TX completion functions for SKB and XDP. To do that
> use the SW_DATA mechanism to store ndev and skb/xdpf for TX packets.
>
> Use BUILD_BUG_ON_MSG() to fail build if SW_DATA size exceeds whats
> available. i.e. AM65_CPSW_NAV_SW_DATA_SIZE.
>
> Signed-off-by: Roger Quadros <rogerq@xxxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>