On Mon, May 18, 2020 at 10:19:06AM -0700, Ravi Kerur wrote: > To answer your question why I need to change mac address, we recently moved > from kernel/bond to ovs-dpdk/bond with 2 members. With kernel/bond, all 3 > interfaces (bond + 2 members) had same mac address and if one member goes > down traffic was not hit. With ovs/dpdk bond, bridge and active-slave share > the same mac address. When active-slave link goes down traffic takes > 60seconds hit. That's odd because the OVS should be sending ARP learning packets (RARP) to tell the network about the change and prevent traffic hit.
Do you see the packet going out on the backup slave when it becomes active? > Kernel/bond has bond_mode=4 and ovs/dpdk has balance-tcp configured. In that case we need to know if LACP is negotiated or not. fbl > > Thanks, > Ravi > > > > > >-----Original Message----- > > >From: dev <[email protected]> On Behalf Of Ravi Kerur > > >Sent: Wednesday, May 13, 2020 9:56 PM > > >To: ovs-dev <[email protected]> > > >Subject: [ovs-dev] OvS-DPDK change interface MAC > > > > > >Hello OvS-DPDK team, > > > > > >Is there a way to change interface mac address for DPDK interfaces? > > >Interfaces are part of LACP bond. > > > > > >I tried following commands and they don't seem to work. > > > > > >ovs-vsctl set interface <dpdk-intf-name> other- > > >config:hwaddr=\"00:11:11:11:11:01\" > > >ovs-vsctl set interface <dpdk-intf-name> mac=\"00:00:00:01:01:01\" > > > > > >No error messages in vswitchd log. Logs shown below > > > > > > > > >ovs-ofctl dump-ports-desc br-phy > > >OFPST_PORT_DESC reply (xid=0x2): > > > 1(dpdk-enp4s0f0): addr:a0:36:9f:5d:af:58 > > > config: 0 > > > state: 0 > > > current: 10GB-FD AUTO_NEG > > > speed: 10000 Mbps now, 0 Mbps max > > > 2(dpdk-ens11f0): addr:90:e2:ba:a0:e6:10 > > > config: 0 > > > state: 0 > > > current: 10GB-FD AUTO_NEG > > > speed: 10000 Mbps now, 0 Mbps max > > > LOCAL(br-phy): addr:a0:36:9f:5d:af:58 > > > config: 0 > > > state: 0 > > > current: 10MB-FD COPPER > > > speed: 10 Mbps now, 0 Mbps max > > > > > >/****Execute command***/ > > >ovs-vsctl set interface dpdk-ens11f0 > > >other-config:hwaddr=\"00:11:11:11:11:01\" > > > > > >/***Nothing changed***/ > > >ovs-ofctl dump-ports-desc br-phy > > >OFPST_PORT_DESC reply (xid=0x2): > > > 1(dpdk-enp4s0f0): addr:a0:36:9f:5d:af:58 > > > config: 0 > > > state: 0 > > > current: 10GB-FD AUTO_NEG > > > speed: 10000 Mbps now, 0 Mbps max > > > 2(dpdk-ens11f0): addr:90:e2:ba:a0:e6:10 > > > config: 0 > > > state: 0 > > > current: 10GB-FD AUTO_NEG > > > speed: 10000 Mbps now, 0 Mbps max > > > LOCAL(br-phy): addr:a0:36:9f:5d:af:58 > > > config: 0 > > > state: 0 > > > current: 10MB-FD COPPER > > > speed: 10 Mbps now, 0 Mbps max > > > > > >Thanks, > > >Ravi > > >_______________________________________________ > > >dev mailing list > > >[email protected] > > > > > https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.open > > >vswitch.org%2Fmailman%2Flistinfo%2Fovs- > > >dev&data=02%7C01%7Croniba%40mellanox.com%7C17acfbf576d840852ac40 > > >8d7f76f4355%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C63724992956 > > >6354578&sdata=UKJmh36BntaRjllz551sBv0ah6O4sF%2BO8d6IGtr3xwM%3D& > > >amp;reserved=0 > > > _______________________________________________ > dev mailing list > [email protected] > https://mail.openvswitch.org/mailman/listinfo/ovs-dev -- fbl _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
