Re: [ovs-discuss] why the datapath-id choose the minimum non-local MAC address among all of the ports in bridge

2021-01-31 Thread taoyunupt
I think it is useful, I will summit a commit today. At 2021-01-29 16:38:15, "Numan Siddique" wrote: >On Fri, Jan 29, 2021 at 5:31 AM Ben Pfaff wrote: >> >> On Thu, Jan 28, 2021 at 09:57:49AM +0800, taoyunupt wrote: >> > At 2021-01-28 09:29:45, "Ben Pfaff" wrote: >> > >On Wed, Ja

Re: [ovs-discuss] why the datapath-id choose the minimum non-local MAC address among all of the ports in bridge

2021-01-29 Thread Numan Siddique
On Fri, Jan 29, 2021 at 5:31 AM Ben Pfaff wrote: > > On Thu, Jan 28, 2021 at 09:57:49AM +0800, taoyunupt wrote: > > At 2021-01-28 09:29:45, "Ben Pfaff" wrote: > > >On Wed, Jan 27, 2021 at 06:13:12PM +0800, taoyunupt wrote: > > >> Hi, > > >> If no configure of "datapath-id" in other_config of

Re: [ovs-discuss] why the datapath-id choose the minimum non-local MAC address among all of the ports in bridge

2021-01-28 Thread taoyunupt
I see. Thanks for your reply. Yun At 2021-01-29 08:01:06, "Ben Pfaff" wrote: >On Thu, Jan 28, 2021 at 09:57:49AM +0800, taoyunupt wrote: >> At 2021-01-28 09:29:45, "Ben Pfaff" wrote: >> >On Wed, Jan 27, 2021 at 06:13:12PM +0800, taoyunupt wrote: >> >> Hi, >> >> If no configure of "da

Re: [ovs-discuss] why the datapath-id choose the minimum non-local MAC address among all of the ports in bridge

2021-01-28 Thread Ben Pfaff
On Thu, Jan 28, 2021 at 09:57:49AM +0800, taoyunupt wrote: > At 2021-01-28 09:29:45, "Ben Pfaff" wrote: > >On Wed, Jan 27, 2021 at 06:13:12PM +0800, taoyunupt wrote: > >> Hi, > >> If no configure of "datapath-id" in other_config of br, then it will > >> choose the minimum non-local MAC addre

Re: [ovs-discuss] why the datapath-id choose the minimum non-local MAC address among all of the ports in bridge

2021-01-27 Thread taoyunupt
At 2021-01-28 09:29:45, "Ben Pfaff" wrote: >On Wed, Jan 27, 2021 at 06:13:12PM +0800, taoyunupt wrote: >> Hi, >> If no configure of "datapath-id" in other_config of br, then it will >> choose the minimum non-local MAC address among all of the ports in bridge. >> The relevant code is

Re: [ovs-discuss] why the datapath-id choose the minimum non-local MAC address among all of the ports in bridge

2021-01-27 Thread Ben Pfaff
On Wed, Jan 27, 2021 at 06:13:12PM +0800, taoyunupt wrote: > Hi, > If no configure of "datapath-id" in other_config of br, then it will > choose the minimum non-local MAC address among all of the ports in bridge. > The relevant code is in the find_local_hw_addr > function(https://github.com

[ovs-discuss] why the datapath-id choose the minimum non-local MAC address among all of the ports in bridge

2021-01-27 Thread taoyunupt
Hi, If no configure of "datapath-id" in other_config of br, then it will choose the minimum non-local MAC address among all of the ports in bridge. The relevant code is in the find_local_hw_addr function(https://github.com/openvswitch/ovs/blob/master/vswitchd/bridge.c#L2322). In