net/mlx5e: Change skb fifo push/pop API to be used without SQ
authorEran Ben Elisha <eranbe@nvidia.com>
Tue, 1 Dec 2020 22:41:58 +0000 (14:41 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 8 Dec 2020 19:28:46 +0000 (11:28 -0800)
commit0b676aaecc25e9686d27658b56add5c024d54a7c
tree44b06684aad0e63fc5b6ffac50c315b3f5ffcf00
parent4ad40d8ee3cb974959a0f8d3111416e331e9c5f7
net/mlx5e: Change skb fifo push/pop API to be used without SQ

The skb fifo push/pop API used pre-defined attributes within the
mlx5e_txqsq.
In order to share the skb fifo API with other non-SQ use cases,
change the API input to get newly defined mlx5e_skb_fifo struct.

Signed-off-by: Eran Ben Elisha <eranbe@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c