Re: [dpdk-dev] [PATCH V19 2/4] eal: add failure handler mechanism for hot plug

2018-04-11 Thread Guo, Jia
; gaetan.ri...@6wind.com; Wu, Jingjing ; tho...@monjalon.net; mo...@mellanox.com; Van Haaren, Harry ; Tan, Jianfeng Cc: jblu...@infradead.org; shreyansh.j...@nxp.com; dev@dpdk.org; Guo, Jia ; Zhang, Helin Subject: Re: [dpdk-dev] [PATCH V19 2/4] eal: add failure handler mechanism for hot plug Hi Jeff

Re: [dpdk-dev] [PATCH V19 2/4] eal: add failure handler mechanism for hot plug

2018-04-11 Thread Guo, Jia
, Jingjing ; tho...@monjalon.net; mo...@mellanox.com; Van Haaren, Harry ; Tan, Jianfeng Cc: jblu...@infradead.org; shreyansh.j...@nxp.com; dev@dpdk.org; Guo, Jia ; Zhang, Helin Subject: [dpdk-dev] [PATCH V19 2/4] eal: add failure handler mechanism for hot plug This patch introduces an API

Re: [dpdk-dev] [PATCH V19 2/4] eal: add failure handler mechanism for hot plug

2018-04-11 Thread Guo, Jia
thanks your review , Konstantin, comment below. On 4/10/2018 1:42 AM, Ananyev, Konstantin wrote: Hi Jeff, This patch introduces an API (rte_dev_handle_hot_unplug) to handle device hot unplug event. When device be hot plug out, the device resource become invalid, if this resource is still be u

Re: [dpdk-dev] [PATCH V19 2/4] eal: add failure handler mechanism for hot plug

2018-04-09 Thread Ananyev, Konstantin
Hi Jeff, > > This patch introduces an API (rte_dev_handle_hot_unplug) to handle device > hot unplug event. When device be hot plug out, the device resource > become invalid, if this resource is still be unexpected read/write, > system will crash. The api let user register the hot unplug handler,

Re: [dpdk-dev] [PATCH V19 2/4] eal: add failure handler mechanism for hot plug

2018-04-06 Thread Zhang, Qi Z
ind.com; Wu, Jingjing ; > tho...@monjalon.net; mo...@mellanox.com; Van Haaren, Harry > ; Tan, Jianfeng > Cc: jblu...@infradead.org; shreyansh.j...@nxp.com; dev@dpdk.org; Guo, Jia > ; Zhang, Helin > Subject: Re: [dpdk-dev] [PATCH V19 2/4] eal: add failure handler m

Re: [dpdk-dev] [PATCH V19 2/4] eal: add failure handler mechanism for hot plug

2018-04-06 Thread Zhang, Qi Z
Wu, Jingjing ; > tho...@monjalon.net; mo...@mellanox.com; Van Haaren, Harry > ; Tan, Jianfeng > Cc: jblu...@infradead.org; shreyansh.j...@nxp.com; dev@dpdk.org; Guo, Jia > ; Zhang, Helin > Subject: [dpdk-dev] [PATCH V19 2/4] eal: add failure handler mechanism for > hot

[dpdk-dev] [PATCH V19 2/4] eal: add failure handler mechanism for hot plug

2018-04-06 Thread Jeff Guo
This patch introduces an API (rte_dev_handle_hot_unplug) to handle device hot unplug event. When device be hot plug out, the device resource become invalid, if this resource is still be unexpected read/write, system will crash. The api let user register the hot unplug handler, when hot plug failure