diff options
author | Tariq Toukan <tariqt@nvidia.com> | 2023-04-17 15:18:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-19 08:59:25 +0100 |
commit | e32654f198897b0323e52fbd96a38606d0289c35 (patch) | |
tree | 921cff76054a3cb9815789f5afe59e4f4ad9db93 /drivers/net/ethernet/mellanox/mlx5/core/en.h | |
parent | aebc62d336fed235e35d8522a004866c78dfa5c4 (diff) | |
download | linux-stable-e32654f198897b0323e52fbd96a38606d0289c35.tar.gz linux-stable-e32654f198897b0323e52fbd96a38606d0289c35.tar.bz2 linux-stable-e32654f198897b0323e52fbd96a38606d0289c35.zip |
net/mlx5e: Move struct mlx5e_xmit_data to datapath header
Move TX datapath struct from the generic en.h to the datapath txrx.h
header, where it belongs.
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h index 3f5463d42a1e..479979318c50 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h @@ -475,12 +475,6 @@ struct mlx5e_txqsq { cqe_ts_to_ns ptp_cyc2time; } ____cacheline_aligned_in_smp; -struct mlx5e_xmit_data { - dma_addr_t dma_addr; - void *data; - u32 len; -}; - struct mlx5e_xdp_info_fifo { struct mlx5e_xdp_info *xi; u32 *cc; @@ -489,6 +483,7 @@ struct mlx5e_xdp_info_fifo { }; struct mlx5e_xdpsq; +struct mlx5e_xmit_data; typedef int (*mlx5e_fp_xmit_xdp_frame_check)(struct mlx5e_xdpsq *); typedef bool (*mlx5e_fp_xmit_xdp_frame)(struct mlx5e_xdpsq *, struct mlx5e_xmit_data *, |