diff options
author | Antoine Tenart <atenart@kernel.org> | 2021-09-30 11:16:29 +0200 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-10-11 11:44:08 -0400 |
commit | 58902e8f08d3c432541f6fc037999daafb9d5b4f (patch) | |
tree | 423765edbb8c8a43cb7d6c83ad4bd3f558b10995 /.cirrus.yml | |
parent | e56b3ea999731b831ebba80cf367e43e65c12b62 (diff) | |
download | sos-58902e8f08d3c432541f6fc037999daafb9d5b4f.tar.gz |
[networking] retrieve devlink port attributes
When using sub-functions[1] gathering the devlink port attributes does
provide value when debugging. If there is no devlink port, the output is
empty.
Example:
pci/0000:04:00.0/65535: type eth netdev enp4s0f0 flavour physical port 0 splittable false
pci/0000:04:00.0/32768: type eth netdev en4f0pf0sf42 flavour pcisf controller 0 pfnum 0 sfnum 42 splittable false
function:
hw_addr 00:00:00:00:88:88 state active opstate attached
pci/0000:04:00.0/32769: type eth netdev en4f0pf0sf1 flavour pcisf controller 0 pfnum 0 sfnum 1 splittable false
function:
hw_addr 00:00:00:00:00:00 state active opstate attached
auxiliary/mlx5_core.sf.4/131072: type eth netdev enp4s0f0s42 flavour virtual port 0 splittable false
auxiliary/mlx5_core.sf.5/196608: type eth netdev enp4s0f0s1 flavour virtual port 0 splittable false
[1] https://www.kernel.org/doc/html/latest/networking/devlink/devlink-port.html#subfunction
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Diffstat (limited to '.cirrus.yml')
0 files changed, 0 insertions, 0 deletions