Re: [dpdk-dev] [PATCH 2/3] eal: fix remove incorrect event_cb

2020-06-30 Thread wangyunjian
> -Original Message- > From: Jeff Guo [mailto:jia@intel.com] > Sent: Friday, June 12, 2020 1:56 PM > To: wangyunjian ; dev@dpdk.org > Cc: Lilijun (Jerry) ; xudingke > ; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 2/3] eal: fix remove incorrect event_cb >

Re: [dpdk-dev] [PATCH 2/3] eal: fix remove incorrect event_cb

2020-06-11 Thread Jeff Guo
hi, yunjian On 6/3/2020 8:55 PM, wangyunjian wrote: From: Yunjian Wang When the device_name is NULL, it will remove the event_cb directly. We need to compare the 'cb_fn' and 'cb_arg' at the same time. Fixes: a753e53d517b ("eal: add device event monitor framework") Cc: sta...@dpdk.org Signed-

[dpdk-dev] [PATCH 2/3] eal: fix remove incorrect event_cb

2020-06-03 Thread wangyunjian
From: Yunjian Wang When the device_name is NULL, it will remove the event_cb directly. We need to compare the 'cb_fn' and 'cb_arg' at the same time. Fixes: a753e53d517b ("eal: add device event monitor framework") Cc: sta...@dpdk.org Signed-off-by: Yunjian Wang --- lib/librte_eal/common/eal_co