Re: [dpdk-dev] [PATCH v3 1/7] ethdev: fix port data reset timing

2018-01-19 Thread Ananyev, Konstantin
> -Original Message- > From: Matan Azrad [mailto:ma...@mellanox.com] > Sent: Thursday, January 18, 2018 4:35 PM > To: Thomas Monjalon ; Gaetan Rivet > ; Wu, Jingjing > Cc: dev@dpdk.org; Neil Horman ; Richardson, Bruce > ; Ananyev, Konstantin > ; sta...@dpdk.org > Subject: [PATCH v3 1/7

Re: [dpdk-dev] [PATCH v3 1/7] ethdev: fix port data reset timing

2018-01-18 Thread Thomas Monjalon
18/01/2018 17:35, Matan Azrad: > rte_eth_dev_data structure is allocated per ethdev port and can be > used to get a data of the port internally. > > rte_eth_dev_attach_secondary tries to find the port identifier using > rte_eth_dev_data name field comparison and may get an identifier of > invalid

[dpdk-dev] [PATCH v3 1/7] ethdev: fix port data reset timing

2018-01-18 Thread Matan Azrad
rte_eth_dev_data structure is allocated per ethdev port and can be used to get a data of the port internally. rte_eth_dev_attach_secondary tries to find the port identifier using rte_eth_dev_data name field comparison and may get an identifier of invalid port in case of this port was released by t