This commit fixes a typo and resultant bug that triggered a coverity warning.
Coverity issue: 4607286 Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS") Cc: timothy.mcdan...@intel.com Signed-off-by: Timothy McDaniel <timothy.mcdan...@intel.com> --- drivers/event/dlb2/dlb2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c index 78433d2fe0..a6182a1ac7 100644 --- a/drivers/event/dlb2/dlb2.c +++ b/drivers/event/dlb2/dlb2.c @@ -4540,7 +4540,7 @@ dlb2_primary_eventdev_probe(struct rte_eventdev *dev, for (id = 0; id < DLB2_COS_NUM_VALS; id++) { set_cos_bw_args.cos_id = id; - set_cos_bw_args.cos_id = dlb2->cos_bw[id]; + set_cos_bw_args.bandwidth = dlb2->cos_bw[id]; ret = dlb2_iface_set_cos_bw(&dlb2->qm_instance, &set_cos_bw_args); if (ret != 0) -- 2.25.1