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

Function bnxt_disable_int

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

Source from the content-addressed store, hash-verified

107}
108
109void bnxt_disable_int(struct bnxt *bp)
110{
111 struct bnxt_cp_ring_info *cpr = bp->async_cp_ring;
112
113 if (BNXT_NUM_ASYNC_CPR(bp) == 0)
114 return;
115
116 if (is_bnxt_in_error(bp))
117 return;
118
119 if (!cpr || !cpr->cp_db.doorbell)
120 return;
121
122 /* Only the default completion ring */
123 if (BNXT_HAS_NQ(bp))
124 bnxt_db_nq(cpr);
125 else
126 B_CP_DB_DISARM(cpr);
127}
128
129void bnxt_enable_int(struct bnxt *bp)
130{

Callers 2

bnxt_dev_configure_opFunction · 0.85
bnxt_dev_stopFunction · 0.85

Calls 2

is_bnxt_in_errorFunction · 0.85
bnxt_db_nqFunction · 0.85

Tested by

no test coverage detected