Re: [dpdk-dev] [PATCH 2/2] lib/ethdev: fix memory ordering for call back functions

2020-10-13 Thread Honnappa Nagarahalli
> Subject: Re: [PATCH 2/2] lib/ethdev: fix memory ordering for call back > functions > > On 10/2/2020 1:07 AM, Honnappa Nagarahalli wrote: > > Call back functions are registered on the control plane. They are > > accessed from the data plane. Hence, correct memory orderings should > > be used to

Re: [dpdk-dev] [PATCH 2/2] lib/ethdev: fix memory ordering for call back functions

2020-10-13 Thread Ananyev, Konstantin
> > Call back functions are registered on the control plane. They > are accessed from the data plane. Hence, correct memory orderings > should be used to avoid race conditions. > > Fixes: 4dc294158cac ("ethdev: support optional Rx and Tx callbacks") > Fixes: c8231c63ddcb ("ethdev: insert Rx cal

Re: [dpdk-dev] [PATCH 2/2] lib/ethdev: fix memory ordering for call back functions

2020-10-13 Thread Ferruh Yigit
On 10/2/2020 1:07 AM, Honnappa Nagarahalli wrote: Call back functions are registered on the control plane. They are accessed from the data plane. Hence, correct memory orderings should be used to avoid race conditions. Fixes: 4dc294158cac ("ethdev: support optional Rx and Tx callbacks") Fixes: c

Re: [dpdk-dev] [PATCH 2/2] lib/ethdev: fix memory ordering for call back functions

2020-10-08 Thread Phil Yang
> -Original Message- > From: Honnappa Nagarahalli > Sent: Friday, October 2, 2020 8:07 AM > To: dev@dpdk.org; Honnappa Nagarahalli > ; Phil Yang ; > tho...@monjalon.net; arybche...@solarflare.com; ferruh.yi...@intel.com > Cc: abhinandan.guj...@intel.com; nd ; > bruce.richard...@intel.com;

[dpdk-dev] [PATCH 2/2] lib/ethdev: fix memory ordering for call back functions

2020-10-01 Thread Honnappa Nagarahalli
Call back functions are registered on the control plane. They are accessed from the data plane. Hence, correct memory orderings should be used to avoid race conditions. Fixes: 4dc294158cac ("ethdev: support optional Rx and Tx callbacks") Fixes: c8231c63ddcb ("ethdev: insert Rx callback as head of