Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/e1000/igb_txrx.c
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | |||||
static void igb_rx_checksum(u32 staterr, if_rxd_info_t ri, u32 ptype); | static void igb_rx_checksum(u32 staterr, if_rxd_info_t ri, u32 ptype); | ||||
static int igb_determine_rsstype(u16 pkt_info); | static int igb_determine_rsstype(u16 pkt_info); | ||||
extern void igb_if_enable_intr(if_ctx_t ctx); | extern void igb_if_enable_intr(if_ctx_t ctx); | ||||
extern int em_intr(void *arg); | extern int em_intr(void *arg); | ||||
struct if_txrx igb_txrx = { | struct if_txrx igb_txrx = { | ||||
igb_isc_txd_encap, | .ift_txd_encap = igb_isc_txd_encap, | ||||
igb_isc_txd_flush, | .ift_txd_flush = igb_isc_txd_flush, | ||||
igb_isc_txd_credits_update, | .ift_txd_credits_update = igb_isc_txd_credits_update, | ||||
igb_isc_rxd_available, | .ift_rxd_available = igb_isc_rxd_available, | ||||
igb_isc_rxd_pkt_get, | .ift_rxd_pkt_get = igb_isc_rxd_pkt_get, | ||||
igb_isc_rxd_refill, | .ift_rxd_refill = igb_isc_rxd_refill, | ||||
igb_isc_rxd_flush, | .ift_rxd_flush = igb_isc_rxd_flush, | ||||
em_intr | .ift_legacy_intr = em_intr | ||||
}; | }; | ||||
extern if_shared_ctx_t em_sctx; | extern if_shared_ctx_t em_sctx; | ||||
/********************************************************************** | /********************************************************************** | ||||
* | * | ||||
* Setup work for hardware segmentation offload (TSO) on | * Setup work for hardware segmentation offload (TSO) on | ||||
* adapters using advanced tx descriptors | * adapters using advanced tx descriptors | ||||
▲ Show 20 Lines • Show All 504 Lines • Show Last 20 Lines |