MCPcopy Create free account
hub / github.com/F-Stack/f-stack / dlb2_hw_do_enqueue

Function dlb2_hw_do_enqueue

dpdk/drivers/event/dlb2/dlb2.c:2838–2850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2836}
2837
2838static inline void
2839dlb2_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
2852static inline void
2853dlb2_construct_token_pop_qe(struct dlb2_port *qm_port, int idx)

Callers 2

dlb2_event_releaseFunction · 0.85

Calls 1

dlb2_pp_writeFunction · 0.85

Tested by

no test coverage detected