Re: virtio_net failover and initramfs

2018-08-22 Thread Siwei Liu
On Wed, Aug 22, 2018 at 12:23 AM, Harald Hoyer wrote: > On 22.08.2018 09:17, Siwei Liu wrote: >> On Tue, Aug 21, 2018 at 6:44 AM, Harald Hoyer wrote: >>> On 17.08.2018 21:09, Samudrala, Sridhar wrote: On 8/17/2018 2:56 AM, Harald Hoyer wrote: > On 17.08.2018 11:51, Harald Hoyer wrote: >>

Re: virtio_net failover and initramfs

2018-08-22 Thread Harald Hoyer
On 22.08.2018 09:17, Siwei Liu wrote: > On Tue, Aug 21, 2018 at 6:44 AM, Harald Hoyer wrote: >> On 17.08.2018 21:09, Samudrala, Sridhar wrote: >>> On 8/17/2018 2:56 AM, Harald Hoyer wrote: On 17.08.2018 11:51, Harald Hoyer wrote: > On 16.08.2018 00:17, Siwei Liu wrote: >> On Wed, Aug

Re: virtio_net failover and initramfs

2018-08-22 Thread Siwei Liu
On Tue, Aug 21, 2018 at 6:44 AM, Harald Hoyer wrote: > On 17.08.2018 21:09, Samudrala, Sridhar wrote: >> On 8/17/2018 2:56 AM, Harald Hoyer wrote: >>> On 17.08.2018 11:51, Harald Hoyer wrote: On 16.08.2018 00:17, Siwei Liu wrote: > On Wed, Aug 15, 2018 at 12:05 PM, Samudrala, Sridhar

Re: virtio_net failover and initramfs

2018-08-21 Thread Harald Hoyer
On 17.08.2018 21:09, Samudrala, Sridhar wrote: > On 8/17/2018 2:56 AM, Harald Hoyer wrote: >> On 17.08.2018 11:51, Harald Hoyer wrote: >>> On 16.08.2018 00:17, Siwei Liu wrote: On Wed, Aug 15, 2018 at 12:05 PM, Samudrala, Sridhar wrote: > On 8/14/2018 5:03 PM, Siwei Liu wrote: >>

Re: virtio_net failover and initramfs

2018-08-17 Thread Samudrala, Sridhar
On 8/17/2018 2:56 AM, Harald Hoyer wrote: On 17.08.2018 11:51, Harald Hoyer wrote: On 16.08.2018 00:17, Siwei Liu wrote: On Wed, Aug 15, 2018 at 12:05 PM, Samudrala, Sridhar wrote: On 8/14/2018 5:03 PM, Siwei Liu wrote: Are we sure all userspace apps skip and ignore slave interfaces by just

Re: virtio_net failover and initramfs (was: Re: [PATCH net-next v11 2/5] netvsc: refactor notifier/event handling code to use the failover framework)

2018-08-17 Thread Harald Hoyer
On 17.08.2018 11:51, Harald Hoyer wrote: > On 16.08.2018 00:17, Siwei Liu wrote: >> On Wed, Aug 15, 2018 at 12:05 PM, Samudrala, Sridhar >> wrote: >>> On 8/14/2018 5:03 PM, Siwei Liu wrote: Are we sure all userspace apps skip and ignore slave interfaces by just looking at "IFLA_MAST

Re: virtio_net failover and initramfs (was: Re: [PATCH net-next v11 2/5] netvsc: refactor notifier/event handling code to use the failover framework)

2018-08-17 Thread Harald Hoyer
On 16.08.2018 00:17, Siwei Liu wrote: > On Wed, Aug 15, 2018 at 12:05 PM, Samudrala, Sridhar > wrote: >> On 8/14/2018 5:03 PM, Siwei Liu wrote: >>> >>> Are we sure all userspace apps skip and ignore slave interfaces by >>> just looking at "IFLA_MASTER" attribute? >>> >>> When STANDBY is enabled on

Re: virtio_net failover and initramfs (was: Re: [PATCH net-next v11 2/5] netvsc: refactor notifier/event handling code to use the failover framework)

2018-08-15 Thread Siwei Liu
On Wed, Aug 15, 2018 at 12:05 PM, Samudrala, Sridhar wrote: > On 8/14/2018 5:03 PM, Siwei Liu wrote: >> >> Are we sure all userspace apps skip and ignore slave interfaces by >> just looking at "IFLA_MASTER" attribute? >> >> When STANDBY is enabled on virtio-net, a failover master interface >> will

Re: virtio_net failover and initramfs (was: Re: [PATCH net-next v11 2/5] netvsc: refactor notifier/event handling code to use the failover framework)

2018-08-15 Thread Samudrala, Sridhar
On 8/14/2018 5:03 PM, Siwei Liu wrote: Are we sure all userspace apps skip and ignore slave interfaces by just looking at "IFLA_MASTER" attribute? When STANDBY is enabled on virtio-net, a failover master interface will appear, which automatically enslaves the virtio device. But it is found out t