Re: [PATCH v3] kni: allow configuring the kni thread granularity
From: Tudor Cornea <hidden>
Date: 2021-11-24 17:10:37
From: Tudor Cornea <hidden>
Date: 2021-11-24 17:10:37
Hi Ferruh,
As I tested both with KNI sample app and KNI PMD, change looks good, practically we can't change the scheduler delay with existing code but this patch enables it and lets configure performance/CPU usage trade of. Only possible change is to remove 'RTE_KNI_PREEMPT_DEFAULT' macro as mentioned below.
Thanks for the suggestion. I will send an updated version of the patch, which will remove the RTE_KNI_PREEMPT_DEFAULT macro