Home
last modified time | relevance | path

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

1234567

/linux/drivers/net/ethernet/netronome/nfp/nfd3/
H A 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()
/linux/drivers/net/ethernet/netronome/nfp/nfdk/
H A 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()
/linux/drivers/net/ethernet/netronome/nfp/
H A 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/drivers/net/can/spi/mcp251xfd/
H A 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
H A Dmcp251xfd-tef.c119 const struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_get_tef_len() local
187 const struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_tef_obj_read() local
257 struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_handle_tefif() local
/linux/drivers/net/ethernet/qualcomm/
H A 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/drivers/net/ethernet/amazon/ena/
H A 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
H A Dena_netdev.c50 struct ena_ring *tx_ring; in ena_tx_timeout() local
232 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_setup_tx_resources() local
299 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_free_tx_resources() local
658 void ena_unmap_tx_buff(struct ena_ring *tx_ring, in ena_unmap_tx_buff()
691 static void ena_free_tx_bufs(struct ena_ring *tx_ring) in ena_free_tx_bufs()
731 struct ena_ring *tx_ring; in ena_free_all_tx_bufs() local
792 static int validate_tx_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_tx_req_id()
803 static int ena_clean_tx_irq(struct ena_ring *tx_ring, u32 budget) in ena_clean_tx_irq()
1364 void ena_unmask_interrupt(struct ena_ring *tx_ring, in ena_unmask_interrupt()
1397 void ena_update_ring_numa_node(struct ena_ring *tx_ring, in ena_update_ring_numa_node()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A 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()
1356 struct ice_tx_ring *tx_ring; in __ice_update_sample() local
1531 struct ice_tx_ring *tx_ring; in ice_napi_poll() local
1616 static int __ice_maybe_stop_tx(struct ice_tx_ring *tx_ring, unsigned int size) in __ice_maybe_stop_tx()
1639 static int ice_maybe_stop_tx(struct ice_tx_ring *tx_ring, unsigned int size) in ice_maybe_stop_tx()
1658 ice_tx_map(struct ice_tx_ring *tx_ring, struct ice_tx_buf *first, in ice_tx_map()
[all …]
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c50 struct enetc_bdr *tx_ring) in enetc_rx_ring_from_xdp_tx_ring()
74 static void enetc_unmap_tx_buff(struct enetc_bdr *tx_ring, in enetc_unmap_tx_buff()
91 static void enetc_free_tx_frame(struct enetc_bdr *tx_ring, in enetc_free_tx_frame()
110 static void enetc_update_tx_ring_tail(struct enetc_bdr *tx_ring) in enetc_update_tx_ring_tail()
176 static void enetc_unwind_tx_frame(struct enetc_bdr *tx_ring, int count, int i) in enetc_unwind_tx_frame()
188 static int enetc_map_tx_buffs(struct enetc_bdr *tx_ring, struct sk_buff *skb) in enetc_map_tx_buffs()
425 static int enetc_map_tx_tso_hdr(struct enetc_bdr *tx_ring, struct sk_buff *skb, in enetc_map_tx_tso_hdr()
482 static int enetc_map_tx_tso_data(struct enetc_bdr *tx_ring, struct sk_buff *skb, in enetc_map_tx_tso_data()
548 static void enetc_tso_complete_csum(struct enetc_bdr *tx_ring, struct tso_t *tso, in enetc_tso_complete_csum()
610 static void enetc_lso_map_hdr(struct enetc_bdr *tx_ring, struct sk_buff *skb, in enetc_lso_map_hdr()
[all …]
/linux/drivers/net/ethernet/agere/
H A 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/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c79 static void iavf_clean_tx_ring(struct iavf_ring *tx_ring) in iavf_clean_tx_ring()
114 void iavf_free_tx_resources(struct iavf_ring *tx_ring) in iavf_free_tx_resources()
179 struct iavf_ring *tx_ring = NULL; in iavf_detect_recover_hung() local
234 struct iavf_ring *tx_ring, int napi_budget) in iavf_clean_tx_irq()
670 int iavf_setup_tx_descriptors(struct iavf_ring *tx_ring) in iavf_setup_tx_descriptors()
1694 struct iavf_ring *tx_ring, u32 *flags) in iavf_tx_prepare_vlan_flags()
1844 struct iavf_ring *tx_ring, in iavf_tx_enable_csum()
2006 static void iavf_create_tx_ctx(struct iavf_ring *tx_ring, in iavf_create_tx_ctx()
2121 int __iavf_maybe_stop_tx(struct iavf_ring *tx_ring, int size) in __iavf_maybe_stop_tx()
2147 static void iavf_tx_map(struct iavf_ring *tx_ring, struct sk_buff *skb, in iavf_tx_map()
[all …]
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A 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/drivers/infiniband/hw/hfi1/
H A 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/drivers/net/ethernet/intel/i40e/
H A 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 …]
H A 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/drivers/net/ethernet/intel/fm10k/
H A 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/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c714 struct wx_ring *tx_ring, int napi_budget) in wx_clean_tx_irq()
891 static int wx_maybe_stop_tx(struct wx_ring *tx_ring, u16 size) in wx_maybe_stop_tx()
951 static int wx_tx_map(struct wx_ring *tx_ring, in wx_tx_map()
1087 static void wx_tx_ctxtdesc(struct wx_ring *tx_ring, u32 vlan_macip_lens, in wx_tx_ctxtdesc()
1221 static int wx_tso(struct wx_ring *tx_ring, struct wx_tx_buffer *first, in wx_tso()
1350 static void wx_tx_csum(struct wx_ring *tx_ring, struct wx_tx_buffer *first, in wx_tx_csum()
1487 struct wx_ring *tx_ring) in wx_xmit_frame_ring()
1576 struct wx_ring *tx_ring; in wx_xmit_frame() local
2377 static void wx_clean_tx_ring(struct wx_ring *tx_ring) in wx_clean_tx_ring()
2454 static void wx_free_tx_resources(struct wx_ring *tx_ring) in wx_free_tx_resources()
[all …]
/linux/drivers/net/ethernet/intel/igc/
H A Digc_xdp.c61 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_enable_pool() local
121 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_disable_pool() local
/linux/drivers/net/ethernet/atheros/atl1e/
H A 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
/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_ctx.c429 struct nx_host_tx_ring *tx_ring = adapter->tx_ring; in nx_fw_cmd_create_tx_ctx() local
683 struct nx_host_tx_ring *tx_ring; in netxen_init_old_ctx() local
739 struct nx_host_tx_ring *tx_ring; in netxen_alloc_hw_resources() local
852 struct nx_host_tx_ring *tx_ring; in netxen_free_hw_resources() local
/linux/drivers/net/wireless/ath/ath11k/
H A Ddp_tx.c92 struct dp_tx_ring *tx_ring; in ath11k_dp_tx() local
288 struct dp_tx_ring *tx_ring) in ath11k_dp_tx_free_txbuf()
316 struct dp_tx_ring *tx_ring, in ath11k_dp_tx_htt_tx_complete_buf()
391 u32 msdu_id, struct dp_tx_ring *tx_ring) in ath11k_dp_tx_process_htt_tx_complete()
694 struct dp_tx_ring *tx_ring = &dp->tx_ring[ring_id]; in ath11k_dp_tx_completion_handler() local
/linux/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c200 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000e_dump() local
623 static void e1000e_update_tdt_wa(struct e1000_ring *tx_ring, unsigned int i) in e1000e_update_tdt_wa()
1062 static void e1000_put_txbuf(struct e1000_ring *tx_ring, in e1000_put_txbuf()
1093 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000_print_hw_hang() local
1215 static bool e1000_clean_tx_irq(struct e1000_ring *tx_ring) in e1000_clean_tx_irq()
1918 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000_intr_msix_tx() local
1969 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000_configure_msix() local
2326 int e1000e_setup_tx_resources(struct e1000_ring *tx_ring) in e1000e_setup_tx_resources()
2411 static void e1000_clean_tx_ring(struct e1000_ring *tx_ring) in e1000_clean_tx_ring()
2439 void e1000e_free_tx_resources(struct e1000_ring *tx_ring) in e1000e_free_tx_resources()
[all …]
/linux/drivers/net/ethernet/mscc/
H A Docelot_fdma.c69 struct ocelot_fdma_tx_ring *tx_ring = &fdma->tx_ring; in ocelot_fdma_tx_ring_free() local
80 struct ocelot_fdma_tx_ring *tx_ring = &fdma->tx_ring; in ocelot_fdma_tx_ring_empty() local
484 struct ocelot_fdma_tx_ring *tx_ring; in ocelot_fdma_tx_cleanup() local
610 struct ocelot_fdma_tx_ring *tx_ring = &fdma->tx_ring; in ocelot_fdma_send_skb() local
724 struct ocelot_fdma_tx_ring *tx_ring; in ocelot_fdma_free_tx_ring() local
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_rxtx.c94 struct prestera_tx_ring tx_ring; member
494 struct prestera_tx_ring *tx_ring; in prestera_sdma_tx_recycle_work_fn() local
525 struct prestera_tx_ring *tx_ring = &sdma->tx_ring; in prestera_sdma_tx_init() local
702 struct prestera_tx_ring *tx_ring) in prestera_sdma_tx_wait()
727 struct prestera_tx_ring *tx_ring; in prestera_sdma_xmit() local

1234567