net/mlx5: Move alloc/dealloc encap commands declarations to common header file
The alloc and dealloc encap commands will be used in the mlx5e driver, as such, declare them in a common header file. Also, rename the functions: mlx5_cmd_{de}alloc_encap is replaced with mlx5_encap_{de}alloc. Signed-off-by:Hadar Hen Zion <hadarh@mellanox.com> Signed-off-by:
Saeed Mahameed <saeedm@mellanox.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c 6 additions, 6 deletionsdrivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
- drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h 0 additions, 7 deletionsdrivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h
- drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h 6 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
Loading
Please register or sign in to comment