event/dlb2: support ldb port specific COS
authorTimothy McDaniel <timothy.mcdaniel@intel.com>
Thu, 16 Jun 2022 22:21:36 +0000 (17:21 -0500)
committerJerin Jacob <jerinj@marvell.com>
Mon, 20 Jun 2022 17:32:02 +0000 (19:32 +0200)
commitbec8901bfe9f691a27e267005621a90efa815d79
tree16329fcc072babcb21bb3b46e9fd8406c403beaf
parentffa46fc4a2b591d1c25862931a9f9f0a469016a4
event/dlb2: support ldb port specific COS

DLB supports 4 class of service domains, to aid in managing the
device bandwidth across ldb ports. This commit allows specifying
which ldb ports will participate in the COS scheme, which class
they are a part of, and the specific bandwidth percentage
associated with each class. The cumulative bandwidth associated
with the 4 classes must not exceed 100%. This feature is enabled
on the command line, and will be documented in the DLB2 programmers
guide.

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