| 82 | void bnxt_free_rxtx_nq_ring(struct bnxt *bp); |
| 83 | |
| 84 | static inline void bnxt_db_write(struct bnxt_db_info *db, uint32_t idx) |
| 85 | { |
| 86 | uint32_t db_idx = DB_RING_IDX(db, idx); |
| 87 | void *doorbell = db->doorbell; |
| 88 | |
| 89 | if (db->db_64) { |
| 90 | uint64_t key_idx = db->db_key64 | db_idx; |
| 91 | |
| 92 | rte_write64(key_idx, doorbell); |
| 93 | } else { |
| 94 | uint32_t key_idx = db->db_key32 | db_idx; |
| 95 | |
| 96 | rte_write32(key_idx, doorbell); |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | /* Ring an NQ doorbell and disable interrupts for the ring. */ |
| 101 | static inline void bnxt_db_nq(struct bnxt_cp_ring_info *cpr) |
no test coverage detected