net/mlx5e: Move generic functions to new file
authorAndy Gospodarek <gospo@broadcom.com>
Tue, 9 Jan 2018 21:06:16 +0000 (16:06 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jan 2018 20:27:35 +0000 (15:27 -0500)
commitb9c872f2316d27e2a323ffb410d706d680508093
tree377c5b3cdf39953eacb158863ca8be7cc3930eb2
parentf5e7f67d9bc90d2556e131c44d83a14f85cee9c3
net/mlx5e: Move generic functions to new file

These functions were identified as ones that could be made generic and
used by multiple drivers.  Most of the contents of en_rx_am.c are moved
to net_dim.c.

Signed-off-by: Andy Gospodarek <gospo@broadcom.com>
Acked-by: Tal Gilboa <talgi@mellanox.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_dim.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/net_dim.c [moved from drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.c with 94% similarity]
drivers/net/ethernet/mellanox/mlx5/core/net_dim.h [moved from drivers/net/ethernet/mellanox/mlx5/core/en_dim.h with 95% similarity]