FreeBSD kernel IXGBE device code
ix_txrx.c File Reference
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_rss.h"
#include "ixgbe.h"
Include dependency graph for ix_txrx.c:

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
 

Function Documentation

◆ ixgbe_determine_rsstype()

◆ ixgbe_if_enable_intr()

◆ ixgbe_isc_rxd_available()

static int ixgbe_isc_rxd_available ( void *  arg,
uint16_t  qsidx,
qidx_t  pidx,
qidx_t  budget 
)
static

◆ ixgbe_isc_rxd_flush() [1/2]

static void ixgbe_isc_rxd_flush ( void *  ,
uint16_t  ,
uint8_t  ,
qidx_t   
)
static

◆ ixgbe_isc_rxd_flush() [2/2]

static void ixgbe_isc_rxd_flush ( void *  arg,
uint16_t  qsidx,
uint8_t flidx  __unused,
qidx_t  pidx 
)
static

◆ ixgbe_isc_rxd_pkt_get()

◆ ixgbe_isc_rxd_refill()

static void ixgbe_isc_rxd_refill ( void *  arg,
if_rxd_update_t  iru 
)
static

◆ ixgbe_isc_txd_credits_update()

static int ixgbe_isc_txd_credits_update ( void *  arg,
uint16_t  txqid,
bool  clear 
)
static

◆ ixgbe_isc_txd_encap()

◆ ixgbe_isc_txd_flush()

static void ixgbe_isc_txd_flush ( void *  arg,
uint16_t  txqid,
qidx_t  pidx 
)
static

◆ ixgbe_rx_checksum()

static void ixgbe_rx_checksum ( uint32_t  staterr,
if_rxd_info_t  ri,
uint32_t  ptype 
)
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().

Here is the caller graph for this function:

◆ ixgbe_tx_ctx_setup()

Variable Documentation

◆ ixgbe_txrx

struct if_txrx ixgbe_txrx
Initial value:
= {
.ift_txd_encap = ixgbe_isc_txd_encap,
.ift_txd_flush = ixgbe_isc_txd_flush,
.ift_txd_credits_update = ixgbe_isc_txd_credits_update,
.ift_rxd_available = ixgbe_isc_rxd_available,
.ift_rxd_pkt_get = ixgbe_isc_rxd_pkt_get,
.ift_rxd_refill = ixgbe_isc_rxd_refill,
.ift_rxd_flush = ixgbe_isc_rxd_flush,
.ift_legacy_intr = NULL
}
static void ixgbe_isc_txd_flush(void *, uint16_t, qidx_t)
Definition: ix_txrx.c:251
static int ixgbe_isc_txd_encap(void *, if_pkt_info_t)
Definition: ix_txrx.c:170
static void ixgbe_isc_rxd_flush(void *, uint16_t, uint8_t, qidx_t)
static void ixgbe_isc_rxd_refill(void *, if_rxd_update_t)
Definition: ix_txrx.c:321
static int ixgbe_isc_rxd_pkt_get(void *, if_rxd_info_t)
Definition: ix_txrx.c:393
static int ixgbe_isc_rxd_available(void *, uint16_t, qidx_t, qidx_t)
Definition: ix_txrx.c:359
static int ixgbe_isc_txd_credits_update(void *, uint16_t, bool)
Definition: ix_txrx.c:264

Definition at line 62 of file ix_txrx.c.

Referenced by ixgbe_if_attach_pre(), and ixv_if_attach_pre().