Thread (31 messages) flat view 31 messages, 4 authors, 2024-06-25

Re: [net-next PATCH v5 07/10] octeontx2-pf: Add support to sync link state between representor and VFs

From: Simon Horman <horms@kernel.org>
Date: 2024-06-20 12:56:41
Also in: lkml

On Tue, Jun 11, 2024 at 09:52:10PM +0530, Geetha sowjanya wrote:
This patch implement the below requirement mentioned
in the representors documentation.

"
The representee's link state is controlled through the
representor. Setting the representor administratively UP
or DOWN should cause carrier ON or OFF at the representee.
"

This patch enables
- Reflecting the link state of representor based on the VF state and
 link state of VF based on representor.
- On VF interface up/down a notification is sent via mbox to representor
  to update the link state.
  eg: ip link set eth0 up/down  will disable carrier on/off
       of the corresponding representor(r0p1) interface.
- On representor interface up/down will cause the link state update of VF.
  eg: ip link set r0p1 up/down  will disable carrier on/off
       of the corresponding representee(eth0) interface.

Signed-off-by: Harman Kalra <redacted>
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
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