Parav Pandit a17beb28ed net/mlx5: Support enable_eth devlink dev param
Enable user to disable Ethernet auxiliary device so that when it is not
required, user can disable it.

For example,

$ devlink dev param set pci/0000:06:00.0 \
              name enable_eth value false cmode driverinit
$ devlink dev reload pci/0000:06:00.0

At this point devlink instance do not create mlx5_core.eth.2 auxiliary
device for the Ethernet functionality.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-08-11 14:34:21 +01:00
..
2021-08-03 13:05:26 +01:00
2021-07-27 20:11:43 +01:00
2021-07-03 11:13:22 -07:00
2021-07-27 20:11:44 +01:00
2021-07-27 20:11:44 +01:00
2021-06-30 15:51:09 -07:00
2021-07-27 20:11:44 +01:00
2021-07-27 20:11:44 +01:00
2021-07-27 20:11:44 +01:00
2021-07-16 17:32:14 -07:00
2021-07-27 20:11:43 +01:00
2021-06-28 12:44:17 -07:00
2021-08-04 10:10:12 +01:00
2021-07-27 20:11:45 +01:00
2021-08-04 10:10:12 +01:00
2021-07-27 20:11:44 +01:00
2021-08-03 13:05:26 +01:00
2021-07-29 12:18:12 +01:00