Re: [PATCH V5] ethdev: fix one address occupies two indexes in MAC addrs

2023-01-27 Thread lihuisong (C)
在 2023/1/19 22:38, Thomas Monjalon 写道: Hi, You missed some questions and comments below. Sorry for my later reply. I just got back from vacation. Please take a look again. 19/01/2023 10:57, lihuisong (C): 在 2023/1/18 16:26, Thomas Monjalon 写道: 20/10/2022 11:31, Huisong Li: The dev->data-

Re: [PATCH V5] ethdev: fix one address occupies two indexes in MAC addrs

2023-01-19 Thread Thomas Monjalon
Hi, You missed some questions and comments below. 19/01/2023 10:57, lihuisong (C): > 在 2023/1/18 16:26, Thomas Monjalon 写道: > > 20/10/2022 11:31, Huisong Li: > >> The dev->data->mac_addrs[0] will be changed to a new MAC address when > >> applications modify the default MAC address by .mac_addr_se

Re: [PATCH V5] ethdev: fix one address occupies two indexes in MAC addrs

2023-01-19 Thread lihuisong (C)
在 2023/1/18 16:38, Thomas Monjalon 写道: 18/01/2023 09:26, Thomas Monjalon: 20/10/2022 11:31, Huisong Li: The dev->data->mac_addrs[0] will be changed to a new MAC address when applications modify the default MAC address by .mac_addr_set(). However, if the new default one has been added as a non

Re: [PATCH V5] ethdev: fix one address occupies two indexes in MAC addrs

2023-01-19 Thread lihuisong (C)
在 2023/1/18 16:26, Thomas Monjalon 写道: 20/10/2022 11:31, Huisong Li: The dev->data->mac_addrs[0] will be changed to a new MAC address when applications modify the default MAC address by .mac_addr_set(). However, if the new default one has been added as a non-default MAC address by .mac_addr_ad

Re: [PATCH V5] ethdev: fix one address occupies two indexes in MAC addrs

2023-01-18 Thread Thomas Monjalon
18/01/2023 09:26, Thomas Monjalon: > 20/10/2022 11:31, Huisong Li: > > The dev->data->mac_addrs[0] will be changed to a new MAC address when > > applications modify the default MAC address by .mac_addr_set(). However, > > if the new default one has been added as a non-default MAC address by > > .ma

Re: [PATCH V5] ethdev: fix one address occupies two indexes in MAC addrs

2023-01-18 Thread Thomas Monjalon
20/10/2022 11:31, Huisong Li: > The dev->data->mac_addrs[0] will be changed to a new MAC address when > applications modify the default MAC address by .mac_addr_set(). However, > if the new default one has been added as a non-default MAC address by > .mac_addr_add(), the .mac_addr_set() doesn't rem

Re: [PATCH V5] ethdev: fix one address occupies two indexes in MAC addrs

2023-01-09 Thread fengchengwen
LGTM Acked-by: Chengwen Feng On 2022/10/20 17:31, Huisong Li wrote: > The dev->data->mac_addrs[0] will be changed to a new MAC address when > applications modify the default MAC address by .mac_addr_set(). However, > if the new default one has been added as a non-default MAC address by > .mac_add

Re: [PATCH V5] ethdev: fix one address occupies two indexes in MAC addrs

2022-12-06 Thread lihuisong (C)
Hi Andrew and PMD maintainers, Can you have a look? 在 2022/10/20 17:31, Huisong Li 写道: The dev->data->mac_addrs[0] will be changed to a new MAC address when applications modify the default MAC address by .mac_addr_set(). However, if the new default one has been added as a non-default MAC addres

Re: [PATCH V5] ethdev: fix one address occupies two indexes in MAC addrs

2022-11-15 Thread lihuisong (C)
Kindly ping. 在 2022/10/20 17:31, Huisong Li 写道: The dev->data->mac_addrs[0] will be changed to a new MAC address when applications modify the default MAC address by .mac_addr_set(). However, if the new default one has been added as a non-default MAC address by .mac_addr_add(), the .mac_addr_set(

[PATCH V5] ethdev: fix one address occupies two indexes in MAC addrs

2022-10-20 Thread Huisong Li
The dev->data->mac_addrs[0] will be changed to a new MAC address when applications modify the default MAC address by .mac_addr_set(). However, if the new default one has been added as a non-default MAC address by .mac_addr_add(), the .mac_addr_set() doesn't remove it from the mac_addrs list. As a r