[dpdk-dev] [PATCH v13 06/14] eal/linux: standalone intr event fd create support

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



> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Tuesday, July 14, 2015 1:02 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 06/14] eal/linux: standalone intr event fd create support
> 
> 2015-06-19 12:00, Cunming Liang:
> > +/**
> > + * It enables the fastpath event fds if it's necessary.
> 
> What means fastpath here?
Here means RX/TX packet I/O interrupt, to distinguish link status interrupt which is processed in a standalone thread.
Will reword the description.
> 
> > + * It creates event fds when multi-vectors allowed,
> > + * otherwise it multiplexes the single event fds.
> 
> Maybe a reference to allow multi-vectors is needed.
Will rework it, thanks.
> 
> > + *
> > + * @param intr_handle
> > + *   Pointer to the interrupt handle.
> > + * @param nb_vec
> > + *   Number of interrupt vector trying to enable.
> > + * @return
> > + *   - On success, zero.
> > + *   - On failure, a negative value.
> > + */
> > +int
> > +rte_intr_efd_enable(struct rte_intr_handle *intr_handle, uint32_t nb_efd);
> >
> 



More information about the dev mailing list