netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Correct interpretation of VF link-state=auto
@ 2021-06-15 10:34 Íñigo Huguet
  2021-06-18 15:21 ` Íñigo Huguet
  2021-06-18 16:35 ` Jakub Kicinski
  0 siblings, 2 replies; 5+ messages in thread
From: Íñigo Huguet @ 2021-06-15 10:34 UTC (permalink / raw)
  To: netdev; +Cc: Ivan Vecera, Edward Harold Cree, Dinan Gunawardena, Pablo Cascon

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-21 15:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-15 10:34 Correct interpretation of VF link-state=auto Íñigo Huguet
2021-06-18 15:21 ` Íñigo Huguet
2021-06-18 16:35 ` Jakub Kicinski
2021-06-18 19:10   ` Keller, Jacob E
2021-06-21 15:12     ` Íñigo Huguet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).