mbox series

[net-next,0/2] dpaa2-eth: setup the of_node

Message ID 20210521132530.2784829-1-ciorneiioana@gmail.com (mailing list archive)
Headers show
Series dpaa2-eth: setup the of_node | expand

Message

Ioana Ciornei May 21, 2021, 1:25 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org May 21, 2021, 9:10 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Fri, 21 May 2021 16:25:28 +0300 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] dpaa2-eth: setup the of_node field of the device
    https://git.kernel.org/netdev/net-next/c/b193f2ed533f
  - [net-next,2/2] dpaa2-eth: name the debugfs directory after the DPNI object
    https://git.kernel.org/netdev/net-next/c/30f43d6f1cab

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html