On 30.10.2019 18:21, Ben Pfaff wrote:
On Wed, Oct 30, 2019 at 04:40:18PM +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 <[email protected]>
I'm not sure why this treats -ENOTSUP as success.
You're right. This is a mistake. I had a thought that it'll be
inconvenient to report an error in this case, because some DPDK
virtual devices doesn't implement this functionality, but I
forgot that there will be no attempts to configure MAC if user
didn't set it explicitly.
I'll send v2.
Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev