FreeBSD kernel IXGBE device code
|
Go to the source code of this file.
Functions | |
static int | ixgbe_isc_txd_encap (void *, if_pkt_info_t) |
static void | ixgbe_isc_txd_flush (void *, uint16_t, qidx_t) |
static int | ixgbe_isc_txd_credits_update (void *, uint16_t, bool) |
static void | ixgbe_isc_rxd_refill (void *, if_rxd_update_t) |
static void | ixgbe_isc_rxd_flush (void *, uint16_t, uint8_t, qidx_t) |
static int | ixgbe_isc_rxd_available (void *, uint16_t, qidx_t, qidx_t) |
static int | ixgbe_isc_rxd_pkt_get (void *, if_rxd_info_t) |
static void | ixgbe_rx_checksum (uint32_t, if_rxd_info_t, uint32_t) |
static int | ixgbe_tx_ctx_setup (struct ixgbe_adv_tx_context_desc *, if_pkt_info_t) |
void | ixgbe_if_enable_intr (if_ctx_t ctx) |
static int | ixgbe_determine_rsstype (uint16_t pkt_info) |
static void | ixgbe_isc_rxd_flush (void *arg, uint16_t qsidx, uint8_t flidx __unused, qidx_t pidx) |
Variables | |
struct if_txrx | ixgbe_txrx |
|
static |
Definition at line 508 of file ix_txrx.c.
References IXGBE_RXDADV_RSSTYPE_IPV4, IXGBE_RXDADV_RSSTYPE_IPV4_TCP, IXGBE_RXDADV_RSSTYPE_IPV4_UDP, IXGBE_RXDADV_RSSTYPE_IPV6, IXGBE_RXDADV_RSSTYPE_IPV6_EX, IXGBE_RXDADV_RSSTYPE_IPV6_TCP, IXGBE_RXDADV_RSSTYPE_IPV6_TCP_EX, IXGBE_RXDADV_RSSTYPE_IPV6_UDP, IXGBE_RXDADV_RSSTYPE_IPV6_UDP_EX, IXGBE_RXDADV_RSSTYPE_MASK, and ixgbe_adv_rx_desc::pkt_info.
Referenced by ixgbe_isc_rxd_pkt_get().
void ixgbe_if_enable_intr | ( | if_ctx_t | ctx | ) |
Definition at line 3746 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_hw::device_id, ixgbe_softc::feat_cap, ixgbe_softc::feat_en, ixgbe_softc::hw, IXGBE_DEV_ID_X550EM_A_SFP, IXGBE_DEV_ID_X550EM_A_SFP_N, IXGBE_DEV_ID_X550EM_X_10G_T, IXGBE_DEV_ID_X550EM_X_SFP, IXGBE_EIAC, IXGBE_EICR_GPI_SDP0_X540, IXGBE_EIMS, IXGBE_EIMS_ECC, IXGBE_EIMS_ENABLE_MASK, IXGBE_EIMS_FLOW_DIR, IXGBE_EIMS_GPI_SDP0, IXGBE_EIMS_GPI_SDP0_BY_MAC, IXGBE_EIMS_GPI_SDP1, IXGBE_EIMS_GPI_SDP2, IXGBE_EIMS_MAILBOX, IXGBE_EIMS_TS, ixgbe_enable_queue(), IXGBE_FEATURE_FAN_FAIL, IXGBE_FEATURE_FDIR, IXGBE_FEATURE_SRIOV, IXGBE_FWSM, IXGBE_FWSM_TS_ENABLED, ixgbe_mac_82599EB, ixgbe_mac_X540, ixgbe_mac_X550, ixgbe_mac_X550EM_a, ixgbe_mac_X550EM_x, ixgbe_phy_x550em_ext_t, IXGBE_READ_REG, IXGBE_WRITE_FLUSH, IXGBE_WRITE_REG, ixgbe_hw::mac, ix_rx_queue::msix, ixgbe_hw::phy, ixgbe_softc::rx_queues, ix_rx_queue::sc, ixgbe_mac_info::type, and ixgbe_phy_info::type.
Referenced by ixgbe_if_init(), and ixgbe_intr().
|
static |
Definition at line 359 of file ix_txrx.c.
References IXGBE_RXD_STAT_DD, IXGBE_RXD_STAT_EOP, rx_ring::que, rx_ring::rx_base, ixgbe_softc::rx_queues, ix_rx_queue::rxr, ix_rx_queue::sc, ixgbe_softc::shared, ixgbe_adv_rx_desc::status_error, ixgbe_adv_rx_desc::upper, and ixgbe_adv_rx_desc::wb.
|
static |
|
static |
Definition at line 346 of file ix_txrx.c.
References ixgbe_softc::hw, IXGBE_WRITE_REG, rx_ring::que, ixgbe_softc::rx_queues, ix_rx_queue::rxr, rx_ring::sc, ix_rx_queue::sc, and rx_ring::tail.
|
static |
Definition at line 393 of file ix_txrx.c.
References rx_ring::bytes, ixgbe_adv_rx_desc::data, ixgbe_softc::feat_en, ixgbe_adv_rx_desc::hi_dword, ixgbe_adv_rx_desc::hs_rss, ixgbe_determine_rsstype(), IXGBE_FEATURE_RSS, IXGBE_FEATURE_VF, ixgbe_rx_checksum(), IXGBE_RXD_STAT_DD, IXGBE_RXD_STAT_EOP, IXGBE_RXD_STAT_VP, IXGBE_RXDADV_ERR_FRAME_ERR_MASK, IXGBE_RXDADV_PKTTYPE_MASK, ixgbe_adv_rx_desc::length, ixgbe_adv_rx_desc::lo_dword, ixgbe_adv_rx_desc::lower, rx_ring::packets, ixgbe_adv_rx_desc::pkt_info, rx_ring::que, ixgbe_adv_rx_desc::rss, rx_ring::rx_base, rx_ring::rx_bytes, rx_ring::rx_discarded, rx_ring::rx_packets, ixgbe_softc::rx_queues, ix_rx_queue::rxr, ix_rx_queue::sc, ixgbe_softc::shared, ixgbe_adv_rx_desc::status_error, ixgbe_adv_rx_desc::upper, ixgbe_adv_rx_desc::vlan, rx_ring::vtag_strip, and ixgbe_adv_rx_desc::wb.
|
static |
Definition at line 321 of file ix_txrx.c.
References ixgbe_adv_rx_desc::pkt_addr, rx_ring::que, ixgbe_adv_rx_desc::read, rx_ring::rx_base, ixgbe_softc::rx_queues, ix_rx_queue::rxr, rx_ring::sc, ix_rx_queue::sc, and ixgbe_softc::shared.
|
static |
Definition at line 264 of file ix_txrx.c.
References IXGBE_TXD_STAT_DD, ix_tx_queue::sc, ixgbe_softc::shared, ixgbe_adv_tx_desc::status, tx_ring::tx_base, tx_ring::tx_cidx_processed, ixgbe_softc::tx_queues, tx_ring::tx_rs_cidx, tx_ring::tx_rs_pidx, tx_ring::tx_rsq, ix_tx_queue::txr, and ixgbe_adv_tx_desc::wb.
|
static |
Definition at line 170 of file ix_txrx.c.
References ixgbe_adv_tx_desc::buffer_addr, tx_ring::bytes, ixgbe_adv_tx_desc::cmd_type_len, CSUM_OFFLOAD, ixgbe_softc::feat_en, IXGBE_ADVTXD_CC, IXGBE_ADVTXD_DCMD_DEXT, IXGBE_ADVTXD_DCMD_IFCS, IXGBE_ADVTXD_DCMD_TSE, IXGBE_ADVTXD_DCMD_VLE, IXGBE_ADVTXD_DTYP_DATA, IXGBE_ADVTXD_PAYLEN_SHIFT, IXGBE_FEATURE_NEEDS_CTXD, ixgbe_tx_ctx_setup(), IXGBE_TXD_CMD_EOP, IXGBE_TXD_CMD_RS, ixgbe_adv_tx_desc::olinfo_status, ixgbe_adv_tx_desc::read, ix_tx_queue::sc, ixgbe_softc::shared, tx_ring::total_packets, tx_ring::tso_tx, tx_ring::tx_base, ixgbe_softc::tx_queues, tx_ring::tx_rs_pidx, tx_ring::tx_rsq, and ix_tx_queue::txr.
|
static |
Definition at line 251 of file ix_txrx.c.
References ixgbe_softc::hw, IXGBE_WRITE_REG, tx_ring::sc, ix_tx_queue::sc, tx_ring::tail, ixgbe_softc::tx_queues, and ix_tx_queue::txr.
|
static |
Definition at line 476 of file ix_txrx.c.
References IXGBE_RXD_ERR_IPE, IXGBE_RXD_ERR_TCPE, IXGBE_RXD_STAT_IPCS, IXGBE_RXD_STAT_L4CS, IXGBE_RXDADV_PKTTYPE_ETQF, and IXGBE_RXDADV_PKTTYPE_SCTP.
Referenced by ixgbe_isc_rxd_pkt_get().
|
static |
Definition at line 80 of file ix_txrx.c.
References IXGBE_ADVTXD_DCMD_DEXT, IXGBE_ADVTXD_DTYP_CTXT, IXGBE_ADVTXD_L4LEN_SHIFT, IXGBE_ADVTXD_MACLEN_SHIFT, IXGBE_ADVTXD_MSS_SHIFT, IXGBE_ADVTXD_PAYLEN_SHIFT, IXGBE_ADVTXD_TUCMD_IPV4, IXGBE_ADVTXD_TUCMD_IPV6, IXGBE_ADVTXD_TUCMD_L4T_SCTP, IXGBE_ADVTXD_TUCMD_L4T_TCP, IXGBE_ADVTXD_TUCMD_L4T_UDP, IXGBE_ADVTXD_VLAN_SHIFT, IXGBE_TXD_POPTS_IXSM, IXGBE_TXD_POPTS_TXSM, ixgbe_adv_tx_context_desc::mss_l4len_idx, ixgbe_adv_tx_context_desc::seqnum_seed, ixgbe_adv_tx_context_desc::type_tucmd_mlhl, and ixgbe_adv_tx_context_desc::vlan_macip_lens.
Referenced by ixgbe_isc_txd_encap().
struct if_txrx ixgbe_txrx |
Definition at line 62 of file ix_txrx.c.
Referenced by ixgbe_if_attach_pre(), and ixv_if_attach_pre().