53668249c5
Add hardware supported flow control checks before enqueueing to CPT. Since both poll mode and event mode can be used at the same time, add hardware flow control checks to make sure s/w doesn't over submit to hardware queues. For cn9k, queue depth usage is not high and so FC check is omitted for poll mode. To allow for more accurate updates, flow control hardware setting is updated to give an update per 32 packets. In case of crypto adapter, multiple cores can enqueue to the same CPT LF at the same time. To allow such a case, flow control threshold is updated when the adapter is configured. Signed-off-by: Anoob Joseph <anoobj@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com> |
||
---|---|---|
.. | ||
deq | ||
tx | ||
cn9k_eventdev.c | ||
cn9k_worker.c | ||
cn9k_worker.h | ||
cn10k_eventdev.c | ||
cn10k_worker.c | ||
cn10k_worker.h | ||
cnxk_eventdev_adptr.c | ||
cnxk_eventdev_selftest.c | ||
cnxk_eventdev_stats.c | ||
cnxk_eventdev.c | ||
cnxk_eventdev.h | ||
cnxk_tim_evdev.c | ||
cnxk_tim_evdev.h | ||
cnxk_tim_worker.c | ||
cnxk_tim_worker.h | ||
cnxk_worker.h | ||
meson.build | ||
version.map |