net/mlx5: Move alloc/dealloc encap commands declarations to common header file
authorHadar Hen Zion <hadarh@mellanox.com>
Mon, 7 Nov 2016 13:14:42 +0000 (15:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 18:41:55 +0000 (13:41 -0500)
commitae9f83ac24569e4bfc7c174be362d1835233c28f
tree955791326e539a95ce59740e3b70319a4710db39
parent75bfbca01e48d2d62e8321609ae32aaf6c6fab0e
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>
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h