Re: [dpdk-dev] Accessing "device_id" from "rte_pci_device"

2018-07-25 Thread Rosen, Rami
: Rosen, Rami Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Accessing "device_id" from "rte_pci_device" Hi Rami Rosen, et al, Thanks for the response. Yes I can see in the code that rte_device struct is part of rte_eth_dev_info. I tried to apply the patch you pointed o<%20h

Re: [dpdk-dev] Accessing "device_id" from "rte_pci_device"

2018-07-25 Thread santhosh K.S
Hi Rami Rosen, et al, Thanks for the response. Yes I can see in the code that rte_device struct is part of rte_eth_dev_info. I tried to apply the patch you pointed o n 17.11.3. But it failed at many places. We don't want to migrate to 18.05 as it is not a s

Re: [dpdk-dev] Accessing "device_id" from "rte_pci_device"

2018-07-24 Thread Rosen, Rami
Hi Santhos. >There is no member named "device" in "rte_eth_dev_info" struct. I looked at >both 17.11 API >documentation >and 18.05 API >documentation. This is not accura

Re: [dpdk-dev] Accessing "device_id" from "rte_pci_device"

2018-07-24 Thread Rosen, Rami
} else { pci_dev->addr.devid, pci_dev->addr.function); Regards, Rami Rosen Intel -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of santhosh K.S Sent: Tuesday, July 24, 2018 13:10 To: dev@dpdk.org Subject: [dpdk-dev] Accessing "de

[dpdk-dev] Accessing "device_id" from "rte_pci_device"

2018-07-24 Thread santhosh K.S
Hi, I'm currently trying to migrate our old DPDK 16.11 version to 17.11 release. For this activity, I'm able to build the 17.11 DPDK successfully. When I try to use the new libs, I noticed that few of the struct members which we are using in our code is moved to some other struct. In the 16.11 v