bnxt_en: Link representors to PCI device
PATCH 1/1 bnxt_en: Link representors to PCI device
Link VF representors to parent PCI device to benefit from systemd defined naming scheme.
Without this change the representor is visible as ethN.
--- drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c +1 -0
@@ -468,6 +468,7 @@ static void bnxt_vf_rep_netdev_init(struct bnxt *bp, struct bnxt_vf_rep *vf_rep,struct net_device *pf_dev = bp->dev;u16 max_mtu; +SET_NETDEV_DEV (dev, &bp->pdev->dev); dev->netdev_ops = &bnxt_vf_rep_netdev_ops; dev->ethtool_ops = &bnxt_vf_rep_ethtool_ops;/* Just inherit all the featues of the parent PF as the VF-R
Signature · 1 line
2.39.3
Quoted 6 lines · Ivan Vecera
Link VF representors to parent PCI device to benefit from systemd defined naming scheme.
Without this change the representor is visible as ethN.
Signed-off-by Ivan Vecera <[email protected]>
Quoted 7 lines · Ivan Vecera
Link VF representors to parent PCI device to benefit from systemd defined naming scheme.
Without this change the representor is visible as ethN.
Signed-off-by Ivan Vecera <[email protected]>
Quoted 20 lines
--- drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c | 1 + 1 file changed, 1 insertion(+)drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c +1
-1@@ -468,6 +468,7 @@ static void bnxt_vf_rep_netdev_init(struct bnxt *bp, struct bnxt_vf_rep *vf_rep,struct net_device *pf_dev = bp->dev;u16 max_mtu; +SET_NETDEV_DEV (dev, &bp->pdev->dev); dev->netdev_ops = &bnxt_vf_rep_netdev_ops; dev->ethtool_ops = &bnxt_vf_rep_ethtool_ops;/* Just inherit all the featues of the parent PF as the VF-R -- 2.39.3
Signature · 11 lines
This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.
Jakub Kicinski
maintainerQuoted 11 lines · On Tue, 20 Jun 2023 22:19:32 +0530 Sriharsha Basavapatna wrote:
This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.
Your emails to the list must not include any legal note of this nature. I'll have to manually delete your review tag from the system.
Quoted 7 lines · Ivan Vecera
Link VF representors to parent PCI device to benefit from systemd defined naming scheme.
Without this change the representor is visible as ethN.
Signed-off-by Ivan Vecera <[email protected]>
Thanks.
Quoted 5 lines · Michael Chan
Quoted 4 lines · Ivan Vecera
Link VF representors to parent PCI device to benefit from systemd defined naming scheme.
Quoted 7 lines
Quoted 3 lines
Without this change the representor is visible as ethN.
Signed-off-by Ivan Vecera <[email protected]>Thanks.
Reviewed-by Michael Chan <[email protected]>
nit:) broadcon -> broadcom
Quoted 9 lines · Simon Horman
Quoted 7 lines · Michael Chan
Quoted 6 lines · Ivan Vecera
Link VF representors to parent PCI device to benefit from systemd defined naming scheme.
Without this change the representor is visible as ethN.
Quoted 9 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Ivan Vecera <[email protected]>Thanks.
Reviewed-by Michael Chan <[email protected]>nit:) broadcon -> broadcom
Typo fixed.
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Tue, 20 Jun 2023 16:48:55 +0200 you wrote:
Link VF representors to parent PCI device to benefit from systemd defined naming scheme.
Without this change the representor is visible as ethN.
Signed-off-by Ivan Vecera <[email protected]>[...]
Here is the summary with links:
- [net-next] bnxt_en: Link representors to PCI device
https://git.kernel.org/netdev/net-next/c/7ad7b7023fcb
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html