]> git.baikalelectronics.ru Git - 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)
commit56398790081db20d1e2b7a3160c5b742a22f30b1
tree563e81290c5c7d9b3d30ce126826ecb5c59fb1fb
parenteccef60e0c0abddb4c0c977c2e45b441e3d6f8ab
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