All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] dpaa2-eth: setup the of_node
@ 2021-05-21 13:25 Ioana Ciornei
  2021-05-21 13:25 ` [PATCH net-next 1/2] dpaa2-eth: setup the of_node field of the device Ioana Ciornei
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ioana Ciornei @ 2021-05-21 13:25 UTC (permalink / raw)
  To: davem, kuba, netdev; +Cc: Ioana Ciornei

From: Ioana Ciornei <ioana.ciornei@nxp.com>

This patch set allows DSA to work with a DPAA2 master device by setting
up the of_node to point to the corresponding MAC DTS node, so that
of_find_net_device_by_node() can find it.
As an added benefit, udev rules can now be used to create a naming
scheme based on the physical MAC.

The second patch renames the debugfs directory to use the DPNI name
instead of the netdev name, since the latter can be changed after probe
time.

Ioana Ciornei (2):
  dpaa2-eth: setup the of_node field of the device
  dpaa2-eth: name the debugfs directory after the DPNI object

 .../freescale/dpaa2/dpaa2-eth-debugfs.c       |  6 ++++-
 .../net/ethernet/freescale/dpaa2/dpaa2-mac.c  | 25 ++++++++++---------
 .../net/ethernet/freescale/dpaa2/dpaa2-mac.h  |  1 +
 3 files changed, 19 insertions(+), 13 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-05-21 21:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21 13:25 [PATCH net-next 0/2] dpaa2-eth: setup the of_node Ioana Ciornei
2021-05-21 13:25 ` [PATCH net-next 1/2] dpaa2-eth: setup the of_node field of the device Ioana Ciornei
2021-05-21 14:22   ` Vladimir Oltean
2021-05-21 13:25 ` [PATCH net-next 2/2] dpaa2-eth: name the debugfs directory after the DPNI object Ioana Ciornei
2021-05-21 14:24   ` Vladimir Oltean
2021-05-21 21:10 ` [PATCH net-next 0/2] dpaa2-eth: setup the of_node patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.