diff options
author | David Arinzon <darinzon@amazon.com> | 2024-01-01 19:08:46 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-01-03 18:00:57 -0800 |
commit | 39a044f4dcfee1c776603a6589b6fb98a9e222f2 (patch) | |
tree | 2f5dfd2f51cf8c28bb6f6c1bb9c7af6c53f720b2 /io_uring | |
parent | d000574d02870710c62751148cbfe22993222b98 (diff) |
net: ena: Pass ena_adapter instead of net_device to ena_xmit_common()
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>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions