Hi Santhos.

>There is no member named "device" in "rte_eth_dev_info" struct. I looked at 
>both 17.11 API 
>documentation<http://doc.dpdk.org/api-17.11/structrte__eth__dev__info.html> 
>and 18.05 API 
>documentation<http://doc.dpdk.org/api-18.05/structrte__eth__dev__info.html>.

This is not accurate. There is no “device” in rte_eth_dev_info
In 17.11, but there is a “device” in rte_eth_dev_info
  in 18.05  (this is exactly what Ferru pathc did)
See for example:
http://doc.dpdk.org/api-18.05/rte__ethdev_8h_source.html

and look for the first member of rte_eth_dev_info:

truct 
rte_eth_dev_info<http://doc.dpdk.org/api-18.05/structrte__eth__dev__info.html> {
1055  struct rte_device<http://doc.dpdk.org/api-18.05/structrte__device.html> 
*device;

(Or download 18.05 and look in the header file)

It seems that the 18.05 API 
documentation<http://doc.dpdk.org/api-18.05/structrte__eth__dev__info.html> is 
not complete,
should be fixed.

Regards,
Rami Rosen
Intel Corporation

Reply via email to