Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/e1000/em_txrx.c
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | |||||
static int lem_isc_rxd_pkt_get(void *arg, if_rxd_info_t ri); | static int lem_isc_rxd_pkt_get(void *arg, if_rxd_info_t ri); | ||||
static void lem_receive_checksum(int status, int errors, if_rxd_info_t ri); | static void lem_receive_checksum(int status, int errors, if_rxd_info_t ri); | ||||
static void em_receive_checksum(uint32_t status, if_rxd_info_t ri); | static void em_receive_checksum(uint32_t status, if_rxd_info_t ri); | ||||
static int em_determine_rsstype(u32 pkt_info); | static int em_determine_rsstype(u32 pkt_info); | ||||
extern int em_intr(void *arg); | extern int em_intr(void *arg); | ||||
struct if_txrx em_txrx = { | struct if_txrx em_txrx = { | ||||
em_isc_txd_encap, | .ift_txd_encap = em_isc_txd_encap, | ||||
em_isc_txd_flush, | .ift_txd_flush = em_isc_txd_flush, | ||||
em_isc_txd_credits_update, | .ift_txd_credits_update = em_isc_txd_credits_update, | ||||
em_isc_rxd_available, | .ift_rxd_available = em_isc_rxd_available, | ||||
em_isc_rxd_pkt_get, | .ift_rxd_pkt_get = em_isc_rxd_pkt_get, | ||||
em_isc_rxd_refill, | .ift_rxd_refill = em_isc_rxd_refill, | ||||
em_isc_rxd_flush, | .ift_rxd_flush = em_isc_rxd_flush, | ||||
em_intr | .ift_legacy_intr = em_intr | ||||
}; | }; | ||||
struct if_txrx lem_txrx = { | struct if_txrx lem_txrx = { | ||||
em_isc_txd_encap, | .ift_txd_encap = em_isc_txd_encap, | ||||
em_isc_txd_flush, | .ift_txd_flush = em_isc_txd_flush, | ||||
em_isc_txd_credits_update, | .ift_txd_credits_update = em_isc_txd_credits_update, | ||||
lem_isc_rxd_available, | .ift_rxd_available = lem_isc_rxd_available, | ||||
lem_isc_rxd_pkt_get, | .ift_rxd_pkt_get = lem_isc_rxd_pkt_get, | ||||
lem_isc_rxd_refill, | .ift_rxd_refill = lem_isc_rxd_refill, | ||||
em_isc_rxd_flush, | .ift_rxd_flush = em_isc_rxd_flush, | ||||
em_intr | .ift_legacy_intr = em_intr | ||||
}; | }; | ||||
extern if_shared_ctx_t em_sctx; | extern if_shared_ctx_t em_sctx; | ||||
void | void | ||||
em_dump_rs(struct adapter *adapter) | em_dump_rs(struct adapter *adapter) | ||||
{ | { | ||||
if_softc_ctx_t scctx = adapter->shared; | if_softc_ctx_t scctx = adapter->shared; | ||||
▲ Show 20 Lines • Show All 719 Lines • Show Last 20 Lines |