You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8fb49c0
Browse filesBrowse the repository at this point in the historyBrowse files
Ido Schimmel says:
====================
Expose port split attributes
Danielle says:
Currently, user space has no way of knowing if a port can be split and
into how many ports. Among other things, this makes it impossible to
write generic tests for port split functionality.
Therefore, this set exposes two new devlink port attributes to user
space: Number of lanes and whether the port can be split or not.
Patch set overview:
Patches raspberrypi#1-raspberrypi#4 cleanup 'struct devlink_port_attrs' and reduce the number
of parameters passed between drivers and devlink via
devlink_port_attrs_set()
Patch raspberrypi#5 adds devlink port lanes attributes
Patches raspberrypi#6-raspberrypi#7 add devlink port splittable attribute
Patch raspberrypi#8 exploits the fact that devlink is now aware of port's number of
lanes and whether the port can be split or not and moves some checks
from drivers to devlink
Patch raspberrypi#9 adds a port split test
Changes since v2:
* Remove some local variables from patch raspberrypi#3
* Reword function description in patch raspberrypi#5
* Fix a bug in patch raspberrypi#8
* Add a test for the splittable attribute in patch raspberrypi#9
Changes since v1:
* Rename 'width' attribute to 'lanes'
* Add 'splittable' attribute
* Move checks from drivers to devlink
====================
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
0 commit comments