* [PATCH v0] net: mvpp2: fill-in dev_port attribute
@ 2024-06-20 4:12 Aryan Srivastava
2024-06-21 10:30 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Aryan Srivastava @ 2024-06-20 4:12 UTC (permalink / raw)
To: Jakub Kicinski
Cc: Aryan Srivastava, Marcin Wojtas, Russell King, David S. Miller,
Eric Dumazet, Paolo Abeni, netdev, linux-kernel
Fill this in so user-space can identify multiple ports on the same CP
unit.
Signed-off-by: Aryan Srivastava <aryan.srivastava@alliedtelesis.co.nz>
---
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
index 23adf53c2aa1..7cf9a0f5b583 100644
--- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
+++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
@@ -6903,6 +6903,7 @@ static int mvpp2_port_probe(struct platform_device *pdev,
/* 9704 == 9728 - 20 and rounding to 8 */
dev->max_mtu = MVPP2_BM_JUMBO_PKT_SIZE;
device_set_node(&dev->dev, port_fwnode);
+ dev->dev_port = port->id;
port->pcs_gmac.ops = &mvpp2_phylink_gmac_pcs_ops;
port->pcs_gmac.neg_mode = true;
--
2.43.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v0] net: mvpp2: fill-in dev_port attribute
2024-06-20 4:12 [PATCH v0] net: mvpp2: fill-in dev_port attribute Aryan Srivastava
@ 2024-06-21 10:30 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-06-21 10:30 UTC (permalink / raw)
To: Aryan Srivastava
Cc: kuba, marcin.s.wojtas, linux, davem, edumazet, pabeni, netdev,
linux-kernel
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:
On Thu, 20 Jun 2024 16:12:02 +1200 you wrote:
> Fill this in so user-space can identify multiple ports on the same CP
> unit.
>
> Signed-off-by: Aryan Srivastava <aryan.srivastava@alliedtelesis.co.nz>
> ---
> drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 1 +
> 1 file changed, 1 insertion(+)
Here is the summary with links:
- [v0] net: mvpp2: fill-in dev_port attribute
https://git.kernel.org/netdev/net/c/00418d5530ca
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-21 10:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20 4:12 [PATCH v0] net: mvpp2: fill-in dev_port attribute Aryan Srivastava
2024-06-21 10:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox