[dpdk-dev] [PATCH v8 5/9] eventtimer: add default software driver

Jerin Jacob jerin.jacob at caviumnetworks.com
Mon Apr 2 10:42:45 CEST 2018


-----Original Message-----
> Date: Thu, 29 Mar 2018 16:27:28 -0500
> From: Erik Gabriel Carrillo <erik.g.carrillo at intel.com>
> To: pbhagavatula at caviumnetworks.com
> CC: dev at dpdk.org, jerin.jacob at caviumnetworks.com, nipun.gupta at nxp.com,
>  hemant.agrawal at nxp.com
> Subject: [PATCH v8 5/9] eventtimer: add default software driver
> X-Mailer: git-send-email 1.7.10
> 
> If an eventdev PMD does not wish to provide event timer adapter ops
> definitions, the library will fall back to a default software
> implementation whose entry points are added by this commit.
> 
> Signed-off-by: Erik Gabriel Carrillo <erik.g.carrillo at intel.com>
> ---

This patch has following warnings

/export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c:
In function ‘sw_event_timer_adapter_service_func’:
/export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c:699:27:
error: ‘nb_evs_invalid’ may be used uninitialized in this function
[-Werror=maybe-uninitialized]
  uint16_t nb_evs_flushed, nb_evs_invalid;
                           ^~~~~~~~~~~~~~
/export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c:
In function ‘sw_event_timer_cb’:
/export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c:551:27:
error: ‘nb_evs_invalid’ may be used uninitialized in this function
[-Werror=maybe-uninitialized]
  uint16_t nb_evs_flushed, nb_evs_invalid;
                           ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors



> 


More information about the dev mailing list