enetc_bdr
static int enetc_bd_ready_count(struct enetc_bdr *tx_ring, int ci)
static void enetc_reuse_page(struct enetc_bdr *rx_ring,
static void enetc_recycle_xdp_tx_buff(struct enetc_bdr *tx_ring,
struct enetc_bdr *rx_ring;
static void enetc_unmap_tx_buff(struct enetc_bdr *tx_ring,
static bool enetc_clean_tx_ring(struct enetc_bdr *tx_ring, int napi_budget)
static bool enetc_new_page(struct enetc_bdr *rx_ring,
static int enetc_refill_rx_ring(struct enetc_bdr *rx_ring, const int buff_cnt)
static void enetc_free_tx_frame(struct enetc_bdr *tx_ring,
static void enetc_get_offloads(struct enetc_bdr *rx_ring,
static struct enetc_rx_swbd *enetc_get_rx_buff(struct enetc_bdr *rx_ring,
static void enetc_put_rx_buff(struct enetc_bdr *rx_ring,
static void enetc_flip_rx_buff(struct enetc_bdr *rx_ring,
static struct sk_buff *enetc_map_rx_buff_to_skb(struct enetc_bdr *rx_ring,
static void enetc_add_rx_buff_to_skb(struct enetc_bdr *rx_ring, int i,
static bool enetc_check_bd_errors_and_consume(struct enetc_bdr *rx_ring,
static void enetc_update_tx_ring_tail(struct enetc_bdr *tx_ring)
static struct sk_buff *enetc_build_skb(struct enetc_bdr *rx_ring,
static int enetc_clean_rx_ring(struct enetc_bdr *rx_ring,
static void enetc_xdp_map_tx_buff(struct enetc_bdr *tx_ring, int i,
static bool enetc_xdp_tx(struct enetc_bdr *tx_ring,
static int enetc_xdp_frame_to_xdp_tx_swbd(struct enetc_bdr *tx_ring,
struct enetc_bdr *tx_ring;
static void enetc_map_rx_buff_to_xdp(struct enetc_bdr *rx_ring, int i,
static void enetc_add_rx_buff_to_xdp(struct enetc_bdr *rx_ring, int i,
static void enetc_build_xdp_buff(struct enetc_bdr *rx_ring, u32 bd_status,
struct enetc_bdr *rx_ring,
static void enetc_xdp_drop(struct enetc_bdr *rx_ring, int rx_ring_first,
static void enetc_bulk_flip_buff(struct enetc_bdr *rx_ring, int rx_ring_first,
static int enetc_clean_rx_ring_xdp(struct enetc_bdr *rx_ring,
struct enetc_bdr *tx_ring;
struct enetc_bdr *rx_ring = &v->rx_ring;
static void enetc_unwind_tx_frame(struct enetc_bdr *tx_ring, int count, int i)
struct enetc_bdr *tx_ring = priv->tx_ring[i];
struct enetc_bdr *rx_ring = priv->rx_ring[i];
static void enetc_assign_tx_resource(struct enetc_bdr *tx_ring,
static void enetc_assign_rx_resource(struct enetc_bdr *rx_ring,
static void enetc_free_tx_ring(struct enetc_bdr *tx_ring)
static void enetc_free_rx_ring(struct enetc_bdr *rx_ring)
static void enetc_setup_txbdr(struct enetc_hw *hw, struct enetc_bdr *tx_ring)
static void enetc_setup_rxbdr(struct enetc_hw *hw, struct enetc_bdr *rx_ring,
static void enetc_enable_txbdr(struct enetc_hw *hw, struct enetc_bdr *tx_ring)
static void enetc_enable_rxbdr(struct enetc_hw *hw, struct enetc_bdr *rx_ring)
static void enetc_disable_rxbdr(struct enetc_hw *hw, struct enetc_bdr *rx_ring)
static void enetc_disable_txbdr(struct enetc_hw *hw, struct enetc_bdr *rx_ring)
static void enetc_wait_txbdr(struct enetc_hw *hw, struct enetc_bdr *tx_ring)
struct enetc_bdr *tx_ring;
struct enetc_bdr *tx_ring;
static int enetc_map_tx_buffs(struct enetc_bdr *tx_ring, struct sk_buff *skb)
struct enetc_bdr *rx_ring = priv->rx_ring[i];
struct enetc_bdr *bdr;
struct enetc_bdr *rx_ring = &v->rx_ring;
static int enetc_map_tx_tso_hdr(struct enetc_bdr *tx_ring, struct sk_buff *skb,
static int enetc_map_tx_tso_data(struct enetc_bdr *tx_ring, struct sk_buff *skb,
static void enetc_tso_complete_csum(struct enetc_bdr *tx_ring, struct tso_t *tso,
static void enetc_lso_map_hdr(struct enetc_bdr *tx_ring, struct sk_buff *skb,
static int enetc_lso_map_data(struct enetc_bdr *tx_ring, struct sk_buff *skb,
static int enetc_lso_hw_offload(struct enetc_bdr *tx_ring, struct sk_buff *skb)
static int enetc_map_tx_tso_buffs(struct enetc_bdr *tx_ring, struct sk_buff *skb)
static struct enetc_bdr *enetc_rx_ring_from_xdp_tx_ring(struct enetc_ndev_priv *priv,
struct enetc_bdr *tx_ring)
struct enetc_bdr *tx_ring;
static inline void enetc_bdr_idx_inc(struct enetc_bdr *bdr, int *i)
static inline int enetc_bd_unused(struct enetc_bdr *bdr)
static inline int enetc_swbd_unused(struct enetc_bdr *bdr)
static inline union enetc_rx_bd *enetc_rxbd(struct enetc_bdr *rx_ring, int i)
static inline void enetc_rxbd_next(struct enetc_bdr *rx_ring,
struct enetc_bdr rx_ring;
struct enetc_bdr tx_ring[] __counted_by(count_tx_rings);
struct enetc_bdr **xdp_tx_ring;
struct enetc_bdr *tx_ring[16];
struct enetc_bdr *rx_ring[16];