DPDK patches and discussions
 help / color / mirror / Atom feed
* Re: DPDK Release Status Meeting
       [not found]   ` <MN2PR12MB308577389FFC69878B4A01C4820F9@MN2PR12MB3085.namprd12.prod.outlook.com>
@ 2022-11-24 12:38     ` David Marchand
  0 siblings, 0 replies; only message in thread
From: David Marchand @ 2022-11-24 12:38 UTC (permalink / raw)
  To: Varghese, Vipin, Nicolas Chautru
  Cc: dev, Thomas Monjalon, Maxime Coquelin, Mcnamara, John

Hello,

On Thu, Nov 24, 2022 at 1:31 PM Varghese, Vipin <Vipin.Varghese@amd.com> wrote:
>
> Hi John and Thomas,
>
> Sharing an observation for compilation failure

Thanks for reporting.
I suspect you forgot to mention that this error is only seen with some
additional -DRTE_BBDEV_OFFLOAD_COST in cflags.

>
> Git head: 9cb8326456317264a7d085978634661c520af706
> Application – test-bbdev
> Error: ```
>
> ../app/test-bbdev/test_bbdev_perf.c: In function ‘get_bbdev_queue_stats’:
> ../app/test-bbdev/test_bbdev_perf.c:4936:16: error: ‘struct rte_bbdev_stats’ has no member named ‘enqueue_warning_count’; did you mean ‘enqueue_warn_count’?
> 4936 |         stats->enqueue_warning_count = q_stats->enqueue_warning_count;
>       |                ^~~~~~~~~~~~~~~~~~~~~
>       |                enqueue_warn_count
> ../app/test-bbdev/test_bbdev_perf.c:4936:49: error: ‘struct rte_bbdev_stats’ has no member named ‘enqueue_warning_count’; did you mean ‘enqueue_warn_count’?
> 4936 |         stats->enqueue_warning_count = q_stats->enqueue_warning_count;
>       |                                                 ^~~~~~~~~~~~~~~~~~~~~
>       |                                                 enqueue_warn_count
> ../app/test-bbdev/test_bbdev_perf.c:4937:16: error: ‘struct rte_bbdev_stats’ has no member named ‘dequeue_warning_count’; did you mean ‘dequeue_warn_count’?
> 4937 |         stats->dequeue_warning_count = q_stats->dequeue_warning_count;
>       |                ^~~~~~~~~~~~~~~~~~~~~
>       |                dequeue_warn_count
> ../app/test-bbdev/test_bbdev_perf.c:4937:49: error: ‘struct rte_bbdev_stats’ has no member named ‘dequeue_warning_count’; did you mean ‘dequeue_warn_count’?
> 4937 |         stats->dequeue_warning_count = q_stats->dequeue_warning_count;
>       |                                                 ^~~~~~~~~~~~~~~~~~~~~
>       |                                                 dequeue_warn_count
> ````
>
> Reason for error: rte_bbdev_stats  has dequeue_warn_count
> Fix: convert stats to warn rather than warning

The fix should be trivial, can you send it quickly?
Thanks.


-- 
David Marchand


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-24 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <SN6PR11MB3086970EA74E266484464615FC879@SN6PR11MB3086.namprd11.prod.outlook.com>
     [not found] ` <MN2PR12MB30858F052344EEEA2ED5FAE282289@MN2PR12MB3085.namprd12.prod.outlook.com>
     [not found]   ` <MN2PR12MB308577389FFC69878B4A01C4820F9@MN2PR12MB3085.namprd12.prod.outlook.com>
2022-11-24 12:38     ` DPDK Release Status Meeting David Marchand

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