Re: [PATCH V6] ethdev: fix one address occupies two entries in MAC addrs

2023-02-01 Thread lihuisong (C)
在 2023/2/1 18:42, Thomas Monjalon 写道: 31/01/2023 07:41, 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

Re: [PATCH V6] ethdev: fix one address occupies two entries in MAC addrs

2023-02-01 Thread Thomas Monjalon
31/01/2023 07:41, 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

[PATCH V6] ethdev: fix one address occupies two entries in MAC addrs

2023-01-30 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