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

Tonghao Zhang xiangxia.m.yue at gmail.com
Mon Mar 16 07:00:09 UTC 2020


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%2Fpatc
> > 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?
> > 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://mail.openvswitch.org/mailman/listinfo/ovs-dev



-- 
Thanks,
Tonghao


More information about the dev mailing list