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

Function bnxt_db_cq

dpdk/drivers/net/bnxt/bnxt_ring.h:127–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127static inline void bnxt_db_cq(struct bnxt_cp_ring_info *cpr)
128{
129 struct bnxt_db_info *db = &cpr->cp_db;
130 uint32_t idx = DB_RING_IDX(&cpr->cp_db, cpr->cp_raw_cons);
131
132 if (db->db_64) {
133 uint64_t key_idx = db->db_key64 | idx;
134 void *doorbell = db->doorbell;
135
136 rte_compiler_barrier();
137 rte_write64_relaxed(key_idx, doorbell);
138 } else {
139 uint32_t cp_raw_cons = cpr->cp_raw_cons;
140
141 rte_compiler_barrier();
142 B_CP_DIS_DB(cpr, cp_raw_cons);
143 }
144}
145#endif

Callers 12

recv_burst_vec_avx2Function · 0.85
bnxt_handle_tx_cp_vecFunction · 0.85
recv_burst_vec_sseFunction · 0.85
bnxt_handle_tx_cp_vecFunction · 0.85
bnxt_handle_tx_cpFunction · 0.85
bnxt_flush_tx_cmpFunction · 0.85
bnxt_recv_pktsFunction · 0.85
bnxt_flush_rx_cmpFunction · 0.85
bnxt_alloc_cmpl_ringFunction · 0.85
bnxt_alloc_async_cp_ringFunction · 0.85
recv_burst_vec_neonFunction · 0.85
bnxt_handle_tx_cp_vecFunction · 0.85

Calls 1

rte_write64_relaxedFunction · 0.50

Tested by

no test coverage detected