diff options
| author | Vincent Jardin <vjardin@free.fr> | 2026-09-28 13:22:45 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-01 17:08:38 -0700 |
| commit | 526025d552baf36b6dcb348fd8ec1287063e44f5 (patch) | |
| tree | 595530c236df0db0a99a28fb1279c70a6fa2934c /scripts | |
| parent | f49defea7668d8c68ec19fa085ef3da6075561c7 (diff) | |
dpaa2-eth: use the DPMAC id as the devlink physical port number
dpaa2-eth registers every DPNI as a devlink port of flavour physical
without setting a port number. All DPAA2 interfaces report the same
phys_port_name, p0 (see devlink port show).
The DPNI endpoint can change at runtime while the attributes of a
registered devlink port cannot, so log a warning when it happens.
Another benefit: udev rules can match ATTR{phys_port_name} to name an
interface based on its DPMAC.
Signed-off-by: Vincent Jardin <vjardin@free.fr>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260928-for-upstream-dpaa2_ports-v2-1-1cda148530bf@free.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
