Re: [dpdk-dev] [PATCH v3 0/2] clean up interrupt handle

2017-04-04 Thread Zhang, Qi Z
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] > Sent: Tuesday, April 4, 2017 6:13 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org > Subject: Re: [PATCH v3 0/2] clean up interrupt handle > > Hi, > > 2017-03-30 22:09, Qi Zhang: > > It seems its not necessary to

Re: [dpdk-dev] [PATCH v3 0/2] clean up interrupt handle

2017-04-04 Thread Thomas Monjalon
Hi, 2017-03-30 22:09, Qi Zhang: > It seems its not necessary to register an intr_handle for interrupt callback > function. "void* cb_arg" shows enough when be used to pass the object that > contain the information be required to handle the interrupt event( A typical > way which is implemented by

[dpdk-dev] [PATCH v3 0/2] clean up interrupt handle

2017-03-30 Thread Qi Zhang
It seems its not necessary to register an intr_handle for interrupt callback function. "void* cb_arg" shows enough when be used to pass the object that contain the information be required to handle the interrupt event( A typical way which is implemented by almost all driver is by passing a rte_et