Re: [dpdk-dev] [PATCH] kni: Fix request overwritten

2021-09-21 Thread Ferruh Yigit
On 9/17/2021 1:31 PM, Elad Nachman wrote: > Fix lack of multiple KNI requests handling support by introducing a > rotating ring mechanism for the sync buffer. > Thanks Elad for the patch. I have missed that 'rte_kni_handle_request()' can be called by multiple cores, at least kni sample app does

[dpdk-dev] [PATCH] kni: Fix request overwritten

2021-09-17 Thread Elad Nachman
Fix lack of multiple KNI requests handling support by introducing a rotating ring mechanism for the sync buffer. Prevent kni_net_change_rx_flags() from calling kni_net_process_request() with a malformed request. Bugzilla ID: 809 Signed-off-by: Elad Nachman --- kernel/linux/kni/kni_dev.h |