event/dlb2: allow CQ depths up to 1024
authorTimothy McDaniel <timothy.mcdaniel@intel.com>
Sat, 9 Apr 2022 15:13:20 +0000 (10:13 -0500)
committerJerin Jacob <jerinj@marvell.com>
Tue, 17 May 2022 14:42:31 +0000 (16:42 +0200)
commit86fe66d456678442c78420e4bd036d1098c1ef8a
tree12710059257b5b88b18e63c924e61a3455e8d6f4
parent80bb303d3b7990d1cc088a445a5d9427229187ac
event/dlb2: allow CQ depths up to 1024

Updated to allow overriding the default CQ depth of 32.  Since there are
only 2048 DLB history list entries, increasing the CQ depth decreases
the number of available LDB ports to 2048/max_cq_depth. Resource query
will take this into account and return the correct maximum number of
LDB ports.

Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>
drivers/event/dlb2/dlb2.c
drivers/event/dlb2/dlb2_priv.h
drivers/event/dlb2/pf/dlb2_pf.c