[ovs-dev] [PATCH ovs v1 0/2] Allow setting MAC on DPDK interfaces

Noa Levy noae at mellanox.com
Tue Mar 24 09:20:42 UTC 2020


Ping again.

> -----Original Message-----
> From: Noa Levy
> Sent: Monday, March 16, 2020 10:20 AM
> To: Tonghao Zhang <xiangxia.m.yue at gmail.com>
> Cc: ovs-dev at openvswitch.org; Ameer Mahagneh
> <ameerm at mellanox.com>; i.maximets at ovn.org; Eli Britstein
> <elibr at mellanox.com>; Roni Bar Yanai <roniba at mellanox.com>
> Subject: RE: [ovs-dev] [PATCH ovs v1 0/2] Allow setting MAC on DPDK
> interfaces
> 
> 
> 
> > -----Original Message-----
> > From: Tonghao Zhang <xiangxia.m.yue at gmail.com>
> > Sent: Monday, March 16, 2020 9:07 AM
> > To: Noa Levy <noae at mellanox.com>
> > Cc: ovs-dev at openvswitch.org; Ameer Mahagneh
> <ameerm at mellanox.com>;
> > i.maximets at ovn.org
> > Subject: Re: [ovs-dev] [PATCH ovs v1 0/2] Allow setting MAC on DPDK
> > interfaces
> >
> > On Sun, Mar 15, 2020 at 5:49 PM Noa Levy <noae at mellanox.com> wrote:
> > >
> > > ping
> > >
> > > > -----Original Message-----
> > > > From: Noa Ezra <noae at mellanox.com>
> > > > Sent: Thursday, March 5, 2020 4:15 PM
> > > > To: ovs-dev at openvswitch.org
> > > > Cc: i.maximets at ovn.org; Ameer Mahagneh
> <ameerm at mellanox.com>;
> > Noa
> > > > Levy <noae at mellanox.com>; Roni Bar Yanai <roniba at mellanox.com>;
> > > > eli at labmailer.mlnx; Majd Dibbiny <majd at mellanox.com>
> > > > Subject: [PATCH ovs v1 0/2] Allow setting MAC on DPDK interfaces
> > > >
> > > > In cloud topology, when SR-IOV with port representors is in use
> > > > and VM is not trusted, the orchestration should set the VF mac address.
> > > > When using DPDK there is an architecture limitation to set the VF
> > > > mac address from host (Linux tooling).
> > > > According to previous discussion
> > > > (https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2
> > > > Fp
> > > > atc
> > > >
> >
> hwork.ozlabs.org%2Fpatch%2F1215075%2F&data=02%7C01%7Cnoae%4
> > > >
> >
> 0mellanox.com%7C334e05153e934601f50308d7c10fb987%7Ca652971c7d2e4d
> > > >
> >
> 9ba6a4d149256f461b%7C0%7C0%7C637190145598418235&sdata=kEiOav
> > > >
> >
> MVwc5zf4GCLVBeenDFAfk9Sur%2FHM21X%2FIRbA0%3D&reserved=0),
> > > > it was agreed to add a new API in ovs-appctl for setting MAC
> > > > address on port representors.
> > > >
> > > > ovs-appctl netdev-dpdk/set-mac <if_name> <mac>
> > I guess we can use "ip" tool to set MAC?
> For some NIC vendors using "ifconfig" or "ip" commands - is not an option (if
> the NIC is not bifurcated).
> Therefore OpenStack should use the OVS API to set the MAC address for
> dpdk interfaces.
> > > > Ilya Maximets (1):
> > > >   netdev-dpdk: Add ability to set MAC address.
> > > >
> > > > Noa Ezra (1):
> > > >   netdev-dpdk: Allow setting MAC on DPDK interfaces
> > > >
> > > >  lib/netdev-dpdk.c | 55
> > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++---
> > > >  1 file changed, 52 insertions(+), 3 deletions(-)
> > > >
> > > > --
> > > > 1.8.3.1
> > >
> > > _______________________________________________
> > > dev mailing list
> > > dev at openvswitch.org
> > >
> >
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail
> > > .openvswitch.org%2Fmailman%2Flistinfo%2Fovs-
> > dev&data=02%7C01%7Cnoa
> > >
> >
> e%40mellanox.com%7C3263fe845dc64809650a08d7c978b473%7Ca652971c7d
> > 2e4d9b
> > >
> >
> a6a4d149256f461b%7C0%7C1%7C637199392568994096&sdata=t357ROa
> > uVrjFZL
> > > KSBc4zqYfMjdbGngE2fPNbcItnCI0%3D&reserved=0
> >
> >
> >
> > --
> > Thanks,
> > Tonghao


More information about the dev mailing list