Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/e1000/igb_txrx.c
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | struct if_txrx igb_txrx = { | ||||
.ift_txd_credits_update = igb_isc_txd_credits_update, | .ift_txd_credits_update = igb_isc_txd_credits_update, | ||||
.ift_rxd_available = igb_isc_rxd_available, | .ift_rxd_available = igb_isc_rxd_available, | ||||
.ift_rxd_pkt_get = igb_isc_rxd_pkt_get, | .ift_rxd_pkt_get = igb_isc_rxd_pkt_get, | ||||
.ift_rxd_refill = igb_isc_rxd_refill, | .ift_rxd_refill = igb_isc_rxd_refill, | ||||
.ift_rxd_flush = igb_isc_rxd_flush, | .ift_rxd_flush = igb_isc_rxd_flush, | ||||
.ift_legacy_intr = em_intr | .ift_legacy_intr = em_intr | ||||
}; | }; | ||||
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 | ||||
* | * | ||||
**********************************************************************/ | **********************************************************************/ | ||||
static int | static int | ||||
igb_tso_setup(struct tx_ring *txr, if_pkt_info_t pi, u32 *cmd_type_len, u32 *olinfo_status) | igb_tso_setup(struct tx_ring *txr, if_pkt_info_t pi, u32 *cmd_type_len, u32 *olinfo_status) | ||||
▲ Show 20 Lines • Show All 496 Lines • Show Last 20 Lines |