Thread (5 messages) flat view 5 messages, 3 authors, 2021-06-21

Correct interpretation of VF link-state=auto

From: Íñigo Huguet <hidden>
Date: 2021-06-15 10:34:14

Hi,

Regarding link-state attribute for a VF, 'man ip-link' says:
state auto|enable|disable - set the virtual link state as seen by the
specified VF. Setting to auto means a reflection of the PF link state,
enable lets the VF to communicate with other VFs on this host even if
the PF link state is down, disable causes the HW to drop any packets
sent by the VF.

However, I've seen that different interpretations are made about that
explanation, especially about "auto" configuration. It is not clear if
it should follow PF "physical link status" or PF "administrative link
status". With the latter, `ip set PF down` would put the VF down too,
but with the former you'd have to disconnect the physical port.

Thanks
-- 
Íñigo Huguet
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help