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

2023-02-02 Thread lihuisong (C)
在 2023/2/2 19:50, Thomas Monjalon 写道: 02/02/2023 02:11, lihuisong (C): 在 2023/2/2 0:37, Thomas Monjalon 写道: 01/02/2023 14:15, Huisong Li: This section is a comment. Do not overwrite or remove it. Also, make sure to start the actual text at the margin. ==

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

2023-02-02 Thread Thomas Monjalon
02/02/2023 02:11, lihuisong (C): > 在 2023/2/2 0:37, Thomas Monjalon 写道: > > 01/02/2023 14:15, Huisong Li: > >> This section is a comment. Do not overwrite or remove it. > >> Also, make sure to start the actual text at the margin. > >> =

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

2023-02-01 Thread lihuisong (C)
在 2023/2/2 0:37, Thomas Monjalon 写道: 01/02/2023 14:15, 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 V7] ethdev: fix one address occupies two entries in MAC addrs

2023-02-01 Thread Thomas Monjalon
01/02/2023 14:15, 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 V7] ethdev: fix one address occupies two entries in MAC addrs

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