Re: [dpdk-dev] [PATCH v3 2/2] net/i40e: add hot plug monitor in i40e

2017-07-12 Thread Guo, Jia
On 7/10/2017 6:35 AM, Thomas Monjalon wrote: 07/07/2017 16:08, Guo, Jia: On 7/7/2017 6:17 PM, Thomas Monjalon wrote: 07/07/2017 09:56, Thomas Monjalon: 29/06/2017 07:01, Jeff Guo: --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -1283,6 +1283,7 @@ static inline vo

Re: [dpdk-dev] [PATCH v3 2/2] net/i40e: add hot plug monitor in i40e

2017-07-09 Thread Thomas Monjalon
07/07/2017 16:08, Guo, Jia: > > On 7/7/2017 6:17 PM, Thomas Monjalon wrote: > > 07/07/2017 09:56, Thomas Monjalon: > >> 29/06/2017 07:01, Jeff Guo: > >>> --- a/drivers/net/i40e/i40e_ethdev.c > >>> +++ b/drivers/net/i40e/i40e_ethdev.c > >>> @@ -1283,6 +1283,7 @@ static inline void i40e_GLQF_reg_ini

Re: [dpdk-dev] [PATCH v3 2/2] net/i40e: add hot plug monitor in i40e

2017-07-07 Thread Guo, Jia
On 7/7/2017 6:17 PM, Thomas Monjalon wrote: 07/07/2017 09:56, Thomas Monjalon: 29/06/2017 07:01, Jeff Guo: --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -1283,6 +1283,7 @@ static inline void i40e_GLQF_reg_init(struct i40e_hw *hw) /* enable uio intr after c

Re: [dpdk-dev] [PATCH v3 2/2] net/i40e: add hot plug monitor in i40e

2017-07-07 Thread Thomas Monjalon
07/07/2017 09:56, Thomas Monjalon: > 29/06/2017 07:01, Jeff Guo: > > --- a/drivers/net/i40e/i40e_ethdev.c > > +++ b/drivers/net/i40e/i40e_ethdev.c > > @@ -1283,6 +1283,7 @@ static inline void i40e_GLQF_reg_init(struct i40e_hw > > *hw) > > > > /* enable uio intr after callback register */ > >

Re: [dpdk-dev] [PATCH v3 2/2] net/i40e: add hot plug monitor in i40e

2017-07-07 Thread Thomas Monjalon
29/06/2017 07:01, Jeff Guo: > --- a/drivers/net/i40e/i40e_ethdev.c > +++ b/drivers/net/i40e/i40e_ethdev.c > @@ -1283,6 +1283,7 @@ static inline void i40e_GLQF_reg_init(struct i40e_hw > *hw) > > /* enable uio intr after callback register */ > rte_intr_enable(intr_handle); > + >

Re: [dpdk-dev] [PATCH v3 2/2] net/i40e: add hot plug monitor in i40e

2017-07-04 Thread Wu, Jingjing
> -Original Message- > From: Guo, Jia > Sent: Thursday, June 29, 2017 1:02 PM > To: Zhang, Helin ; Wu, Jingjing > > Cc: dev@dpdk.org; Guo, Jia ; Richardson, Bruce > ; Ananyev, Konstantin > ; gaetan.ri...@6wind.com; > thomas.monja...@6wind.com; Yigit, Ferruh > Subject: [PATCH v3 2/2] net

Re: [dpdk-dev] [PATCH v3 2/2] net/i40e: add hot plug monitor in i40e

2017-06-29 Thread Wu, Jingjing
> -Original Message- > From: Guo, Jia > Sent: Thursday, June 29, 2017 12:38 PM > To: Zhang, Helin ; Wu, Jingjing > > Cc: dev@dpdk.org; Guo, Jia > Subject: [PATCH v3 2/2] net/i40e: add hot plug monitor in i40e > > From: "Guo, Jia" > > This patch enable the hot plug feature in i40e, by

[dpdk-dev] [PATCH v3 2/2] net/i40e: add hot plug monitor in i40e

2017-06-28 Thread Jeff Guo
From: "Guo, Jia" This patch enable the hot plug feature in i40e, by monitoring the hot plug uevent of the device. When remove event got, call the app callback function to handle the detach process. Signed-off-by: Guo, Jia --- v3->v2: refine the return issue if device remove --- drivers/net/i40

[dpdk-dev] [PATCH v3 2/2] net/i40e: add hot plug monitor in i40e

2017-06-28 Thread Jeff Guo
From: "Guo, Jia" This patch enable the hot plug feature in i40e, by monitoring the hot plug uevent of the device. When remove event got, call the app callback function to handle the detach process. Signed-off-by: Guo, Jia --- v3->v2: refine the return issue if device remove --- drivers/net/i40