Ring an NQ doorbell and disable interrupts for the ring. */
| 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) |
| 102 | { |
| 103 | uint32_t db_idx = DB_RING_IDX(&cpr->cp_db, cpr->cp_raw_cons); |
| 104 | uint64_t key_idx = cpr->cp_db.db_key64 | DBR_TYPE_NQ | db_idx; |
| 105 | void *doorbell = cpr->cp_db.doorbell; |
| 106 | |
| 107 | |
| 108 | if (unlikely(!cpr->cp_db.db_64)) |
| 109 | return; |
| 110 | |
| 111 | rte_write64(key_idx, doorbell); |
| 112 | } |
| 113 | |
| 114 | /* Ring an NQ doorbell and enable interrupts for the ring. */ |
| 115 | static inline void bnxt_db_nq_arm(struct bnxt_cp_ring_info *cpr) |
no test coverage detected