Parav Pandit
acf1ee44ca
devlink: Introduce devlink port flavour virtual
...
Currently mlx5 PCI PF and VF devlink devices register their ports as
physical port in non-representors mode.
Introduce a new port flavour as virtual so that virtual devices can
register 'virtual' flavour to make it more clear to users.
An example of one PCI PF and 2 PCI virtual functions, each having
one devlink port.
$ devlink port show
pci/0000:06:00.0/1: type eth netdev ens2f0 flavour physical port 0
pci/0000:06:00.2/1: type eth netdev ens2f2 flavour virtual port 0
pci/0000:06:00.3/1: type eth netdev ens2f3 flavour virtual port 0
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-03 15:40:40 -08:00
..
2019-11-05 12:44:34 +01:00
2020-01-21 11:41:36 +01:00
2020-02-17 10:55:14 +01:00
2019-11-21 11:44:06 -08:00
2020-02-10 11:08:30 -08:00
2019-12-18 18:07:31 +01:00
2019-12-11 17:41:09 +01:00
2020-01-01 00:00:33 +01:00
2020-01-01 00:00:33 +01:00
2020-01-23 11:40:01 -07:00
2019-11-07 06:31:50 -07:00
2020-02-28 01:21:02 +01:00
2020-01-10 17:20:07 +01:00
2019-11-18 17:51:49 +01:00
2019-11-18 17:51:49 +01:00
2019-11-05 12:44:34 +01:00
2020-01-28 10:09:51 +01:00
2019-10-07 07:55:17 -03:00
2019-10-09 22:31:14 -04:00
2019-11-15 14:38:29 +01:00
2019-10-28 13:41:01 -07:00
2020-03-03 15:40:40 -08:00
2019-12-17 21:37:40 +05:30
2019-11-15 14:38:29 +01:00
2019-11-15 14:38:29 +01:00
2020-01-27 11:31:36 +01:00
2020-02-18 19:17:31 -08:00
2020-01-18 09:19:18 -05:00
2019-12-31 10:33:51 -06:00
2019-10-23 14:26:37 +02:00
2019-11-05 18:20:55 -08:00
2019-11-12 16:30:31 +01:00
2019-12-11 15:31:52 +01:00
2020-01-24 11:18:45 +05:30
2020-02-29 21:52:20 -08:00
2019-12-26 13:09:37 -08:00
2020-01-24 12:58:14 +01:00
2020-02-24 13:31:42 -08:00
2020-01-14 11:31:41 -08:00
2020-01-21 11:41:36 +01:00
2020-01-09 18:41:41 -08:00
2020-02-27 18:50:19 -08:00
2019-12-07 18:33:01 -08:00
2019-12-13 15:00:36 -08:00
2020-01-29 15:46:09 -07:00
2019-10-15 13:34:43 +02:00
2020-01-04 13:55:09 -08:00
2020-01-31 12:50:04 +01:00
2019-11-06 21:14:22 -08:00
2020-02-07 14:39:38 +09:00
2020-01-05 23:22:32 -08:00
2019-11-15 14:38:29 +01:00
2020-03-02 11:16:28 -08:00
2019-12-25 19:51:34 -08:00
2020-02-24 13:56:57 +01:00
2019-11-06 06:17:38 +09:00
2020-01-18 09:19:18 -05:00
2020-02-16 19:34:44 -08:00
2020-01-09 11:57:18 +00:00
2019-11-13 11:06:14 +01:00
2019-11-21 11:44:06 -08:00
2020-01-23 11:38:31 +01:00
2019-12-01 14:00:59 -08:00
2019-10-23 17:23:47 +02:00
2020-01-28 10:09:51 +01:00
2019-10-26 02:09:58 +11:00
2019-11-15 12:48:32 -08:00
2020-01-07 16:07:01 -05:00
2019-11-15 14:38:29 +01:00
2019-12-18 10:37:18 +01:00
2020-01-15 13:48:18 +01:00
2019-12-04 19:44:12 -08:00
2020-01-14 12:20:48 +01:00
2019-11-08 14:18:32 -08:00
2019-10-28 12:29:46 -07:00
2019-11-04 07:11:31 -07:00
2019-11-15 14:38:29 +01:00
2019-10-16 06:11:24 -07:00
2019-11-15 14:38:29 +01:00
2020-01-26 15:28:47 +01:00
2020-02-27 18:50:19 -08:00
2019-11-13 12:15:34 -08:00
2020-02-21 11:22:15 -08:00
2020-01-15 11:00:39 -06:00
2020-01-31 10:30:39 -08:00
2019-12-18 18:07:31 +01:00
2020-02-16 19:25:02 -08:00
2020-01-04 13:49:51 +08:00
2019-12-18 18:07:33 +01:00
2020-02-21 11:22:15 -08:00
2019-12-18 18:07:33 +01:00
2019-12-20 21:18:42 -08:00
2019-11-08 14:01:59 -08:00
2019-12-09 09:59:07 +01:00
2019-11-15 14:38:29 +01:00
2019-10-10 11:37:26 -03:00
2020-01-03 15:50:21 +01:00
2019-12-11 15:01:23 -08:00
2019-12-16 19:22:22 -08:00
2019-12-13 10:45:35 +01:00