DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] dpdk-next-crypto broken?
@ 2018-05-08 10:31 Verma, Shally
  2018-05-08 10:36 ` Jerin Jacob
  0 siblings, 1 reply; 3+ messages in thread
From: Verma, Shally @ 2018-05-08 10:31 UTC (permalink / raw)
  To: dev, Pablo de Lara; +Cc: Sahu, Sunila, Kotamarthy, Kanaka

Trying to do 'make test' on dpdk-next-crypto clone, throw these error. Even if I try to disable this file build by setting CONFIG_RTE_LIBRTE_EVENTDEV=n , don't help, fails at some other places.  Can there be quick resolve for same?

  CC test_event_timer_adapter.o
/home/sverma/dpdk/latest/test/test/test_event_timer_adapter.c: In function 'test_timer_state':
/home/sverma/dpdk/latest/test/test/test_event_timer_adapter.c:381:3: error: missing initializer for field 'priority' of 'struct <anonymous>' [-Werror=missing-field-initializers]
   .ev.sched_type = RTE_SCHED_TYPE_ATOMIC,
   ^
In file included from /home/sverma/dpdk/latest/test/test/test_event_timer_adapter.c:12:0:
/home/sverma/dpdk/latest/build/include/rte_eventdev.h:1049:12: note: 'priority' declared here
    uint8_t priority;
            ^
   
Thanks
Shally

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

* Re: [dpdk-dev] dpdk-next-crypto broken?
  2018-05-08 10:31 [dpdk-dev] dpdk-next-crypto broken? Verma, Shally
@ 2018-05-08 10:36 ` Jerin Jacob
  2018-05-08 10:47   ` Verma, Shally
  0 siblings, 1 reply; 3+ messages in thread
From: Jerin Jacob @ 2018-05-08 10:36 UTC (permalink / raw)
  To: Verma, Shally; +Cc: dev, Pablo de Lara, Sahu, Sunila, Kotamarthy, Kanaka

-----Original Message-----
> Date: Tue, 8 May 2018 10:31:56 +0000
> From: "Verma, Shally" <Shally.Verma@cavium.com>
> To: "dev@dpdk.org" <dev@dpdk.org>, Pablo de Lara
>  <pablo.de.lara.guarch@intel.com>
> CC: "Sahu, Sunila" <Sunila.Sahu@cavium.com>, "Kotamarthy, Kanaka"
>  <Kanaka.Kotamarthy@cavium.com>
> Subject: [dpdk-dev] dpdk-next-crypto broken?
> 
> Trying to do 'make test' on dpdk-next-crypto clone, throw these error. Even if I try to disable this file build by setting CONFIG_RTE_LIBRTE_EVENTDEV=n , don't help, fails at some other places.  Can there be quick resolve for same?

Are you using gcc 4.8.5. If so the following patch will fix the problem.
http://dpdk.org/dev/patchwork/patch/39428/

> 
>   CC test_event_timer_adapter.o
> /home/sverma/dpdk/latest/test/test/test_event_timer_adapter.c: In function 'test_timer_state':
> /home/sverma/dpdk/latest/test/test/test_event_timer_adapter.c:381:3: error: missing initializer for field 'priority' of 'struct <anonymous>' [-Werror=missing-field-initializers]
>    .ev.sched_type = RTE_SCHED_TYPE_ATOMIC,
>    ^
> In file included from /home/sverma/dpdk/latest/test/test/test_event_timer_adapter.c:12:0:
> /home/sverma/dpdk/latest/build/include/rte_eventdev.h:1049:12: note: 'priority' declared here
>     uint8_t priority;
>             ^
>    
> Thanks
> Shally

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

* Re: [dpdk-dev] dpdk-next-crypto broken?
  2018-05-08 10:36 ` Jerin Jacob
@ 2018-05-08 10:47   ` Verma, Shally
  0 siblings, 0 replies; 3+ messages in thread
From: Verma, Shally @ 2018-05-08 10:47 UTC (permalink / raw)
  To: Jacob,  Jerin; +Cc: dev, Pablo de Lara, Sahu, Sunila, Kotamarthy, Kanaka

Thanks that fixed it. Assume it will be fixed in master soon.

Thanks
Shally

>-----Original Message-----
>From: Jacob, Jerin
>Sent: 08 May 2018 16:07
>To: Verma, Shally <Shally.Verma@cavium.com>
>Cc: dev@dpdk.org; Pablo de Lara <pablo.de.lara.guarch@intel.com>; Sahu, Sunila <Sunila.Sahu@cavium.com>; Kotamarthy, Kanaka
><Kanaka.Kotamarthy@cavium.com>
>Subject: Re: [dpdk-dev] dpdk-next-crypto broken?
>
>-----Original Message-----
>> Date: Tue, 8 May 2018 10:31:56 +0000
>> From: "Verma, Shally" <Shally.Verma@cavium.com>
>> To: "dev@dpdk.org" <dev@dpdk.org>, Pablo de Lara
>>  <pablo.de.lara.guarch@intel.com>
>> CC: "Sahu, Sunila" <Sunila.Sahu@cavium.com>, "Kotamarthy, Kanaka"
>>  <Kanaka.Kotamarthy@cavium.com>
>> Subject: [dpdk-dev] dpdk-next-crypto broken?
>>
>> Trying to do 'make test' on dpdk-next-crypto clone, throw these error. Even if I try to disable this file build by setting
>CONFIG_RTE_LIBRTE_EVENTDEV=n , don't help, fails at some other places.  Can there be quick resolve for same?
>
>Are you using gcc 4.8.5. If so the following patch will fix the problem.
>http://dpdk.org/dev/patchwork/patch/39428/
>
>>
>>   CC test_event_timer_adapter.o
>> /home/sverma/dpdk/latest/test/test/test_event_timer_adapter.c: In function 'test_timer_state':
>> /home/sverma/dpdk/latest/test/test/test_event_timer_adapter.c:381:3: error: missing initializer for field 'priority' of 'struct
><anonymous>' [-Werror=missing-field-initializers]
>>    .ev.sched_type = RTE_SCHED_TYPE_ATOMIC,
>>    ^
>> In file included from /home/sverma/dpdk/latest/test/test/test_event_timer_adapter.c:12:0:
>> /home/sverma/dpdk/latest/build/include/rte_eventdev.h:1049:12: note: 'priority' declared here
>>     uint8_t priority;
>>             ^
>>
>> Thanks
>> Shally

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

end of thread, other threads:[~2018-05-08 10:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-08 10:31 [dpdk-dev] dpdk-next-crypto broken? Verma, Shally
2018-05-08 10:36 ` Jerin Jacob
2018-05-08 10:47   ` Verma, Shally

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