Re: [dpdk-dev] [PATCH 1/2] eal: clean up interrupt handle

2017-02-27 Thread Zhang, Qi Z
HI Jan: > -Original Message- > From: jblu...@gmail.com [mailto:jblu...@gmail.com] On Behalf Of Jan Blunck > Sent: Tuesday, February 28, 2017 12:19 AM > To: Zhang, Qi Z > Cc: Thomas Monjalon ; dev > Subject: Re: [dpdk-dev] [PATCH 1/2] eal: clean up interrupt handle &

Re: [dpdk-dev] [PATCH 1/2] eal: clean up interrupt handle

2017-02-27 Thread Jan Blunck
On Wed, Feb 22, 2017 at 11:17 PM, Qi Zhang wrote: > --- a/lib/librte_eal/linuxapp/eal/eal_interrupts.c > +++ b/lib/librte_eal/linuxapp/eal/eal_interrupts.c > @@ -278,29 +278,6 @@ vfio_disable_msi(const struct rte_intr_handle > *intr_handle) { > return ret; > } > > -static int > -get_max_

[dpdk-dev] [PATCH 1/2] eal: clean up interrupt handle

2017-02-22 Thread Qi Zhang
The patch change the prototype of callback function (rte_intr_callback_fn) by removing the unnecessary parameter. Also with this change we can keep content of item in intr_source read only, the inappropriate modifciation(like get_max_intr) can be avoid. Signed-off-by: Qi Zhang --- drivers/net/bn