summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@nvidia.com>2020-12-01 14:41:57 -0800
committerSaeed Mahameed <saeedm@nvidia.com>2020-12-08 11:28:45 -0800
commit4ad40d8ee3cb974959a0f8d3111416e331e9c5f7 (patch)
tree5502fcca7f7082535c85b38024e1f7999adeb916 /drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
parent521f31af004ade74963d551a719a36ca7df0ba70 (diff)
net/mlx5e: Allow SQ outside of channel context
In order to be able to create an SQ outside of a channel context, remove sq->channel direct pointer. This requires adding a direct pointer to: netdevice, priv and mlx5_core in order to support SQs that are part of mlx5e_channel. Use channel_stats from the corresponding CQ. Signed-off-by: Eran Ben Elisha <eranbe@nvidia.com> Signed-off-by: Aya Levin <ayal@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h')
0 files changed, 0 insertions, 0 deletions