Re: [dpdk-dev] [PATCH v5] ethdev: fix representor port ID search by name

2021-10-08 Thread Xueming(Steven) Li
On Fri, 2021-10-01 at 14:39 +0300, Andrew Rybchenko wrote: > Hello PMD maintainers, > > please, review the patch. > > It is especially important for net/mlx5 since changes there are > not trivial. > > Thanks, > Andrew. > > On 9/13/21 2:26 PM, Andrew Rybchenko wrote: > > From: Viacheslav Galakti

Re: [dpdk-dev] [PATCH v5] ethdev: fix representor port ID search by name

2021-10-07 Thread Thomas Monjalon
07/10/2021 12:20, Andrew Rybchenko: > On 10/6/21 12:56 AM, Thomas Monjalon wrote: > > 13/09/2021 13:26, Andrew Rybchenko: > >> From: Viacheslav Galaktionov > >> > >> Getting a list of representors from a representor does not make sense. > >> Instead, a parent device should be used. > > > > I don'

Re: [dpdk-dev] [PATCH v5] ethdev: fix representor port ID search by name

2021-10-07 Thread Andrew Rybchenko
On 10/6/21 12:56 AM, Thomas Monjalon wrote: > 13/09/2021 13:26, Andrew Rybchenko: >> From: Viacheslav Galaktionov >> >> Getting a list of representors from a representor does not make sense. >> Instead, a parent device should be used. > > I don't understand which issue it is fixing. > This functi

Re: [dpdk-dev] [PATCH v5] ethdev: fix representor port ID search by name

2021-10-05 Thread Thomas Monjalon
13/09/2021 13:26, Andrew Rybchenko: > From: Viacheslav Galaktionov > > Getting a list of representors from a representor does not make sense. > Instead, a parent device should be used. I don't understand which issue it is fixing. This function was not working before if not using the backer port?

Re: [dpdk-dev] [PATCH v5] ethdev: fix representor port ID search by name

2021-10-01 Thread Andrew Rybchenko
Hello PMD maintainers, please, review the patch. It is especially important for net/mlx5 since changes there are not trivial. Thanks, Andrew. On 9/13/21 2:26 PM, Andrew Rybchenko wrote: > From: Viacheslav Galaktionov > > Getting a list of representors from a representor does not make sense. >

Re: [dpdk-dev] [PATCH v5] ethdev: fix representor port ID search by name

2021-09-30 Thread Andrew Rybchenko
On 9/30/21 3:51 PM, Singh, Aman Deep wrote: > > On 9/30/2021 5:33 PM, Andrew Rybchenko wrote: >> On 9/29/21 2:13 PM, Singh, Aman Deep wrote: >>> On 9/13/2021 4:56 PM, Andrew Rybchenko wrote: From: Viacheslav Galaktionov Getting a list of representors from a representor does not mak

Re: [dpdk-dev] [PATCH v5] ethdev: fix representor port ID search by name

2021-09-30 Thread Singh, Aman Deep
On 9/30/2021 5:33 PM, Andrew Rybchenko wrote: On 9/29/21 2:13 PM, Singh, Aman Deep wrote: On 9/13/2021 4:56 PM, Andrew Rybchenko wrote: From: Viacheslav Galaktionov Getting a list of representors from a representor does not make sense. Instead, a parent device should be used. To this end,

Re: [dpdk-dev] [PATCH v5] ethdev: fix representor port ID search by name

2021-09-30 Thread Andrew Rybchenko
On 9/29/21 2:13 PM, Singh, Aman Deep wrote: > > On 9/13/2021 4:56 PM, Andrew Rybchenko wrote: >> From: Viacheslav Galaktionov >> >> Getting a list of representors from a representor does not make sense. >> Instead, a parent device should be used. >> >> To this end, extend the rte_eth_dev_data str

Re: [dpdk-dev] [PATCH v5] ethdev: fix representor port ID search by name

2021-09-29 Thread Singh, Aman Deep
On 9/13/2021 4:56 PM, Andrew Rybchenko wrote: From: Viacheslav Galaktionov Getting a list of representors from a representor does not make sense. Instead, a parent device should be used. To this end, extend the rte_eth_dev_data structure to include the port ID of the backing device for repre

[dpdk-dev] [PATCH v5] ethdev: fix representor port ID search by name

2021-09-13 Thread Andrew Rybchenko
From: Viacheslav Galaktionov Getting a list of representors from a representor does not make sense. Instead, a parent device should be used. To this end, extend the rte_eth_dev_data structure to include the port ID of the backing device for representors. Signed-off-by: Viacheslav Galaktionov S