[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [virtio-dev] [PATCH v4] content: Introduce VIRTIO_NET_F_STANDBY feature
On Mon, Nov 26, 2018 at 12:22:56PM -0800, Samudrala, Sridhar wrote: > > Update: > > I have just set the vf mac's address to 0 (ip link set ens2f0 vf 1 mac > > 00:00:00:00:00:00) after unplugging it (the primary device) and the > > pings started working again on the failover interface. So it seems > > like the frames were arriving to the vf on the host. > > > > > > Yes. When the VF is unplugged, you need to reset the VFs MAC so that the packets > with VMs MAC start flowing via VF, bridge and the virtio interface. > > Have you looked at this documentation that shows a sample script to initiate live > migration? > https://www.kernel.org/doc/html/latest/networking/net_failover.html > > -Sridhar Interesting I didn't notice it does this. So in fact just defining VF mac will immediately divert packets to the VF? Given guest driver did not initialize VF yet won't a bunch of packets be dropped? -- MST
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]