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
Hi, Santosh, Indeed the following patch from Ferruh removed the rte_pci_device from the rte_eth_dev_info object, and instead added an object of rte_device: http://patchwork.dpdk.org/patch/37654/ However, I see that the date that this patch was applied to dpdk-next-net/master is 4/10/2018. Ar