[dpdk-dev] [PATCH v13 02/14] eal/linux: add rte_epoll_wait/ctl support

Liang, Cunming cunming.liang at intel.com
Fri Jul 17 07:27:56 CEST 2015



> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Tuesday, July 14, 2015 12:46 AM
> To: Liang, Cunming
> Cc: dev at dpdk.org; shemming at brocade.com; david.marchand at 6wind.com;
> Zhou, Danny; Wang, Liang-min; Richardson, Bruce; Liu, Yong;
> nhorman at tuxdriver.com
> Subject: Re: [PATCH v13 02/14] eal/linux: add rte_epoll_wait/ctl support
> 
> 2015-06-19 12:00, Cunming Liang:
> > --- a/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h
> > +++ b/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h
> > @@ -51,6 +51,32 @@ enum rte_intr_handle_type {
> >  	RTE_INTR_HANDLE_MAX
> >  };
> >
> > +#define RTE_INTR_EVENT_ADD            1UL
> > +#define	RTE_INTR_EVENT_DEL            2UL
> 
> Wrong alignment here.
> 
> > --- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map
> > +++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map
> > @@ -98,3 +98,13 @@ DPDK_2.0 {
> >
> >  	local: *;
> >  };
> > +
> > +DPDK_2.1 {
> > +	global:
> > +
> > +	rte_epoll_ctl;
> > +	rte_epoll_wait;
> > +	rte_intr_tls_epfd;
> > +
> > +	local: *;
> > +} DPDK_2.0;
> 
> local is already defined above.
> 
Will rework it, thanks.


More information about the dev mailing list