Dear all,

I have debian (4.13.0-0.bpo.1-amd64) and dpdk 17.11-rc2.

I am trying to install pktgen (3.4.2), but when I do make I got the following 
error:


CC cli-functions.o
In file included from /usr/local/pktgen-3.4.2/app/pktgen.h:112:0,
                 from /usr/local/pktgen-3.4.2/app/cli-functions.c:57:
/usr/local/pktgen-3.4.2/app/pktgen-port-cfg.h: In function 
‘pktgen_dump_dev_info’:
/usr/local/pktgen-3.4.2/app/pktgen-port-cfg.h:327:28: error: dereferencing 
pointer to incomplete type ‘struct rte_pci_device’
   di->pci_dev ? di->pci_dev->max_vfs : 0,
                            ^~
/usr/local/pktgen-3.4.2/app/pktgen-port-cfg.h:343:25: warning: format ‘%d’ 
expects argument of type ‘int’, but argument 3 has type ‘uint64_t {aka long 
unsigned int}’ [-Wformat=]
   "   rx_offload_capa:%4d, tx_offload_capa   :%4d, reta_size     :%6d, 
flow_type_rss_offloads:%016" PRIx64 "\n",
                         ^
/usr/local/pktgen-3.4.2/app/pktgen-port-cfg.h:343:49: warning: format ‘%d’ 
expects argument of type ‘int’, but argument 4 has type ‘uint64_t {aka long 
unsigned int}’ [-Wformat=]
   "   rx_offload_capa:%4d, tx_offload_capa   :%4d, reta_size     :%6d, 
flow_type_rss_offloads:%016" PRIx64 "\n",

Do you have any hint or patch to suggest?

Thanks,
Alessio


===============================================
Alessio Silvestro             アレッシオ シルベストロ
Early Stage Researcher

Phone: +49 (0) 6221 4342 �C 134
e-mail: [email protected]<mailto:[email protected]>

Data Science and System Platform Research Division NEC Europe Ltd.
Nec Laboratories Europe
Kurfürsten-Anlage 36, 69115 Heidelberg, Germany
===============================================
NEC Europe Ltd | Registered Office: Athene, Odyssey Business Park, West End  
Road, London, HA4 6QE, GB | Registered in England 2832014


Reply via email to