| 734 | DEBUGNET_DEFINE(iflib); |
| 735 | |
| 736 | static int |
| 737 | iflib_num_rx_descs(if_ctx_t ctx) |
| 738 | { |
| 739 | if_softc_ctx_t scctx = &ctx->ifc_softc_ctx; |
| 740 | if_shared_ctx_t sctx = ctx->ifc_sctx; |
| 741 | uint16_t first_rxq = (sctx->isc_flags & IFLIB_HAS_RXCQ) ? 1 : 0; |
| 742 | |
| 743 | return scctx->isc_nrxd[first_rxq]; |
| 744 | } |
| 745 | |
| 746 | static int |
| 747 | iflib_num_tx_descs(if_ctx_t ctx) |
no outgoing calls
no test coverage detected