net/mlx5: move locally used functions to static
authorDekel Peled <dekelp@mellanox.com>
Wed, 8 May 2019 08:29:41 +0000 (11:29 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 24 May 2019 12:56:36 +0000 (14:56 +0200)
commit50254b6d2a5d21508f2771f6ed40d5dfc05f5a65
tree5cfa86d50b4fe0fecdbc30ff8fab19a3b0003b70
parentcf9f7115f0f9f394594a069b4eb02120bdaacc8a
net/mlx5: move locally used functions to static

Multiple functions were declared in header file mlx5_rxtx.h,
implemented in mlx5_rxq.c, and called only in mlx5_rxq.c.

This patch moves all these functions declarations into mlx5_rxq.c,
as static functions.
Some functions implementation was copied higher in the file to
precede the functions calls.

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_rxq.c
drivers/net/mlx5/mlx5_rxtx.h