Re: [dpdk-dev] [PATCH] ethdev: avoid unregistering a non-allocated callback

2022-09-26 Thread Thomas Monjalon
This patch is abandoned. Current behaviour is kept. 15/07/2021 11:06, Ferruh Yigit: > On 7/14/2021 4:42 PM, Thomas Monjalon wrote: > > 14/07/2021 16:16, Matan Azrad: > >> From: Thomas Monjalon > >>> 13/07/2021 15:42, Matan Azrad: > From: Thomas Monjalon > > When registering a new event c

Re: [dpdk-dev] [PATCH] ethdev: avoid unregistering a non-allocated callback

2021-07-15 Thread Ferruh Yigit
On 7/14/2021 4:42 PM, Thomas Monjalon wrote: > 14/07/2021 16:16, Matan Azrad: >> From: Thomas Monjalon >>> 13/07/2021 15:42, Matan Azrad: From: Thomas Monjalon > When registering a new event callback, if allocation fails, there is > no need for unregistering the callback, because it is

Re: [dpdk-dev] [PATCH] ethdev: avoid unregistering a non-allocated callback

2021-07-14 Thread Thomas Monjalon
14/07/2021 16:16, Matan Azrad: > From: Thomas Monjalon > > 13/07/2021 15:42, Matan Azrad: > > > From: Thomas Monjalon > > > > When registering a new event callback, if allocation fails, there is > > > > no need for unregistering the callback, because it is not registered. > > > > > > > > Fixes: 9ec

Re: [dpdk-dev] [PATCH] ethdev: avoid unregistering a non-allocated callback

2021-07-14 Thread Matan Azrad
From: Thomas Monjalon > 13/07/2021 15:42, Matan Azrad: > > Hi Thomas > > > > From: Thomas Monjalon > > > When registering a new event callback, if allocation fails, there is > > > no need for unregistering the callback, because it is not registered. > > > > > > Fixes: 9ec0b3869d8d ("ethdev: allo

Re: [dpdk-dev] [PATCH] ethdev: avoid unregistering a non-allocated callback

2021-07-14 Thread Thomas Monjalon
13/07/2021 15:42, Matan Azrad: > Hi Thomas > > From: Thomas Monjalon > > When registering a new event callback, if allocation fails, there is no > > need for > > unregistering the callback, because it is not registered. > > > > Fixes: 9ec0b3869d8d ("ethdev: allow event registration for all ports

Re: [dpdk-dev] [PATCH] ethdev: avoid unregistering a non-allocated callback

2021-07-13 Thread Matan Azrad
Hi Thomas From: Thomas Monjalon > When registering a new event callback, if allocation fails, there is no need > for > unregistering the callback, because it is not registered. > > Fixes: 9ec0b3869d8d ("ethdev: allow event registration for all ports") > Cc: sta...@dpdk.org > > Signed-off-by: Th

Re: [dpdk-dev] [PATCH] ethdev: avoid unregistering a non-allocated callback

2021-07-13 Thread Andrew Rybchenko
On 7/13/21 4:17 PM, Thomas Monjalon wrote: > When registering a new event callback, if allocation fails, > there is no need for unregistering the callback, > because it is not registered. > > Fixes: 9ec0b3869d8d ("ethdev: allow event registration for all ports") > Cc: sta...@dpdk.org > > Signed-o

[dpdk-dev] [PATCH] ethdev: avoid unregistering a non-allocated callback

2021-07-13 Thread Thomas Monjalon
When registering a new event callback, if allocation fails, there is no need for unregistering the callback, because it is not registered. Fixes: 9ec0b3869d8d ("ethdev: allow event registration for all ports") Cc: sta...@dpdk.org Signed-off-by: Thomas Monjalon --- lib/ethdev/rte_ethdev.c | 2 --