[ovs-dev] OvS-DPDK change interface MAC
Ravi Kerur
rkerur at gmail.com
Wed May 13 18:55:32 UTC 2020
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
More information about the dev
mailing list