net: ena: Pass ena_adapter instead of net_device to ena_xmit_common()
[ Upstream commit 39a044f4 ] This change will enable the ability to use ena_xmit_common() in functions that don't have a net_device pointer. While it can be retrieved by dereferencing ena_adapter (adapter->netdev), there's no reason to do it in fast path code where this pointer is only needed for debug prints. Signed-off-by:Shay Agroskin <shayagr@amazon.com> Signed-off-by:
David Arinzon <darinzon@amazon.com> Link: https://lore.kernel.org/r/20240101190855.18739-3-darinzon@amazon.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Stable-dep-of: 36a1ca01 ("net: ena: Set tx_info->xdpf value to NULL") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment