Ophir Munk 98c4b12afa net/mlx5: eliminate dependency on Linux in shared header
This commit eliminates Linux dependencies in shared file mlx5.h.

1. All functions using 'struct ifreq' are moved to file
linux/mlx5_ethdev_os.c such that this struct can be removed from mlx5.h.
2. Function mlx5_set_flags() that uses Linux flags (e.g. IFF_UP) is
changed to static and its prototype is removed from mlx5.h.
3. Remove redundant member verbs_action from 'struct mlx5_priv'.

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2020-07-21 15:46:30 +02:00
..
2020-07-03 15:52:51 +02:00
2020-07-03 15:52:51 +02:00
2020-07-03 15:52:51 +02:00
2020-07-11 06:18:53 +02:00
2020-07-21 13:54:54 +02:00
2020-07-21 13:54:54 +02:00
2020-07-03 15:52:51 +02:00
2020-07-21 13:54:54 +02:00
2020-07-03 15:52:51 +02:00
2020-07-03 15:52:51 +02:00
2020-07-03 15:52:51 +02:00
2020-04-21 13:57:07 +02:00