Thread (9 messages) 9 messages, 4 authors, 2018-05-19

Re: [patch net-next 0/5] devlink: introduce port flavours and common phys_port_name generation

flat view

From: Jakub Kicinski <hidden>
Date: 2018-05-18 21:16:55

On Fri, 18 May 2018 09:28:59 +0200, Jiri Pirko wrote:
From: Jiri Pirko <redacted>

This patchset resolves 2 issues we have right now:
1) There are many netdevices / ports in the system, for port, pf, vf
   represenatation but the user has no way to see which is which
2) The ndo_get_phys_port_name is implemented in each driver separatelly,
   which may lead to inconsistent names between drivers.

This patchset introduces port flavours which should address the first
problem. In this initial patchset, I focus on DSA and their port
flavours. As a follow-up, I plan to add PF and VF representor flavours.
However, that needs additional dependencies in drivers (nfp, mlx5).

The common phys_port_name generation is used by mlxsw. An example output
for mlxsw looks like this:
FWIW this series LGTM!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help