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

Function bnxt_enable_int

dpdk/drivers/net/bnxt/bnxt_irq.c:129–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void bnxt_enable_int(struct bnxt *bp)
130{
131 struct bnxt_cp_ring_info *cpr = bp->async_cp_ring;
132
133 if (BNXT_NUM_ASYNC_CPR(bp) == 0)
134 return;
135
136 if (!cpr || !cpr->cp_db.doorbell)
137 return;
138
139 /* Only the default completion ring */
140 if (BNXT_HAS_NQ(bp))
141 bnxt_db_nq_arm(cpr);
142 else
143 B_CP_DB_ARM(cpr);
144}
145
146int bnxt_setup_int(struct bnxt *bp)
147{

Callers 2

bnxt_dev_configure_opFunction · 0.85
bnxt_dev_start_opFunction · 0.85

Calls 1

bnxt_db_nq_armFunction · 0.85

Tested by

no test coverage detected