DPDK usage discussions
 help / color / mirror / Atom feed
* Re: [dpdk-users] Compile / Build Issue - CentOS 7
@ 2016-04-25 18:21 Wiles, Keith
  2016-04-25 18:40 ` Wiles, Keith
  0 siblings, 1 reply; 3+ messages in thread
From: Wiles, Keith @ 2016-04-25 18:21 UTC (permalink / raw)
  To: Jeff Tarkington (jtarking), users

>
>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.

On Apr 15th the deprecated statistics were remove with this patch.
commit a61dc000d55dca9e0947fa067b7dc503f42af28a
Author: Thomas Monjalon <thomas.monjalon@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@6wind.com>
    Acked-by: Remy Horton <remy.horton@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] Compile / Build Issue - CentOS 7
  2016-04-25 18:21 [dpdk-users] Compile / Build Issue - CentOS 7 Wiles, Keith
@ 2016-04-25 18:40 ` Wiles, Keith
  0 siblings, 0 replies; 3+ messages in thread
From: Wiles, Keith @ 2016-04-25 18:40 UTC (permalink / raw)
  To: Jeff Tarkington (jtarking), users

>>
>>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@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@6wind.com>
>    Acked-by: Remy Horton <remy.horton@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dpdk-users] Compile / Build Issue - CentOS 7
@ 2016-04-25 18:03 Jeff Tarkington (jtarking)
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Tarkington (jtarking) @ 2016-04-25 18:03 UTC (permalink / raw)
  To: users


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.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-25 18:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-25 18:21 [dpdk-users] Compile / Build Issue - CentOS 7 Wiles, Keith
2016-04-25 18:40 ` Wiles, Keith
  -- strict thread matches above, loose matches on Subject: below --
2016-04-25 18:03 Jeff Tarkington (jtarking)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).