[PATCH 1/2] eventdev: fix race condition in fast-path set function

2023-02-19 Thread Ashok Kaladi
. This patch moves the updation of data element to the beginning of event_dev_fp_ops_set() function. Fixes: d35e61322de5 ("eventdev: move inline APIs into separate structure") Cc: sta...@dpdk.org Signed-off-by: Ashok Kaladi diff --git a/.mailmap b/.mailmap index 5015494210..bbf6744278 10

[PATCH 2/2] ethdev: fix race condition in fast-path ops setup

2023-02-19 Thread Ashok Kaladi
patch moves the updation of each data pointers before updating corresponding function pointers. Fixes: c87d435a4d79 ("ethdev: copy fast-path API into separate structure") Cc: sta...@dpdk.org Signed-off-by: Ashok Kaladi diff --git a/lib/ethdev/ethdev_private.c b/lib/ethdev/ethdev_priva