Thread (6 messages) 6 messages, 3 authors, 18d ago

Re: [PATCH net-next v2 1/2] dpaa2-eth: use the DPMAC id as the devlink physical port number

flat view

From: Simon Horman <horms@kernel.org>
Date: 2026-10-01 12:54:03
Also in: lkml

On Mon, Sep 28, 2026 at 01:22:45PM +0200, Vincent Jardin via B4 Relay wrote:
From: Vincent Jardin <vjardin@free.fr>

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help