Displaying 20 results from an estimated 22 matches for "iff_slave_rename_ok".
2019 Mar 21
2
[PATCH net v2] failover: allow name change on IFF_UP slave interfaces
...include/linux/netdevice.h
> @@ -1487,6 +1487,7 @@ struct net_device_ops {
> * @IFF_NO_RX_HANDLER: device doesn't support the rx_handler hook
> * @IFF_FAILOVER: device is a failover master device
> * @IFF_FAILOVER_SLAVE: device is lower dev of a failover master device
> + * @IFF_SLAVE_RENAME_OK: rename is allowed while slave device is running
> */
> enum netdev_priv_flags {
> IFF_802_1Q_VLAN = 1<<0,
> @@ -1518,6 +1519,7 @@ enum netdev_priv_flags {
> IFF_NO_RX_HANDLER = 1<<26,
> IFF_FAILOVER = 1<<27,
> IFF_FAILOVER_SLAVE = 1<<28...
2019 Mar 21
2
[PATCH net v2] failover: allow name change on IFF_UP slave interfaces
...include/linux/netdevice.h
> @@ -1487,6 +1487,7 @@ struct net_device_ops {
> * @IFF_NO_RX_HANDLER: device doesn't support the rx_handler hook
> * @IFF_FAILOVER: device is a failover master device
> * @IFF_FAILOVER_SLAVE: device is lower dev of a failover master device
> + * @IFF_SLAVE_RENAME_OK: rename is allowed while slave device is running
> */
> enum netdev_priv_flags {
> IFF_802_1Q_VLAN = 1<<0,
> @@ -1518,6 +1519,7 @@ enum netdev_priv_flags {
> IFF_NO_RX_HANDLER = 1<<26,
> IFF_FAILOVER = 1<<27,
> IFF_FAILOVER_SLAVE = 1<<28...
2019 Mar 21
0
[PATCH net v2] failover: allow name change on IFF_UP slave interfaces
On 3/19/2019 10:20 PM, si-wei liu wrote:
> Hi Sridhar,
>
> Are you fine with leaving the IFF_SLAVE_RENAME_OK flag as is, and thus
> can provide your Ack-by or Reviewed-by? I can change the code if you
> feel strong.
My preference would be not to introduce a new flag unless there is any
usecase where we want a IFF_FAILOVER_SLAVE type of device to support 2
different behaviors. (rename_ok and ren...
2019 Mar 07
0
[PATCH net v2] failover: allow name change on IFF_UP slave interfaces
...lude/linux/netdevice.h
> @@ -1487,6 +1487,7 @@ struct net_device_ops {
> * @IFF_NO_RX_HANDLER: device doesn't support the rx_handler hook
> * @IFF_FAILOVER: device is a failover master device
> * @IFF_FAILOVER_SLAVE: device is lower dev of a failover master device
> + * @IFF_SLAVE_RENAME_OK: rename is allowed while slave device is running
> */
> enum netdev_priv_flags {
> IFF_802_1Q_VLAN = 1<<0,
> @@ -1518,6 +1519,7 @@ enum netdev_priv_flags {
> IFF_NO_RX_HANDLER = 1<<26,
> IFF_FAILOVER = 1<<27,
> IFF_FAILOVER_SLAVE = 1<...
2019 Mar 06
0
[RFC PATCH net-next] failover: allow name change on IFF_UP slave interfaces
...++ b/include/linux/netdevice.h
>@@ -1487,6 +1487,7 @@ struct net_device_ops {
> * @IFF_NO_RX_HANDLER: device doesn't support the rx_handler hook
> * @IFF_FAILOVER: device is a failover master device
> * @IFF_FAILOVER_SLAVE: device is lower dev of a failover master device
>+ * @IFF_SLAVE_RENAME_OK: rename is allowed while slave device is running
> */
> enum netdev_priv_flags {
> IFF_802_1Q_VLAN = 1<<0,
>@@ -1518,6 +1519,7 @@ enum netdev_priv_flags {
> IFF_NO_RX_HANDLER = 1<<26,
> IFF_FAILOVER = 1<<27,
> IFF_FAILOVER_SLAVE = 1<<28,
>+...
2019 Mar 05
0
[RFC PATCH net-next] failover: allow name change on IFF_UP slave interfaces
...include/linux/netdevice.h
> @@ -1487,6 +1487,7 @@ struct net_device_ops {
> * @IFF_NO_RX_HANDLER: device doesn't support the rx_handler hook
> * @IFF_FAILOVER: device is a failover master device
> * @IFF_FAILOVER_SLAVE: device is lower dev of a failover master device
> + * @IFF_SLAVE_RENAME_OK: rename is allowed while slave device is running
> */
> enum netdev_priv_flags {
> IFF_802_1Q_VLAN = 1<<0,
> @@ -1518,6 +1519,7 @@ enum netdev_priv_flags {
> IFF_NO_RX_HANDLER = 1<<26,
> IFF_FAILOVER = 1<<27,
> IFF_FAILOVER_SLAVE = 1<<28...
2019 Mar 21
0
[PATCH net v2] failover: allow name change on IFF_UP slave interfaces
...device.h
>> @@ -1487,6 +1487,7 @@ struct net_device_ops {
>> * @IFF_NO_RX_HANDLER: device doesn't support the rx_handler hook
>> * @IFF_FAILOVER: device is a failover master device
>> * @IFF_FAILOVER_SLAVE: device is lower dev of a failover master device
>> + * @IFF_SLAVE_RENAME_OK: rename is allowed while slave device is running
>> */
>> enum netdev_priv_flags {
>> IFF_802_1Q_VLAN = 1<<0,
>> @@ -1518,6 +1519,7 @@ enum netdev_priv_flags {
>> IFF_NO_RX_HANDLER = 1<<26,
>> IFF_FAILOVER = 1<<27,
>> IFF_FAILOVE...
2019 Mar 21
0
[PATCH net v2] failover: allow name change on IFF_UP slave interfaces
...-1487,6 +1487,7 @@ struct net_device_ops {
> >> * @IFF_NO_RX_HANDLER: device doesn't support the rx_handler hook
> >> * @IFF_FAILOVER: device is a failover master device
> >> * @IFF_FAILOVER_SLAVE: device is lower dev of a failover master device
> >> + * @IFF_SLAVE_RENAME_OK: rename is allowed while slave device is running
> >> */
> >> enum netdev_priv_flags {
> >> IFF_802_1Q_VLAN = 1<<0,
> >> @@ -1518,6 +1519,7 @@ enum netdev_priv_flags {
> >> IFF_NO_RX_HANDLER = 1<<26,
> >> IFF_FAILOVER = 1<...
2019 Mar 05
0
[RFC PATCH net-next] failover: allow name change on IFF_UP slave interfaces
...1487,7 @@ struct net_device_ops {
> > > * @IFF_NO_RX_HANDLER: device doesn't support the rx_handler hook
> > > * @IFF_FAILOVER: device is a failover master device
> > > * @IFF_FAILOVER_SLAVE: device is lower dev of a failover master device
> > > + * @IFF_SLAVE_RENAME_OK: rename is allowed while slave device is running
> > > */
> > > enum netdev_priv_flags {
> > > IFF_802_1Q_VLAN = 1<<0,
> > > @@ -1518,6 +1519,7 @@ enum netdev_priv_flags {
> > > IFF_NO_RX_HANDLER = 1<<26,
> > > IFF_F...
2019 Apr 03
2
[PATCH net v5] failover: allow name change on IFF_UP slave interfaces
...vsc
> > as well. Why not make it a flag like live address change?
> Well, netvsc today is still taking the delayed approach meaning that it
> is incompatible yet with this live name change flag if need be. ;-)
>
> I thought Sridhar did not like to introduce an additional
> IFF_SLAVE_RENAME_OK flag given that failover slave is the only consumer
> for the time being. Even though I can get it back, patch is needed for
> netvsc to remove the VF takeover delay IMHO.
>
> Sridhar, what do you think we revive the IFF_SLAVE_RENAME_OK flag which
> allows netvsc to be used later...
2019 Apr 03
2
[PATCH net v5] failover: allow name change on IFF_UP slave interfaces
...vsc
> > as well. Why not make it a flag like live address change?
> Well, netvsc today is still taking the delayed approach meaning that it
> is incompatible yet with this live name change flag if need be. ;-)
>
> I thought Sridhar did not like to introduce an additional
> IFF_SLAVE_RENAME_OK flag given that failover slave is the only consumer
> for the time being. Even though I can get it back, patch is needed for
> netvsc to remove the VF takeover delay IMHO.
>
> Sridhar, what do you think we revive the IFF_SLAVE_RENAME_OK flag which
> allows netvsc to be used later...
2019 Apr 03
0
[PATCH net v5] failover: allow name change on IFF_UP slave interfaces
...s well. Why not make it a flag like live address change?
>> Well, netvsc today is still taking the delayed approach meaning that it
>> is incompatible yet with this live name change flag if need be. ;-)
>>
>> I thought Sridhar did not like to introduce an additional
>> IFF_SLAVE_RENAME_OK flag given that failover slave is the only consumer
>> for the time being. Even though I can get it back, patch is needed for
>> netvsc to remove the VF takeover delay IMHO.
>>
>> Sridhar, what do you think we revive the IFF_SLAVE_RENAME_OK flag which
>> allows netvsc...
2019 Apr 02
0
[PATCH net v5] failover: allow name change on IFF_UP slave interfaces
...Liu <si-wei.liu at oracle.com>
> Reviewed-by: Liran Alon <liran.alon at oracle.com>
Acked-by: Sridhar Samudrala <sridhar.samudrala at intel.com>
>
> --
> v1 -> v2:
> - Drop configurable module parameter (Sridhar)
>
> v2 -> v3:
> - Drop additional IFF_SLAVE_RENAME_OK flag (Sridhar)
> - Send down and up events around rename (Michael S. Tsirkin)
>
> v3 -> v4:
> - Simplify notification to be sent (Stephen Hemminger)
>
> v4 -> v5:
> - Sync up code with latest net-next (Sridhar)
> - Use proper structure initialization (Stephen, Jiri)...
2019 Apr 02
0
[PATCH net v5] failover: allow name change on IFF_UP slave interfaces
...: Introduce generic failover module")
> Signed-off-by: Si-Wei Liu <si-wei.liu at oracle.com>
> Reviewed-by: Liran Alon <liran.alon at oracle.com>
>
> --
> v1 -> v2:
> - Drop configurable module parameter (Sridhar)
>
> v2 -> v3:
> - Drop additional IFF_SLAVE_RENAME_OK flag (Sridhar)
> - Send down and up events around rename (Michael S. Tsirkin)
>
> v3 -> v4:
> - Simplify notification to be sent (Stephen Hemminger)
>
> v4 -> v5:
> - Sync up code with latest net-next (Sridhar)
> - Use proper structure initialization (Stephen, Jiri)...
2019 Mar 29
0
[PATCH net v4] failover: allow name change on IFF_UP slave interfaces
...: Introduce generic failover module")
> Signed-off-by: Si-Wei Liu <si-wei.liu at oracle.com>
> Reviewed-by: Liran Alon <liran.alon at oracle.com>
>
> --
> v1 -> v2:
> - Drop configurable module parameter (Sridhar)
>
> v2 -> v3:
> - Drop additional IFF_SLAVE_RENAME_OK flag (Sridhar)
> - Send down and up events around rename (Michael S. Tsirkin)
>
> v3 -> v4:
> - Simplify notification to be sent (Stephen Hemminger)
> ---
> net/core/dev.c | 24 +++++++++++++++++++++++-
> 1 file changed, 23 insertions(+), 1 deletion(-)
>
> diff --...
2019 Mar 28
0
[PATCH net v3] failover: allow name change on IFF_UP slave interfaces
...Liu <si-wei.liu at oracle.com>
> >> Reviewed-by: Liran Alon <liran.alon at oracle.com>
> >>
> >> --
> >> v1 -> v2:
> >> - Drop configurable module parameter (Sridhar)
> >>
> >> v2 -> v3:
> >> - Drop additional IFF_SLAVE_RENAME_OK flag (Sridhar)
> >> - Send down and up events around rename (Michael S. Tsirkin)
> >> ---
> >> net/core/dev.c | 37 ++++++++++++++++++++++++++++++++++---
> >> 1 file changed, 34 insertions(+), 3 deletions(-)
> >>
> >> diff --git a/net/core/dev.c...
2019 Mar 27
0
[PATCH net v3] failover: allow name change on IFF_UP slave interfaces
..."net: Introduce generic failover module")
>Signed-off-by: Si-Wei Liu <si-wei.liu at oracle.com>
>Reviewed-by: Liran Alon <liran.alon at oracle.com>
>
>--
>v1 -> v2:
>- Drop configurable module parameter (Sridhar)
>
>v2 -> v3:
>- Drop additional IFF_SLAVE_RENAME_OK flag (Sridhar)
>- Send down and up events around rename (Michael S. Tsirkin)
>---
> net/core/dev.c | 37 ++++++++++++++++++++++++++++++++++---
> 1 file changed, 34 insertions(+), 3 deletions(-)
>
>diff --git a/net/core/dev.c b/net/core/dev.c
>index 722d50d..3e0cd80 100644
>--...
2019 Mar 29
0
[PATCH net v4] failover: allow name change on IFF_UP slave interfaces
...wei.liu at oracle.com>
> > > Reviewed-by: Liran Alon <liran.alon at oracle.com>
> > >
> > > --
> > > v1 -> v2:
> > > - Drop configurable module parameter (Sridhar)
> > >
> > > v2 -> v3:
> > > - Drop additional IFF_SLAVE_RENAME_OK flag (Sridhar)
> > > - Send down and up events around rename (Michael S. Tsirkin)
> > >
> > > v3 -> v4:
> > > - Simplify notification to be sent (Stephen Hemminger)
> > > ---
> > > net/core/dev.c | 24 +++++++++++++++++++++++-
> > >...
2019 Apr 09
0
[PATCH net v8] failover: allow name change on IFF_UP slave interfaces
...-by: Si-Wei Liu <si-wei.liu at oracle.com>
> Reviewed-by: Liran Alon <liran.alon at oracle.com>
OK let's start with that. We can always add more events.
> --
> v1 -> v2:
> - Drop configurable module parameter (Sridhar)
>
> v2 -> v3:
> - Drop additional IFF_SLAVE_RENAME_OK flag (Sridhar)
> - Send down and up events around rename (Michael S. Tsirkin)
>
> v3 -> v4:
> - Simplify notification to be sent (Stephen Hemminger)
>
> v4 -> v5:
> - Sync up code with latest net-next (Sridhar)
> - Use proper structure initialization (Stephen, Jiri)...
2019 Apr 08
0
[PATCH net v7] failover: allow name change on IFF_UP slave interfaces
...: Introduce generic failover module")
> Signed-off-by: Si-Wei Liu <si-wei.liu at oracle.com>
> Reviewed-by: Liran Alon <liran.alon at oracle.com>
>
> --
> v1 -> v2:
> - Drop configurable module parameter (Sridhar)
>
> v2 -> v3:
> - Drop additional IFF_SLAVE_RENAME_OK flag (Sridhar)
> - Send down and up events around rename (Michael S. Tsirkin)
>
> v3 -> v4:
> - Simplify notification to be sent (Stephen Hemminger)
>
> v4 -> v5:
> - Sync up code with latest net-next (Sridhar)
> - Use proper structure initialization (Stephen, Jiri)...