[dpdk-users] Compile / Build Issue - CentOS 7

Wiles, Keith keith.wiles at intel.com
Mon Apr 25 20:40:50 CEST 2016


>>
>>Trying to build latest version pulled from git as of today and having a problem with seems to be a member of a struct that is missing.  Any thoughts?
>>
>>Please let me know if there is another place that I should post this type of question.

The new version of Pktgen pushed to dpdk.org should now compile with DPDK 16.04, if you find anything else please let me know.

>
>On Apr 15th the deprecated statistics were remove with this patch.
>commit a61dc000d55dca9e0947fa067b7dc503f42af28a
>Author: Thomas Monjalon <thomas.monjalon at 6wind.com>
>Date:   Fri Apr 15 11:01:51 2016 +0200
>
>    ethdev: remove deprecated statistics
>    
>    Some statistics were deprecated since release 2.1 (49f386542af4).
>    The last deprecated counter to be used was imcasts.
>    
>    The VF loopback statistics are also removed as they are used only
>    in igb and duplicated in extended statistics.
>    
>    The new counters should be added to extended statistics.
>    
>    Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
>    Acked-by: Remy Horton <remy.horton at intel.com>
>
>I will try to get pktgen updated soon.
>
>
>>
>>Thanks,
>>Jeff
>>
>>
>> CC pktgen-stats.o
>>
>>/root/pktgen-dpdk/app/pktgen-stats.c: In function 'pktgen_page_stats':
>>
>>/root/pktgen-dpdk/app/pktgen-stats.c:353:26: error: 'eth_stats_t' has no member named 'imcasts'
>>
>>   pktgen.cumm_rate_totals.imcasts += info->rate_stats.imcasts;
>>
>>                          ^
>>
>>/root/pktgen-dpdk/app/pktgen-stats.c:353:54: error: 'eth_stats_t' has no member named 'imcasts'
>>
>>   pktgen.cumm_rate_totals.imcasts += info->rate_stats.imcasts;
>>
>>                                                      ^
>>
>>/root/pktgen-dpdk/app/pktgen-stats.c: In function 'pktgen_process_stats':
>>
>>/root/pktgen-dpdk/app/pktgen-stats.c:544:8: error: 'struct rte_eth_stats' has no member named 'imcasts'
>>
>>   stats.imcasts += info->init_stats.imcasts;
>>
>>        ^
>>
>>/root/pktgen-dpdk/app/pktgen-stats.c:544:36: error: 'eth_stats_t' has no member named 'imcasts'
>>
>>   stats.imcasts += info->init_stats.imcasts;
>>
>>                                    ^
>>
>>/root/pktgen-dpdk/app/pktgen-stats.c:573:19: error: 'eth_stats_t' has no member named 'imcasts'
>>
>>   info->rate_stats.imcasts += stats.imcasts -
>>
>>                   ^
>>
>>/root/pktgen-dpdk/app/pktgen-stats.c:573:36: error: 'struct rte_eth_stats' has no member named 'imcasts'
>>
>>   info->rate_stats.imcasts += stats.imcasts -
>>
>>                                    ^
>>
>>/root/pktgen-dpdk/app/pktgen-stats.c:574:27: error: 'eth_stats_t' has no member named 'imcasts'
>>
>>           info->init_stats.imcasts;
>>
>>                           ^
>>
>>make[2]: *** [pktgen-stats.o] Error 1
>>
>>make[1]: *** [all] Error 2
>>
>>make: *** [app] Error 2
>>
>>
>
>
>Regards,
>Keith
>
>
>
>
>


Regards,
Keith






More information about the users mailing list