aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorGal Pressman <galp@mellanox.com>2018-01-31 14:45:40 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2018-03-26 13:47:15 -0700
commit707129dceaf4b8c4721425d75e855aed4fd7b832 (patch)
tree2e7fffd75c7f2eb26af7a51fa74f2e8a43a9932e /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentnet/mlx5e: Remove redundant check in get ethtool stats (diff)
downloadlinux-dev-707129dceaf4b8c4721425d75e855aed4fd7b832.tar.xz
linux-dev-707129dceaf4b8c4721425d75e855aed4fd7b832.zip
net/mlx5e: Make choose LRO timeout function static
The function is used in en_main.c only, we can make it static and remove its declaration from en.h Signed-off-by: Gal Pressman <galp@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/en_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
index f8bc3bcdf046..eb38a35564c7 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
@@ -3967,7 +3967,7 @@ void mlx5e_set_rx_cq_mode_params(struct mlx5e_params *params, u8 cq_period_mode)
MLX5_CQ_PERIOD_MODE_START_FROM_CQE);
}
-u32 mlx5e_choose_lro_timeout(struct mlx5_core_dev *mdev, u32 wanted_timeout)
+static u32 mlx5e_choose_lro_timeout(struct mlx5_core_dev *mdev, u32 wanted_timeout)
{
int i;