Home
last modified time | relevance | path

Searched defs:tx_ring (Results 1 – 25 of 199) sorted by relevance

12345678

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfd3/
Drings.c11 static void nfp_nfd3_xsk_tx_bufs_free(struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_xsk_tx_bufs_free()
42 nfp_nfd3_tx_ring_reset(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_reset()
101 static void nfp_nfd3_tx_ring_free(struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_free()
127 nfp_nfd3_tx_ring_alloc(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_alloc()
161 struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_bufs_free()
179 struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_bufs_alloc()
201 struct nfp_net_tx_ring *tx_ring, in nfp_nfd3_print_tx_descs()
Ddp.c31 static int nfp_nfd3_tx_ring_should_wake(struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_should_wake()
36 static int nfp_nfd3_tx_ring_should_stop(struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_should_stop()
52 struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_stop()
259 struct nfp_net_tx_ring *tx_ring; in nfp_nfd3_tx() local
421 void nfp_nfd3_tx_complete(struct nfp_net_tx_ring *tx_ring, int budget) in nfp_nfd3_tx_complete()
506 static bool nfp_nfd3_xdp_complete(struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_xdp_complete()
837 struct nfp_net_tx_ring *tx_ring, in nfp_nfd3_tx_xdp_buf()
910 struct nfp_net_tx_ring *tx_ring; in nfp_nfd3_rx() local
1211 struct nfp_net_tx_ring *tx_ring; in nfp_nfd3_ctrl_tx_one() local
Dxsk.c17 struct nfp_net_tx_ring *tx_ring, in nfp_nfd3_xsk_tx_xdp()
120 struct nfp_net_tx_ring *tx_ring; in nfp_nfd3_xsk_rx() local
275 static bool nfp_nfd3_xsk_complete(struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_xsk_complete()
333 static void nfp_nfd3_xsk_tx(struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_xsk_tx()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfdk/
Drings.c11 nfp_nfdk_tx_ring_reset(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_reset()
74 static void nfp_nfdk_tx_ring_free(struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_free()
93 nfp_nfdk_tx_ring_alloc(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_alloc()
126 struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_bufs_free()
132 struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_bufs_alloc()
140 struct nfp_net_tx_ring *tx_ring, in nfp_nfdk_print_tx_descs()
Ddp.c18 static int nfp_nfdk_tx_ring_should_wake(struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_should_wake()
23 static int nfp_nfdk_tx_ring_should_stop(struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_should_stop()
29 struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_stop()
119 nfp_nfdk_tx_maybe_close_block(struct nfp_net_tx_ring *tx_ring, in nfp_nfdk_tx_maybe_close_block()
258 struct nfp_net_tx_ring *tx_ring; in nfp_nfdk_tx() local
471 static void nfp_nfdk_tx_complete(struct nfp_net_tx_ring *tx_ring, int budget) in nfp_nfdk_tx_complete()
835 static bool nfp_nfdk_xdp_complete(struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_xdp_complete()
900 struct nfp_net_tx_ring *tx_ring, in nfp_nfdk_tx_xdp_buf()
1031 struct nfp_net_tx_ring *tx_ring; in nfp_nfdk_rx() local
1321 struct nfp_net_tx_ring *tx_ring; in nfp_nfdk_ctrl_tx_one() local
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net_dp.h51 static inline int nfp_net_tx_full(struct nfp_net_tx_ring *tx_ring, int dcnt) in nfp_net_tx_full()
56 static inline void nfp_net_tx_xmit_more_flush(struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_xmit_more_flush()
64 nfp_net_read_tx_cmpl(struct nfp_net_tx_ring *tx_ring, struct nfp_net_dp *dp) in nfp_net_read_tx_cmpl()
167 nfp_net_tx_ring_reset(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_reset()
180 nfp_net_tx_ring_alloc(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_alloc()
186 nfp_net_tx_ring_free(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_free()
193 struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_bufs_alloc()
200 struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_bufs_free()
208 struct nfp_net_tx_ring *tx_ring, in nfp_net_debugfs_print_tx_descs()
/linux-6.12.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-tx.c21 mcp251xfd_tx_obj *mcp251xfd_get_tx_obj_next(struct mcp251xfd_tx_ring *tx_ring) in mcp251xfd_get_tx_obj_next()
135 struct mcp251xfd_tx_ring *tx_ring, in mcp251xfd_tx_failure_drop()
159 struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_tx_obj_write_sync() local
174 struct mcp251xfd_tx_ring *tx_ring) in mcp251xfd_tx_busy()
207 struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_start_xmit() local
Dmcp251xfd-tef.c114 const struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_get_tef_len() local
160 const struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_tef_obj_read() local
230 struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_handle_tefif() local
/linux-6.12.1/drivers/net/ethernet/qualcomm/
Dqca_spi.h44 struct tx_ring { struct
45 struct sk_buff *skb[QCASPI_TX_RING_MAX_LEN];
46 u16 head;
47 u16 tail;
48 u16 size;
49 u16 count;
/linux-6.12.1/drivers/net/ethernet/amazon/ena/
Dena_xdp.c8 static int validate_xdp_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_xdp_req_id()
19 static int ena_xdp_tx_map_frame(struct ena_ring *tx_ring, in ena_xdp_tx_map_frame()
75 int ena_xdp_xmit_frame(struct ena_ring *tx_ring, in ena_xdp_xmit_frame()
125 struct ena_ring *tx_ring; in ena_xdp_xmit() local
367 static int ena_clean_xdp_irq(struct ena_ring *tx_ring, u32 budget) in ena_clean_xdp_irq()
431 struct ena_ring *tx_ring; in ena_xdp_io_poll() local
Dena_netdev.c53 struct ena_ring *tx_ring; in ena_tx_timeout() local
259 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_setup_tx_resources() local
326 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_free_tx_resources() local
685 void ena_unmap_tx_buff(struct ena_ring *tx_ring, in ena_unmap_tx_buff()
718 static void ena_free_tx_bufs(struct ena_ring *tx_ring) in ena_free_tx_bufs()
758 struct ena_ring *tx_ring; in ena_free_all_tx_bufs() local
819 static int validate_tx_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_tx_req_id()
830 static int ena_clean_tx_irq(struct ena_ring *tx_ring, u32 budget) in ena_clean_tx_irq()
1391 void ena_unmask_interrupt(struct ena_ring *tx_ring, in ena_unmask_interrupt()
1424 void ena_update_ring_numa_node(struct ena_ring *tx_ring, in ena_update_ring_numa_node()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_txrx.c39 struct ice_tx_ring *tx_ring; in ice_prgm_fdir_fltr() local
151 void ice_clean_tx_ring(struct ice_tx_ring *tx_ring) in ice_clean_tx_ring()
193 void ice_free_tx_ring(struct ice_tx_ring *tx_ring) in ice_free_tx_ring()
217 static bool ice_clean_tx_irq(struct ice_tx_ring *tx_ring, int napi_budget) in ice_clean_tx_irq()
341 int ice_setup_tx_ring(struct ice_tx_ring *tx_ring) in ice_setup_tx_ring()
1300 struct ice_tx_ring *tx_ring; in __ice_update_sample() local
1475 struct ice_tx_ring *tx_ring; in ice_napi_poll() local
1560 static int __ice_maybe_stop_tx(struct ice_tx_ring *tx_ring, unsigned int size) in __ice_maybe_stop_tx()
1583 static int ice_maybe_stop_tx(struct ice_tx_ring *tx_ring, unsigned int size) in ice_maybe_stop_tx()
1602 ice_tx_map(struct ice_tx_ring *tx_ring, struct ice_tx_buf *first, in ice_tx_map()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c59 static void iavf_clean_tx_ring(struct iavf_ring *tx_ring) in iavf_clean_tx_ring()
94 void iavf_free_tx_resources(struct iavf_ring *tx_ring) in iavf_free_tx_resources()
159 struct iavf_ring *tx_ring = NULL; in iavf_detect_recover_hung() local
214 struct iavf_ring *tx_ring, int napi_budget) in iavf_clean_tx_irq()
650 int iavf_setup_tx_descriptors(struct iavf_ring *tx_ring) in iavf_setup_tx_descriptors()
1463 struct iavf_ring *tx_ring, u32 *flags) in iavf_tx_prepare_vlan_flags()
1613 struct iavf_ring *tx_ring, in iavf_tx_enable_csum()
1775 static void iavf_create_tx_ctx(struct iavf_ring *tx_ring, in iavf_create_tx_ctx()
1890 int __iavf_maybe_stop_tx(struct iavf_ring *tx_ring, int size) in __iavf_maybe_stop_tx()
1916 static void iavf_tx_map(struct iavf_ring *tx_ring, struct sk_buff *skb, in iavf_tx_map()
[all …]
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/
Denetc.c46 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() local
[all …]
/linux-6.12.1/drivers/net/ethernet/agere/
Det131x.c359 struct tx_ring { struct
361 struct tcb *tcb_ring;
364 struct tcb *tcb_qhead;
365 struct tcb *tcb_qtail;
368 struct tcb *send_head;
369 struct tcb *send_tail;
370 int used;
373 struct tx_desc *tx_desc_ring;
374 dma_addr_t tx_desc_ring_pa;
377 u32 send_idx;
[all …]
/linux-6.12.1/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c271 u16 vlan_id, struct qlcnic_host_tx_ring *tx_ring) in qlcnic_82xx_change_filter()
304 struct qlcnic_host_tx_ring *tx_ring) in qlcnic_send_filter()
373 struct qlcnic_host_tx_ring *tx_ring) in qlcnic_tx_encap_pkt()
459 struct qlcnic_host_tx_ring *tx_ring) in qlcnic_tx_pkt()
651 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_xmit_frame() local
886 struct qlcnic_host_tx_ring *tx_ring, in qlcnic_process_cmd_ring()
964 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_poll() local
991 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_tx_poll() local
1579 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_82xx_napi_add() local
1621 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_82xx_napi_del() local
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/igbvf/
Dnetdev.c417 struct igbvf_ring *tx_ring) in igbvf_setup_tx_resources()
496 static void igbvf_clean_tx_ring(struct igbvf_ring *tx_ring) in igbvf_clean_tx_ring()
531 void igbvf_free_tx_resources(struct igbvf_ring *tx_ring) in igbvf_free_tx_resources()
772 static bool igbvf_clean_tx_irq(struct igbvf_ring *tx_ring) in igbvf_clean_tx_irq()
874 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_intr_msix_tx() local
978 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_configure_msix() local
1291 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_configure_tx() local
1919 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_watchdog_task() local
1978 static void igbvf_tx_ctxtdesc(struct igbvf_ring *tx_ring, u32 vlan_macip_lens, in igbvf_tx_ctxtdesc()
2003 static int igbvf_tso(struct igbvf_ring *tx_ring, in igbvf_tso()
[all …]
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dipoib_tx.c136 struct hfi1_ipoib_circ_buf *tx_ring = &txq->tx_ring; in hfi1_ipoib_drain_tx_ring() local
158 struct hfi1_ipoib_circ_buf *tx_ring = &txq->tx_ring; in hfi1_ipoib_poll_tx_ring() local
355 struct hfi1_ipoib_circ_buf *tx_ring = &txq->tx_ring; in hfi1_ipoib_send_dma_common() local
461 struct hfi1_ipoib_circ_buf *tx_ring; in hfi1_ipoib_send_dma_single() local
512 struct hfi1_ipoib_circ_buf *tx_ring; in hfi1_ipoib_send_dma_list() local
687 struct hfi1_ipoib_circ_buf *tx_ring; in hfi1_ipoib_txreq_init() local
800 struct hfi1_ipoib_circ_buf *tx_ring = &txq->tx_ring; in hfi1_ipoib_txreq_deinit() local
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c22 static void i40e_fdir(struct i40e_ring *tx_ring, in i40e_fdir()
87 struct i40e_ring *tx_ring; in i40e_program_fdir_filter() local
782 void i40e_clean_tx_ring(struct i40e_ring *tx_ring) in i40e_clean_tx_ring()
822 void i40e_free_tx_resources(struct i40e_ring *tx_ring) in i40e_free_tx_resources()
873 struct i40e_ring *tx_ring = NULL; in i40e_detect_recover_hung() local
927 struct i40e_ring *tx_ring, int napi_budget, in i40e_clean_tx_irq()
1415 int i40e_setup_tx_descriptors(struct i40e_ring *tx_ring) in i40e_setup_tx_descriptors()
2860 static void i40e_atr(struct i40e_ring *tx_ring, struct sk_buff *skb, in i40e_atr()
3004 struct i40e_ring *tx_ring, in i40e_tx_prepare_vlan_flags()
3200 static int i40e_tsyn(struct i40e_ring *tx_ring, struct sk_buff *skb, in i40e_tsyn()
[all …]
Di40e_txrx_common.h46 static inline void i40e_update_tx_stats(struct i40e_ring *tx_ring, in i40e_update_tx_stats()
66 static inline void i40e_arm_wb(struct i40e_ring *tx_ring, in i40e_arm_wb()
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c742 static int fm10k_tso(struct fm10k_ring *tx_ring, in fm10k_tso()
789 static void fm10k_tx_csum(struct fm10k_ring *tx_ring, in fm10k_tx_csum()
891 static bool fm10k_tx_desc_push(struct fm10k_ring *tx_ring, in fm10k_tx_desc_push()
908 static int __fm10k_maybe_stop_tx(struct fm10k_ring *tx_ring, u16 size) in __fm10k_maybe_stop_tx()
925 static inline int fm10k_maybe_stop_tx(struct fm10k_ring *tx_ring, u16 size) in fm10k_maybe_stop_tx()
932 static void fm10k_tx_map(struct fm10k_ring *tx_ring, in fm10k_tx_map()
1052 struct fm10k_ring *tx_ring) in fm10k_xmit_frame_ring()
1129 bool fm10k_check_tx_hang(struct fm10k_ring *tx_ring) in fm10k_check_tx_hang()
1179 struct fm10k_ring *tx_ring, int napi_budget) in fm10k_clean_tx_irq()
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dpci.c88 struct rtw89_pci_tx_ring *tx_ring) in rtw89_pci_txbd_recalc()
137 struct rtw89_pci_tx_ring *tx_ring = &rtwpci->tx_rings[RTW89_TXCH_CH12]; in rtw89_pci_reclaim_tx_fwcmd() local
455 struct rtw89_pci_tx_ring *tx_ring, in rtw89_pci_tx_status()
494 static void rtw89_pci_reclaim_txbd(struct rtw89_dev *rtwdev, struct rtw89_pci_tx_ring *tx_ring) in rtw89_pci_reclaim_txbd()
516 struct rtw89_pci_tx_ring *tx_ring) in rtw89_pci_release_busy_txwd()
532 struct rtw89_pci_tx_ring *tx_ring, in rtw89_pci_release_txwd_skb()
569 struct rtw89_pci_tx_ring *tx_ring; in rtw89_pci_release_rpp() local
593 struct rtw89_pci_tx_ring *tx_ring) in rtw89_pci_release_pending_txwd_skb()
1098 struct rtw89_pci_tx_ring *tx_ring = &rtwpci->tx_rings[RTW89_TXCH_CH12]; in __rtw89_pci_check_and_reclaim_tx_fwcmd_resource() local
1114 struct rtw89_pci_tx_ring *tx_ring = &rtwpci->tx_rings[txch]; in __rtw89_pci_check_and_reclaim_tx_resource_noio() local
[all …]
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/
Dwx_lib.c704 struct wx_ring *tx_ring, int napi_budget) in wx_clean_tx_irq()
875 static int wx_maybe_stop_tx(struct wx_ring *tx_ring, u16 size) in wx_maybe_stop_tx()
935 static void wx_tx_map(struct wx_ring *tx_ring, in wx_tx_map()
1067 static void wx_tx_ctxtdesc(struct wx_ring *tx_ring, u32 vlan_macip_lens, in wx_tx_ctxtdesc()
1207 static int wx_tso(struct wx_ring *tx_ring, struct wx_tx_buffer *first, in wx_tso()
1328 static void wx_tx_csum(struct wx_ring *tx_ring, struct wx_tx_buffer *first, in wx_tx_csum()
1452 struct wx_ring *tx_ring) in wx_xmit_frame_ring()
1519 struct wx_ring *tx_ring; in wx_xmit_frame() local
2307 static void wx_clean_tx_ring(struct wx_ring *tx_ring) in wx_clean_tx_ring()
2384 static void wx_free_tx_resources(struct wx_ring *tx_ring) in wx_free_tx_resources()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/igc/
Digc_xdp.c48 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_enable_pool() local
107 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_disable_pool() local
/linux-6.12.1/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c642 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_clean_tx_ring() local
742 struct atl1e_tx_ring *tx_ring = NULL; in atl1e_init_ring_ptrs() local
798 struct atl1e_tx_ring *tx_ring; in atl1e_setup_ring_resources() local
890 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_configure_des_ring() local
1232 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_clean_tx_irq() local
1561 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_tpd_avail() local
1580 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_get_tpd() local
1594 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_get_tx_buffer() local
1852 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_tx_queue() local

12345678