Re: [dpdk-dev] [PATCH] drivers/bonding: fix bond mac address reset

2018-06-15 Thread Ferruh Yigit
On 6/14/2018 9:38 PM, Chas Williams wrote: > > > On Thu, Jun 14, 2018 at 12:49 PM Ferruh Yigit > wrote: > > On 5/23/2018 10:11 AM, Kiran Kumar wrote: > > Currently when resetting bond mac address, we are getting the > > persisted mac address from slave

Re: [dpdk-dev] [PATCH] drivers/bonding: fix bond mac address reset

2018-06-14 Thread Chas Williams
On Thu, Jun 14, 2018 at 12:49 PM Ferruh Yigit wrote: > On 5/23/2018 10:11 AM, Kiran Kumar wrote: > > Currently when resetting bond mac address, we are getting the > > persisted mac address from slave info considering primary port > > as index. But we need to compare the port id from slave info >

Re: [dpdk-dev] [PATCH] drivers/bonding: fix bond mac address reset

2018-06-14 Thread Ferruh Yigit
On 5/23/2018 10:11 AM, Kiran Kumar wrote: > Currently when resetting bond mac address, we are getting the > persisted mac address from slave info considering primary port > as index. But we need to compare the port id from slave info > with the primary port to get the primary slave index and get >

[dpdk-dev] [PATCH] drivers/bonding: fix bond mac address reset

2018-05-23 Thread Kiran Kumar
Currently when resetting bond mac address, we are getting the persisted mac address from slave info considering primary port as index. But we need to compare the port id from slave info with the primary port to get the primary slave index and get the persisted mac address. Without this fix, persist