search for: netif_is_bond_mast

Displaying 13 results from an estimated 13 matches for "netif_is_bond_mast".

Did you mean: netif_is_bond_master
2018 Apr 18
0
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...same MAC registering as slave dev */ >>>>>>>> + if ((dev->priv_flags & IFF_BONDING) && (dev->flags & IFF_MASTER)) >>>>>>> Yeah, this is certainly incorrect. One thing is, you should be using the >>>>>>> helpers netif_is_bond_master(). >>>>>>> But what about the rest? macsec, macvlan, team, bridge, ovs and others? >>>>>>> >>>>>>> You need to do it not by blacklisting, but with whitelisting. You need >>>>>>> to whitelist VF devices. My port fl...
2018 Apr 18
4
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...th same MAC registering as slave dev */ >> >> > > > + if ((dev->priv_flags & IFF_BONDING) && (dev->flags & IFF_MASTER)) >> >> > > Yeah, this is certainly incorrect. One thing is, you should be using the >> >> > > helpers netif_is_bond_master(). >> >> > > But what about the rest? macsec, macvlan, team, bridge, ovs and others? >> >> > > >> >> > > You need to do it not by blacklisting, but with whitelisting. You need >> >> > > to whitelist VF devices. My port flavo...
2018 Apr 18
4
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...th same MAC registering as slave dev */ >> >> > > > + if ((dev->priv_flags & IFF_BONDING) && (dev->flags & IFF_MASTER)) >> >> > > Yeah, this is certainly incorrect. One thing is, you should be using the >> >> > > helpers netif_is_bond_master(). >> >> > > But what about the rest? macsec, macvlan, team, bridge, ovs and others? >> >> > > >> >> > > You need to do it not by blacklisting, but with whitelisting. You need >> >> > > to whitelist VF devices. My port flavo...
2018 Apr 18
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...Avoid Bonding master dev with same MAC registering as slave dev */ >> > > > + if ((dev->priv_flags & IFF_BONDING) && (dev->flags & IFF_MASTER)) >> > > Yeah, this is certainly incorrect. One thing is, you should be using the >> > > helpers netif_is_bond_master(). >> > > But what about the rest? macsec, macvlan, team, bridge, ovs and others? >> > > >> > > You need to do it not by blacklisting, but with whitelisting. You need >> > > to whitelist VF devices. My port flavours patchset might help with this. &...
2018 Apr 18
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...Avoid Bonding master dev with same MAC registering as slave dev */ >> > > > + if ((dev->priv_flags & IFF_BONDING) && (dev->flags & IFF_MASTER)) >> > > Yeah, this is certainly incorrect. One thing is, you should be using the >> > > helpers netif_is_bond_master(). >> > > But what about the rest? macsec, macvlan, team, bridge, ovs and others? >> > > >> > > You need to do it not by blacklisting, but with whitelisting. You need >> > > to whitelist VF devices. My port flavours patchset might help with this. &...
2018 Apr 18
0
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...;>>> + /* Avoid Bonding master dev with same MAC registering as slave dev */ >>>> + if ((dev->priv_flags & IFF_BONDING) && (dev->flags & IFF_MASTER)) >>> Yeah, this is certainly incorrect. One thing is, you should be using the >>> helpers netif_is_bond_master(). >>> But what about the rest? macsec, macvlan, team, bridge, ovs and others? >>> >>> You need to do it not by blacklisting, but with whitelisting. You need >>> to whitelist VF devices. My port flavours patchset might help with this. >> May be i can use...
2018 Apr 18
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...gt; > + >> > + /* Avoid Bonding master dev with same MAC registering as slave dev */ >> > + if ((dev->priv_flags & IFF_BONDING) && (dev->flags & IFF_MASTER)) >> Yeah, this is certainly incorrect. One thing is, you should be using the >> helpers netif_is_bond_master(). >> But what about the rest? macsec, macvlan, team, bridge, ovs and others? >> >> You need to do it not by blacklisting, but with whitelisting. You need >> to whitelist VF devices. My port flavours patchset might help with this. > >May be i can use netdev_has_lowe...
2018 Apr 18
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...gt; > + >> > + /* Avoid Bonding master dev with same MAC registering as slave dev */ >> > + if ((dev->priv_flags & IFF_BONDING) && (dev->flags & IFF_MASTER)) >> Yeah, this is certainly incorrect. One thing is, you should be using the >> helpers netif_is_bond_master(). >> But what about the rest? macsec, macvlan, team, bridge, ovs and others? >> >> You need to do it not by blacklisting, but with whitelisting. You need >> to whitelist VF devices. My port flavours patchset might help with this. > >May be i can use netdev_has_lowe...
2018 Apr 18
0
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...aster dev with same MAC registering as slave dev */ > >> > > > + if ((dev->priv_flags & IFF_BONDING) && (dev->flags & IFF_MASTER)) > >> > > Yeah, this is certainly incorrect. One thing is, you should be using the > >> > > helpers netif_is_bond_master(). > >> > > But what about the rest? macsec, macvlan, team, bridge, ovs and others? > >> > > > >> > > You need to do it not by blacklisting, but with whitelisting. You need > >> > > to whitelist VF devices. My port flavours patchset mig...
2018 Apr 11
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...f (is_vlan_dev(dev)) >+ return false; >+ >+ /* Avoid Bonding master dev with same MAC registering as slave dev */ >+ if ((dev->priv_flags & IFF_BONDING) && (dev->flags & IFF_MASTER)) Yeah, this is certainly incorrect. One thing is, you should be using the helpers netif_is_bond_master(). But what about the rest? macsec, macvlan, team, bridge, ovs and others? You need to do it not by blacklisting, but with whitelisting. You need to whitelist VF devices. My port flavours patchset might help with this. >+ return false; >+ >+ return true; >+} >+ >+static int...
2018 Apr 11
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...f (is_vlan_dev(dev)) >+ return false; >+ >+ /* Avoid Bonding master dev with same MAC registering as slave dev */ >+ if ((dev->priv_flags & IFF_BONDING) && (dev->flags & IFF_MASTER)) Yeah, this is certainly incorrect. One thing is, you should be using the helpers netif_is_bond_master(). But what about the rest? macsec, macvlan, team, bridge, ovs and others? You need to do it not by blacklisting, but with whitelisting. You need to whitelist VF devices. My port flavours patchset might help with this. >+ return false; >+ >+ return true; >+} >+ >+static int...
2018 Apr 11
0
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...+ return false; >> + >> + /* Avoid Bonding master dev with same MAC registering as slave dev */ >> + if ((dev->priv_flags & IFF_BONDING) && (dev->flags & IFF_MASTER)) > Yeah, this is certainly incorrect. One thing is, you should be using the > helpers netif_is_bond_master(). > But what about the rest? macsec, macvlan, team, bridge, ovs and others? > > You need to do it not by blacklisting, but with whitelisting. You need > to whitelist VF devices. My port flavours patchset might help with this. May be i can use netdev_has_lower_dev() helper to make su...
2018 Apr 10
6
[RFC PATCH net-next v6 0/4] Enable virtio_net to act as a backup for a passthru device
The main motivation for this patch is to enable cloud service providers to provide an accelerated datapath to virtio-net enabled VMs in a transparent manner with no/minimal guest userspace changes. This also enables hypervisor controlled live migration to be supported with VMs that have direct attached SR-IOV VF devices. Patch 1 introduces a new feature bit VIRTIO_NET_F_BACKUP that can be used