Add a new attribute that indicates the port split ability to devlink port. Expose the attribute to user space as RO value, for example: $devlink port show swp1 pci/0000:03:00.0/61: type eth netdev swp1 flavour physical port 1 splittable false lanes 1 Signed-off-by: Danielle Ratson <danieller@mellanox.com> Signed-off-by: David Ahern <dsahern@kernel.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| devlink.c | ||
| mnlg.c | ||
| mnlg.h | ||