numam-dpdk/drivers/event/cnxk
Anoob Joseph 53668249c5 crypto/cnxk: add CPT hardware flow control checks
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>
2022-06-21 20:04:50 +02:00
..
deq net/cnxk: support IP reassembly 2022-02-24 21:33:33 +01:00
tx net/cnxk: add cn10k segregated Tx functions 2022-01-23 12:49:51 +01:00
cn9k_eventdev.c common/cnxk: allow building for generic arm64 2022-06-07 20:49:20 +02:00
cn9k_worker.c event/cnxk: add checks in release operation 2022-05-17 16:42:57 +02:00
cn9k_worker.h event/cnxk: move post-processing to separate function 2022-05-17 16:43:01 +02:00
cn10k_eventdev.c common/cnxk: allow building for generic arm64 2022-06-07 20:49:20 +02:00
cn10k_worker.c event/cnxk: add checks in release operation 2022-05-17 16:42:57 +02:00
cn10k_worker.h event/cnxk: move post-processing to separate function 2022-05-17 16:43:01 +02:00
cnxk_eventdev_adptr.c event/cnxk: fix Rx adapter config check 2022-03-03 07:48:09 +01:00
cnxk_eventdev_selftest.c event/cnxk: fix out of bounds access in test 2022-05-17 16:42:44 +02:00
cnxk_eventdev_stats.c event/cnxk: add event port and queue xstats 2021-05-04 07:06:53 +02:00
cnxk_eventdev.c crypto/cnxk: add CPT hardware flow control checks 2022-06-21 20:04:50 +02:00
cnxk_eventdev.h event/cnxk: flush event queues over multiple pass 2022-05-17 16:43:57 +02:00
cnxk_tim_evdev.c event/cnxk: fix memory leaks 2022-02-22 10:49:48 +01:00
cnxk_tim_evdev.h event/cnxk: add timer adapter periodic mode support 2022-01-24 10:03:56 +01:00
cnxk_tim_worker.c event/cnxk: fix uninitialized local variables 2022-02-22 10:50:54 +01:00
cnxk_tim_worker.h event/cnxk: fix uninitialized local variables 2022-02-22 10:50:54 +01:00
cnxk_worker.h event/cnxk: add checks in release operation 2022-05-17 16:42:57 +02:00
meson.build net/cnxk: add cn10k template Tx functions to build 2022-01-23 12:50:44 +01:00
version.map event/cnxk: add build infra and device setup 2021-05-04 05:00:18 +02:00