Lines Matching refs:enetc_bdr

45 static struct enetc_bdr *enetc_rx_ring_from_xdp_tx_ring(struct enetc_ndev_priv *priv,  in enetc_rx_ring_from_xdp_tx_ring()
46 struct enetc_bdr *tx_ring) in enetc_rx_ring_from_xdp_tx_ring()
70 static void enetc_unmap_tx_buff(struct enetc_bdr *tx_ring, in enetc_unmap_tx_buff()
87 static void enetc_free_tx_frame(struct enetc_bdr *tx_ring, in enetc_free_tx_frame()
106 static void enetc_update_tx_ring_tail(struct enetc_bdr *tx_ring) in enetc_update_tx_ring_tail()
145 static int enetc_map_tx_buffs(struct enetc_bdr *tx_ring, struct sk_buff *skb) in enetc_map_tx_buffs()
339 static void enetc_map_tx_tso_hdr(struct enetc_bdr *tx_ring, struct sk_buff *skb, in enetc_map_tx_tso_hdr()
392 static int enetc_map_tx_tso_data(struct enetc_bdr *tx_ring, struct sk_buff *skb, in enetc_map_tx_tso_data()
458 static void enetc_tso_complete_csum(struct enetc_bdr *tx_ring, struct tso_t *tso, in enetc_tso_complete_csum()
488 static int enetc_map_tx_tso_buffs(struct enetc_bdr *tx_ring, struct sk_buff *skb) in enetc_map_tx_tso_buffs()
592 struct enetc_bdr *tx_ring; in enetc_start_xmit()
724 static int enetc_bd_ready_count(struct enetc_bdr *tx_ring, int ci) in enetc_bd_ready_count()
736 static void enetc_reuse_page(struct enetc_bdr *rx_ring, in enetc_reuse_page()
775 static void enetc_recycle_xdp_tx_buff(struct enetc_bdr *tx_ring, in enetc_recycle_xdp_tx_buff()
786 struct enetc_bdr *rx_ring; in enetc_recycle_xdp_tx_buff()
814 static bool enetc_clean_tx_ring(struct enetc_bdr *tx_ring, int napi_budget) in enetc_clean_tx_ring()
912 static bool enetc_new_page(struct enetc_bdr *rx_ring, in enetc_new_page()
940 static int enetc_refill_rx_ring(struct enetc_bdr *rx_ring, const int buff_cnt) in enetc_refill_rx_ring()
1006 static void enetc_get_offloads(struct enetc_bdr *rx_ring, in enetc_get_offloads()
1054 static struct enetc_rx_swbd *enetc_get_rx_buff(struct enetc_bdr *rx_ring, in enetc_get_rx_buff()
1066 static void enetc_put_rx_buff(struct enetc_bdr *rx_ring, in enetc_put_rx_buff()
1081 static void enetc_flip_rx_buff(struct enetc_bdr *rx_ring, in enetc_flip_rx_buff()
1096 static struct sk_buff *enetc_map_rx_buff_to_skb(struct enetc_bdr *rx_ring, in enetc_map_rx_buff_to_skb()
1118 static void enetc_add_rx_buff_to_skb(struct enetc_bdr *rx_ring, int i, in enetc_add_rx_buff_to_skb()
1129 static bool enetc_check_bd_errors_and_consume(struct enetc_bdr *rx_ring, in enetc_check_bd_errors_and_consume()
1153 static struct sk_buff *enetc_build_skb(struct enetc_bdr *rx_ring, in enetc_build_skb()
1196 static int enetc_clean_rx_ring(struct enetc_bdr *rx_ring, in enetc_clean_rx_ring()
1252 static void enetc_xdp_map_tx_buff(struct enetc_bdr *tx_ring, int i, in enetc_xdp_map_tx_buff()
1271 static bool enetc_xdp_tx(struct enetc_bdr *tx_ring, in enetc_xdp_tx()
1307 static int enetc_xdp_frame_to_xdp_tx_swbd(struct enetc_bdr *tx_ring, in enetc_xdp_frame_to_xdp_tx_swbd()
1379 struct enetc_bdr *tx_ring; in enetc_xdp_xmit()
1419 static void enetc_map_rx_buff_to_xdp(struct enetc_bdr *rx_ring, int i, in enetc_map_rx_buff_to_xdp()
1432 static void enetc_add_rx_buff_to_xdp(struct enetc_bdr *rx_ring, int i, in enetc_add_rx_buff_to_xdp()
1460 static void enetc_build_xdp_buff(struct enetc_bdr *rx_ring, u32 bd_status, in enetc_build_xdp_buff()
1492 struct enetc_bdr *rx_ring, in enetc_rx_swbd_to_xdp_tx_swbd()
1519 static void enetc_xdp_drop(struct enetc_bdr *rx_ring, int rx_ring_first, in enetc_xdp_drop()
1530 static int enetc_clean_rx_ring_xdp(struct enetc_bdr *rx_ring, in enetc_clean_rx_ring_xdp()
1538 struct enetc_bdr *tx_ring; in enetc_clean_rx_ring_xdp()
1674 struct enetc_bdr *rx_ring = &v->rx_ring; in enetc_poll()
1838 struct enetc_bdr *tx_ring = priv->tx_ring[i]; in enetc_alloc_tx_resources()
1910 struct enetc_bdr *rx_ring = priv->rx_ring[i]; in enetc_alloc_rx_resources()
1940 static void enetc_assign_tx_resource(struct enetc_bdr *tx_ring, in enetc_assign_tx_resource()
1950 static void enetc_assign_rx_resource(struct enetc_bdr *rx_ring, in enetc_assign_rx_resource()
1990 static void enetc_free_tx_ring(struct enetc_bdr *tx_ring) in enetc_free_tx_ring()
2001 static void enetc_free_rx_ring(struct enetc_bdr *rx_ring) in enetc_free_rx_ring()
2111 static void enetc_setup_txbdr(struct enetc_hw *hw, struct enetc_bdr *tx_ring) in enetc_setup_txbdr()
2145 static void enetc_setup_rxbdr(struct enetc_hw *hw, struct enetc_bdr *rx_ring, in enetc_setup_rxbdr()
2209 static void enetc_enable_txbdr(struct enetc_hw *hw, struct enetc_bdr *tx_ring) in enetc_enable_txbdr()
2219 static void enetc_enable_rxbdr(struct enetc_hw *hw, struct enetc_bdr *rx_ring) in enetc_enable_rxbdr()
2241 static void enetc_disable_rxbdr(struct enetc_hw *hw, struct enetc_bdr *rx_ring) in enetc_disable_rxbdr()
2249 static void enetc_disable_txbdr(struct enetc_hw *hw, struct enetc_bdr *rx_ring) in enetc_disable_txbdr()
2269 static void enetc_wait_txbdr(struct enetc_hw *hw, struct enetc_bdr *tx_ring) in enetc_wait_txbdr()
2645 struct enetc_bdr *tx_ring; in enetc_reset_tc_mqprio()
2675 struct enetc_bdr *tx_ring; in enetc_setup_tc_mqprio()
2749 struct enetc_bdr *rx_ring = priv->rx_ring[i]; in enetc_reconfigure_xdp_cb()
2996 struct enetc_bdr *bdr; in enetc_alloc_msix()
3072 struct enetc_bdr *rx_ring = &v->rx_ring; in enetc_alloc_msix()
3093 struct enetc_bdr *rx_ring = &v->rx_ring; in enetc_free_msix()