Parav Pandit
2a916ecc40
net/devlink: Support querying hardware address of port function
...
PCI PF and VF devlink port can manage the function represented by
a devlink port.
Enable users to query port function's hardware address.
Example of a PCI VF port which supports a port function:
$ devlink port show pci/0000:06:00.0/2
pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1
function:
hw_addr 00:11:22:33:44:66
$ devlink port show pci/0000:06:00.0/2 -jp
{
"port": {
"pci/0000:06:00.0/2": {
"type": "eth",
"netdev": "enp6s0pf0vf1",
"flavour": "pcivf",
"pfnum": 0,
"vfnum": 1,
"function": {
"hw_addr": "00:11:22:33:44:66"
}
}
}
}
Signed-off-by: Parav Pandit <parav@mellanox.com >
Reviewed-by: Jiri Pirko <jiri@mellanox.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2020-06-22 15:29:19 -07:00
..
2019-11-05 12:44:34 +01:00
2020-01-21 11:41:36 +01:00
2020-05-28 11:22:14 +02:00
2020-05-27 22:20:34 +02:00
2020-05-04 11:30:15 -05:00
2020-05-01 16:08:19 -07:00
2020-05-14 12:30:18 +03:00
2019-12-18 18:07:31 +01:00
2020-04-27 18:49:31 -04: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-06-09 11:36:18 -07:00
2020-01-10 17:20:07 +01:00
2020-05-25 11:25:29 +02:00
2020-04-10 18:48:27 +02:00
2019-11-05 12:44:34 +01:00
2020-06-03 16:27:18 -07:00
2020-03-26 15:10:44 +01:00
2019-11-15 14:38:29 +01:00
2020-06-22 15:29:19 -07:00
2020-05-04 11:30:15 -05:00
2020-03-03 11:10:21 -05:00
2020-04-27 16:29:41 +05:30
2019-12-17 21:37:40 +05:30
2020-03-16 17:19:48 +00:00
2019-11-15 14:38:29 +01:00
2020-04-30 12:56:38 -07:00
2020-06-03 16:27:18 -07:00
2020-05-06 17:45:45 -07:00
2020-03-25 23:17:16 +01:00
2020-05-14 16:44:25 +02:00
2020-05-12 19:34:57 +03:00
2020-05-12 19:34:52 +03:00
2020-06-05 16:19:28 -07:00
2020-04-20 15:45:41 -06:00
2020-05-28 22:09:47 -04:00
2020-05-19 09:34:18 -07:00
2019-11-05 18:20:55 -08:00
2020-04-30 17:51:42 -07:00
2020-06-05 20:19:20 +02:00
2020-03-25 09:50:44 +01:00
2019-12-11 15:31:52 +01:00
2020-04-22 21:10:05 +01:00
2020-03-11 15:08:52 +05:30
2020-05-04 11:30:15 -05:00
2019-12-26 13:09:37 -08:00
2020-06-01 11:56:11 -07:00
2020-04-27 11:40:25 -07:00
2020-04-27 11:40:25 -07:00
2020-03-16 01:42:31 -07:00
2020-05-01 12:24:40 -07:00
2020-04-20 12:43:24 -07:00
2020-03-11 23:49:30 -07:00
2020-04-30 12:54:02 -07:00
2020-04-06 20:56:50 -07:00
2019-12-13 15:00:36 -08:00
2020-05-17 14:10:07 -06:00
2020-05-18 15:37:25 +02:00
2020-03-29 22:30:57 -07:00
2020-01-04 13:55:09 -08:00
2020-05-19 15:19:06 +01:00
2020-05-01 10:00:19 -04:00
2020-06-03 15:13:47 -07:00
2020-05-21 08:20:35 -06:00
2020-03-29 22:30:57 -07:00
2020-05-27 11:10:05 +02:00
2020-03-20 09:01:16 +01:00
2020-05-06 17:45:45 -07:00
2020-04-02 09:35:30 -07:00
2020-03-29 22:14:49 -07:00
2020-06-01 11:56:11 -07:00
2019-11-15 14:38:29 +01:00
2020-05-22 14:00:38 -07:00
2020-05-04 11:30:15 -05:00
2020-03-29 22:32:36 -07:00
2020-03-18 16:35:48 -07:00
2020-04-30 17:51:42 -07:00
2020-05-22 14:00:38 -07:00
2020-06-08 10:05:59 +02: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-02-20 22:44:30 -06:00
2020-04-02 17:57:10 +01:00
2020-03-27 10:41:44 -03:00
2020-05-26 15:22:58 -07:00
2020-05-04 11:56:17 -07:00
2019-12-01 14:00:59 -08:00
2020-01-28 10:09:51 +01:00
2020-05-21 17:04:07 -07:00
2020-04-30 15:19:33 +10:00
2020-05-02 16:31:45 -07:00
2020-01-07 16:07:01 -05:00
2019-11-15 14:38:29 +01:00
2020-03-29 22:30:57 -07:00
2020-03-29 22:30:57 -07:00
2020-05-11 16:04:35 +02:00
2020-05-15 10:23:11 -07:00
2019-12-04 19:44:12 -08:00
2020-02-12 17:57:51 -05:00
2019-11-08 14:18:32 -08:00
2020-03-04 14:48:54 -08:00
2019-11-15 14:38:29 +01:00
2020-03-24 15:59:34 -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
2020-06-02 19:45:12 -07: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-03-09 17:56:33 -07:00
2020-04-20 16:18:14 +02: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
2020-03-29 23:29:08 +02:00
2020-04-07 10:43:39 -07:00
2019-11-15 14:38:29 +01:00
2020-05-18 15:34:21 +02:00
2020-05-12 17:05:31 +02:00
2020-06-03 11:27:43 +02:00
2020-06-08 12:05:31 -07:00
2020-04-02 10:41:40 -04:00
2020-06-06 16:26:27 -04:00
2020-05-06 12:09:04 +02:00
2020-04-17 06:05:30 -04:00
2020-06-04 15:36:52 -04:00
2020-03-27 11:09:18 +01:00
2020-06-09 06:42:06 -04:00
2020-03-23 09:50:02 -04:00
2020-06-02 02:45:13 -04:00
2019-12-11 15:01:23 -08:00
2020-05-19 15:19:06 +01:00
2019-12-16 19:22:22 -08:00
2020-05-27 10:03:27 +02:00
2020-06-12 13:23:34 -04:00
2020-04-20 07:26:42 +02:00