Re: [dpdk-dev] [PATCH V12 1/3] eal: add uevent monitor api and callback func

2018-01-25 Thread Guo, Jia
thanks for your review. please check v13. On 1/24/2018 10:52 PM, Wu, Jingjing wrote: -Original Message- From: Guo, Jia Sent: Thursday, January 18, 2018 12:12 PM To: step...@networkplumber.org; Richardson, Bruce ; Yigit, Ferruh ; gaetan.ri...@6wind.com Cc: Ananyev, Konstantin ; jblu...@

Re: [dpdk-dev] [PATCH V12 1/3] eal: add uevent monitor api and callback func

2018-01-24 Thread Wu, Jingjing
> -Original Message- > From: Guo, Jia > Sent: Thursday, January 18, 2018 12:12 PM > To: step...@networkplumber.org; Richardson, Bruce > ; > Yigit, Ferruh ; gaetan.ri...@6wind.com > Cc: Ananyev, Konstantin ; jblu...@infradead.org; > shreyansh.j...@nxp.com; Wu, Jingjing ; dev@dpdk.org; >

Re: [dpdk-dev] [PATCH V12 1/3] eal: add uevent monitor api and callback func

2018-01-18 Thread Guo, Jia
On 1/19/2018 9:13 AM, Thomas Monjalon wrote: 18/01/2018 05:12, Jeff Guo: + * It registers the callback for the specific device. + * Multiple callbacks cal be registered at the same time. + * + * @param device_name + * The device name, that is the param name of the struct rte_device, Why not

Re: [dpdk-dev] [PATCH V12 1/3] eal: add uevent monitor api and callback func

2018-01-18 Thread Thomas Monjalon
18/01/2018 05:12, Jeff Guo: > + * It registers the callback for the specific device. > + * Multiple callbacks cal be registered at the same time. > + * > + * @param device_name > + * The device name, that is the param name of the struct rte_device, Why not using rte_device pointer? > + * null v

[dpdk-dev] [PATCH V12 1/3] eal: add uevent monitor api and callback func

2018-01-17 Thread Jeff Guo
This patch aim to add a general uevent mechanism in eal device layer, to enable all linux kernel object uevent monitoring, user could use these APIs to monitor and read out the device status info that sent from the kernel side, then corresponding to handle it, such as when detect hotplug uevent typ