> +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 <[email protected]>

Thanks,
Gage

Reply via email to