[ovs-dev] [PATCH v2] netdev-dpdk: Add ability to set MAC address.

Ben Pfaff blp at ovn.org
Wed Oct 30 18:45:25 UTC 2019


On Wed, Oct 30, 2019 at 07:09:34PM +0100, Ilya Maximets wrote:
> It is possible to set MAC address for DPDK ports by calling
> rte_eth_dev_default_mac_addr_set().  For some reason OVS didn't
> use this functionality avoiding real MAC address configuration.
> 
> With this change following command will result in real MAC address
> update on HW NIC:
> 
>   ovs-vsctl set Interface <dpdk interface> mac="xx:xx:xx:xx:xx:xx"
> 
> Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
> ---
> 
> Sending this patch formally in context of discussions for setting VF
> MAC addresses.
> 
> *Note*: Only compile tested due to lack of HW.
> 
> Version 2:
>   * Removed special treatment of -ENOTSUP.

Acked-by: Ben Pfaff <blp at ovn.org>


More information about the dev mailing list