]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net/mlx5e: Generalize SQ create/modify/destroy functions
authorSaeed Mahameed <saeedm@mellanox.com>
Fri, 24 Mar 2017 21:52:13 +0000 (00:52 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Mar 2017 02:11:46 +0000 (19:11 -0700)
commit33ad9711861060d82d5c9c3a5ffb238f4d54b097
tree563e81290c5c7d9b3d30ce126826ecb5c59fb1fb
parent3b77235b94347e813e2d4d33363512127d32e899
net/mlx5e: Generalize SQ create/modify/destroy functions

In the next patches we will introduce different SQ types,
and we would want to reuse those functions, in this patch we make them
agnostic to SQ type (txq, xdp, ico).

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c