]> git.droids-corp.org - dpdk.git/commit
event/dlb2: fix advertized capabilities
authorTimothy McDaniel <timothy.mcdaniel@intel.com>
Mon, 13 Jun 2022 18:19:14 +0000 (13:19 -0500)
committerJerin Jacob <jerinj@marvell.com>
Tue, 14 Jun 2022 09:21:52 +0000 (11:21 +0200)
commitd39e23f26e1ef27fa3402da321f98b307d8c9419
treec9131ff95e3242ee573f78d3b4096d0ed18af4be
parent7ecf3083d3655392e8200511b38c5a3fffc6332a
event/dlb2: fix advertized capabilities

This commit corrects the advertized capabilities reported by the DLB2 PMD.

Previously DLB2 reported supporting RTE_EVENT_DEV_CAP_QUEUE_QOS, but the
DLB2 hardware does not support such capability. This commit removes that
feature from the reported capabilities feature set.

Additionally, two capabilities that DLB2 does support were not being
reported in the capabilities feature set. This commit adds those.

RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT = Event device is capable of
setting up the link between multiple queues and a single port. If the
flag is not set, the eventdev can only map a single queue to each
port or map a single queue to many port

RTE_EVENT_DEV_CAP_RUNTIME_PORT_LINK = Event device is capable of
configuring the queue/port link at runtime. If the flag is not set,
the eventdev queue/port link is only can be configured during
initialization

Finally, the file doc/guides/eventdevs/features/dlb2.ini has been updated
to match the capabilities actually reported by the PMD.

Fixes: e7c9971a857a ("event/dlb2: add probe-time hardware init")
Cc: stable@dpdk.org
Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>
doc/guides/eventdevs/features/dlb2.ini
drivers/event/dlb2/dlb2.c