> 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 <ano...@marvell.com> Acked-by: Akhil Goyal <gak...@marvell.com>
Applied to dpdk-next-crypto Thanks.