Re: [ovs-dev] [PATCH] netdev-linux: Report netdev change events when mac changed.

2018-02-05 Thread Ben Pfaff
On Sun, Feb 04, 2018 at 06:45:38AM -0800, Tonghao Zhang wrote: > When mac addr of ports on bridge has been changed, for example, > > $ ip link set dev eth0 address 00:11:22:33:44:55 > > we should reconfigure the datapath id and mac addr of local port. > But now openvswitch dont do that as

[ovs-dev] [PATCH] netdev-linux: Report netdev change events when mac changed.

2018-02-04 Thread Tonghao Zhang
When mac addr of ports on bridge has been changed, for example, $ ip link set dev eth0 address 00:11:22:33:44:55 we should reconfigure the datapath id and mac addr of local port. But now openvswitch dont do that as expected. A simple example of how to reproduce it: $ ovs-vsctl add-br br0 $

[ovs-dev] [PATCH] netdev-linux: Report netdev change events when mac changed.

2018-02-04 Thread Tonghao Zhang
When mac addr of ports on bridge has been changed, for example, we should reconfigure the datapath id and mac addr of local port. But now openvswitch dont do that as expected. A simple example of how to reproduce it: then repeat: This patch reports the mac changed event when ports changed,