[dpdk-dev] [PATCH 10/22] event/dlb2: add queue setup
Eads, Gage
gage.eads at intel.com
Wed Oct 7 21:26:33 CEST 2020
> +static int
> +dlb2_eventdev_ldb_queue_setup(struct rte_eventdev *dev,
> + struct dlb2_eventdev_queue *ev_queue,
> + const struct rte_event_queue_conf *queue_conf)
> +{
> + struct dlb2_eventdev *dlb2 = dlb2_pmd_priv(dev);
> + int32_t qm_qid;
> +
> + if (queue_conf->nb_atomic_order_sequences)
> + dlb2_program_sn_allocation(dlb2, queue_conf);
> +
> + qm_qid = dlb2_hw_create_ldb_queue(dlb2,
> + ev_queue,
> + queue_conf);
Nit: this can fit on one line
Thanks,
Gage
More information about the dev
mailing list