net/mlx5: E-switch, make query inline mode a static function
authorParav Pandit <parav@mellanox.com>
Wed, 18 Dec 2019 09:08:38 +0000 (03:08 -0600)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 9 Mar 2020 23:58:42 +0000 (16:58 -0700)
commitcc617ceda0ebad888d592c6789276136d61d4a88
tree5581d7aae2489661a3b340d0fb220c92ad8ad5d9
parent891b8f33218d0be4c56b702606d4be3da3eb2d8f
net/mlx5: E-switch, make query inline mode a static function

mlx5_eswitch_inline_mode_get() is used only in eswitch_offloads.c.
Hence, make it static and adjacent to its caller function.

Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c