Re: [dpdk-dev] [PATCH] ethdev: fix one MAC address occupies two index in mac addrs

2021-10-11 Thread Thomas Monjalon
09/10/2021 11:53, Min Hu (Connor): > Hi, Thomas, > > The dev->data->mac_addrs[0] will be changed to a new MAC address when > applications modify > the default MAC address by rte_eth_dev_default_mac_addr_set() API. > However, If the new default > MAC address has been added as a non-default MAC ad

Re: [dpdk-dev] [PATCH] ethdev: fix one MAC address occupies two index in mac addrs

2021-10-09 Thread Min Hu (Connor)
Hi, Thomas, The dev->data->mac_addrs[0] will be changed to a new MAC address when applications modify the default MAC address by rte_eth_dev_default_mac_addr_set() API. However, If the new default MAC address has been added as a non-default MAC address by rte_eth_dev_mac_addr_add() API, the rt

Re: [dpdk-dev] [PATCH] ethdev: fix one MAC address occupies two index in mac addrs

2021-10-08 Thread Thomas Monjalon
08/10/2021 09:02, Min Hu (Connor): > Hi, Thomas, > > 在 2021/10/6 3:21, Thomas Monjalon 写道: > > 22/09/2021 05:36, Min Hu (Connor): > >> From: Huisong Li > >> > >> Use the testpmd to perform the following operations: > >> 1) mac_addr add 0 00:18:2D:00:00:90 > >> 2) mac_addr add 0 00:18:2D:00:00:91

Re: [dpdk-dev] [PATCH] ethdev: fix one MAC address occupies two index in mac addrs

2021-10-08 Thread Min Hu (Connor)
Hi, Thomas, 在 2021/10/6 3:21, Thomas Monjalon 写道: 22/09/2021 05:36, Min Hu (Connor): From: Huisong Li Use the testpmd to perform the following operations: 1) mac_addr add 0 00:18:2D:00:00:90 2) mac_addr add 0 00:18:2D:00:00:91 3) mac_addr add 0 00:18:2D:00:00:92 4) mac_addr set 0 00:18:2D:00:

Re: [dpdk-dev] [PATCH] ethdev: fix one MAC address occupies two index in mac addrs

2021-10-05 Thread Thomas Monjalon
22/09/2021 05:36, Min Hu (Connor): > From: Huisong Li > > Use the testpmd to perform the following operations: > 1) mac_addr add 0 00:18:2D:00:00:90 > 2) mac_addr add 0 00:18:2D:00:00:91 > 3) mac_addr add 0 00:18:2D:00:00:92 > 4) mac_addr set 0 00:18:2D:00:00:91 > 5) show port 0 macs > Number of

Re: [dpdk-dev] [PATCH] ethdev: fix one MAC address occupies two index in mac addrs

2021-09-22 Thread Huisong Li
在 2021/9/22 16:02, Andrew Rybchenko 写道: On 9/22/21 10:43 AM, Huisong Li wrote: 在 2021/9/22 14:39, Andrew Rybchenko 写道: On 9/22/21 6:36 AM, Min Hu (Connor) wrote: From: Huisong Li Use the testpmd to perform the following operations: 1) mac_addr add 0 00:18:2D:00:00:90 2) mac_addr add 0 00:1

Re: [dpdk-dev] [PATCH] ethdev: fix one MAC address occupies two index in mac addrs

2021-09-22 Thread Andrew Rybchenko
On 9/22/21 10:43 AM, Huisong Li wrote: > > 在 2021/9/22 14:39, Andrew Rybchenko 写道: >> On 9/22/21 6:36 AM, Min Hu (Connor) wrote: >>> From: Huisong Li >>> >>> Use the testpmd to perform the following operations: >>> 1) mac_addr add 0 00:18:2D:00:00:90 >>> 2) mac_addr add 0 00:18:2D:00:00:91 >>> 3)

Re: [dpdk-dev] [PATCH] ethdev: fix one MAC address occupies two index in mac addrs

2021-09-22 Thread Huisong Li
在 2021/9/22 14:39, Andrew Rybchenko 写道: On 9/22/21 6:36 AM, Min Hu (Connor) wrote: From: Huisong Li Use the testpmd to perform the following operations: 1) mac_addr add 0 00:18:2D:00:00:90 2) mac_addr add 0 00:18:2D:00:00:91 3) mac_addr add 0 00:18:2D:00:00:92 4) mac_addr set 0 00:18:2D:00:0

Re: [dpdk-dev] [PATCH] ethdev: fix one MAC address occupies two index in mac addrs

2021-09-21 Thread Andrew Rybchenko
On 9/22/21 6:36 AM, Min Hu (Connor) wrote: > From: Huisong Li > > Use the testpmd to perform the following operations: > 1) mac_addr add 0 00:18:2D:00:00:90 > 2) mac_addr add 0 00:18:2D:00:00:91 > 3) mac_addr add 0 00:18:2D:00:00:92 > 4) mac_addr set 0 00:18:2D:00:00:91 > 5) show port 0 macs > Nu

[dpdk-dev] [PATCH] ethdev: fix one MAC address occupies two index in mac addrs

2021-09-21 Thread Min Hu (Connor)
From: Huisong Li Use the testpmd to perform the following operations: 1) mac_addr add 0 00:18:2D:00:00:90 2) mac_addr add 0 00:18:2D:00:00:91 3) mac_addr add 0 00:18:2D:00:00:92 4) mac_addr set 0 00:18:2D:00:00:91 5) show port 0 macs Number of MAC address added: 4 00:18:2D:00:00:91 00:18:2D:0