net/mlx5: refactor device operations for Linux
authorOphir Munk <ophirmu@mellanox.com>
Wed, 10 Jun 2020 09:32:30 +0000 (09:32 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jun 2020 17:21:07 +0000 (19:21 +0200)
commit042f5c94fd3a49e4fe85e5ae2405a39ca65a2436
tree5e2a973787a03f28b9a916d8c9bea67f96edf087
parent1256805dd54d3e0debd95c0420ca7f211bb9407c
net/mlx5: refactor device operations for Linux

There are three types of eth_dev_ops: primary, secondary and isolate.
Their function calls assignments are moved from common file
mlx5.c to the Linux specific file linux/mlx5_os.c.

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/linux/mlx5_os.c
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.c