[dpdk-dev] [PATCH v4 15/22] event/dlb: add enqueue and its burst variants

Eads, Gage gage.eads at intel.com
Thu Oct 8 23:43:31 CEST 2020


> +static inline void
> +dlb_hw_do_enqueue(struct dlb_port *qm_port,
> +		  bool do_sfence,
> +		  struct process_local_port_data *port_data)
> +{
> +	DLB_LOG_DBG("dlb: Flushing QE(s) to DLB\n");
> +
> +	/* Since MOVDIR64B is weakly-ordered, use an SFENCE to ensure that
> +	 * application writes complete before enqueueing the release HCW.
> +	 */
> +	if (do_sfence)
> +		rte_wmb();
> +
> +

Nit: extra newline. With that fixed:

Reviewed-by: Gage Eads <gage.eads at intel.com>

Thanks,
Gage


More information about the dev mailing list