Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/bnxt/bnxt_txrx.c
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | static void bnxt_isc_rxd_flush(void *sc, uint16_t rxqid, uint8_t flid, | ||||
qidx_t pidx); | qidx_t pidx); | ||||
static int bnxt_isc_rxd_available(void *sc, uint16_t rxqid, qidx_t idx, | static int bnxt_isc_rxd_available(void *sc, uint16_t rxqid, qidx_t idx, | ||||
qidx_t budget); | qidx_t budget); | ||||
static int bnxt_isc_rxd_pkt_get(void *sc, if_rxd_info_t ri); | static int bnxt_isc_rxd_pkt_get(void *sc, if_rxd_info_t ri); | ||||
static int bnxt_intr(void *sc); | static int bnxt_intr(void *sc); | ||||
struct if_txrx bnxt_txrx = { | struct if_txrx bnxt_txrx = { | ||||
bnxt_isc_txd_encap, | .ift_txd_encap = bnxt_isc_txd_encap, | ||||
bnxt_isc_txd_flush, | .ift_txd_flush = bnxt_isc_txd_flush, | ||||
bnxt_isc_txd_credits_update, | .ift_txd_credits_update = bnxt_isc_txd_credits_update, | ||||
bnxt_isc_rxd_available, | .ift_rxd_available = bnxt_isc_rxd_available, | ||||
bnxt_isc_rxd_pkt_get, | .ift_rxd_pkt_get = bnxt_isc_rxd_pkt_get, | ||||
bnxt_isc_rxd_refill, | .ift_rxd_refill = bnxt_isc_rxd_refill, | ||||
bnxt_isc_rxd_flush, | .ift_rxd_flush = bnxt_isc_rxd_flush, | ||||
bnxt_intr | .ift_legacy_intr = bnxt_intr | ||||
}; | }; | ||||
/* | /* | ||||
* Device Dependent Packet Transmit and Receive Functions | * Device Dependent Packet Transmit and Receive Functions | ||||
*/ | */ | ||||
static const uint16_t bnxt_tx_lhint[] = { | static const uint16_t bnxt_tx_lhint[] = { | ||||
TX_BD_SHORT_FLAGS_LHINT_LT512, | TX_BD_SHORT_FLAGS_LHINT_LT512, | ||||
▲ Show 20 Lines • Show All 597 Lines • Show Last 20 Lines |