| 2836 | } |
| 2837 | |
| 2838 | static inline void |
| 2839 | dlb2_hw_do_enqueue(struct dlb2_port *qm_port, |
| 2840 | bool do_sfence, |
| 2841 | struct process_local_port_data *port_data) |
| 2842 | { |
| 2843 | /* Since MOVDIR64B is weakly-ordered, use an SFENCE to ensure that |
| 2844 | * application writes complete before enqueueing the QE. |
| 2845 | */ |
| 2846 | if (do_sfence) |
| 2847 | rte_wmb(); |
| 2848 | |
| 2849 | dlb2_pp_write(qm_port->qe4, port_data); |
| 2850 | } |
| 2851 | |
| 2852 | static inline void |
| 2853 | dlb2_construct_token_pop_qe(struct dlb2_port *qm_port, int idx) |
no test coverage detected