Home
last modified time | relevance | path

Searched defs:tx_ring (Results 1 – 25 of 157) 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()
160 struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_bufs_free()
178 struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_bufs_alloc()
200 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()
125 struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_bufs_free()
131 struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_bufs_alloc()
139 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/ethernet/intel/ice/
H A Dice_txrx.c40 struct ice_tx_ring *tx_ring; in ice_prgm_fdir_fltr() local
152 static void ice_clean_tstamp_ring(struct ice_tx_ring *tx_ring) in ice_clean_tstamp_ring()
170 void ice_free_tstamp_ring(struct ice_tx_ring *tx_ring) in ice_free_tstamp_ring()
190 void ice_free_tx_tstamp_ring(struct ice_tx_ring *tx_ring) in ice_free_tx_tstamp_ring()
202 void ice_clean_tx_ring(struct ice_tx_ring *tx_ring) in ice_clean_tx_ring()
247 void ice_free_tx_ring(struct ice_tx_ring *tx_ring) in ice_free_tx_ring()
271 static bool ice_clean_tx_irq(struct ice_tx_ring *tx_ring, int napi_budget) in ice_clean_tx_irq()
395 static int ice_alloc_tstamp_ring(struct ice_tx_ring *tx_ring) in ice_alloc_tstamp_ring()
418 static int ice_setup_tstamp_ring(struct ice_tx_ring *tx_ring) in ice_setup_tstamp_ring()
445 int ice_alloc_setup_tstamp_ring(struct ice_tx_ring *tx_ring) in ice_alloc_setup_tstamp_ring()
[all …]
H A Dice_base.c182 struct ice_tx_ring *tx_ring; in ice_free_q_vector() local
406 struct ice_tx_ring *tx_ring = ring->tx_ring; in ice_setup_txtime_ctx() local
444 u16 ice_calc_ts_ring_count(struct ice_tx_ring *tx_ring) in ice_calc_ts_ring_count()
952 struct ice_tx_ring *tx_ring = vsi->tx_rings[q_id]; in ice_vsi_map_rings_to_vectors() local
1003 ice_cfg_tstamp(struct ice_tx_ring *tx_ring) in ice_cfg_tstamp()
1440 struct ice_tx_ring *tx_ring; in ice_qp_dis() local
/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.c54 struct ena_ring *tx_ring; in ena_tx_timeout() local
236 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_setup_tx_resources() local
303 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_free_tx_resources() local
662 void ena_unmap_tx_buff(struct ena_ring *tx_ring, in ena_unmap_tx_buff()
695 static void ena_free_tx_bufs(struct ena_ring *tx_ring) in ena_free_tx_bufs()
735 struct ena_ring *tx_ring; in ena_free_all_tx_bufs() local
796 static int validate_tx_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_tx_req_id()
807 static int ena_clean_tx_irq(struct ena_ring *tx_ring, u32 budget) in ena_clean_tx_irq()
1368 void ena_unmask_interrupt(struct ena_ring *tx_ring, in ena_unmask_interrupt()
1401 void ena_update_ring_numa_node(struct ena_ring *tx_ring, in ena_update_ring_numa_node()
[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/freescale/enetc/
H A Denetc.c95 struct enetc_bdr *tx_ring) in enetc_rx_ring_from_xdp_tx_ring()
119 static void enetc_unmap_tx_buff(struct enetc_bdr *tx_ring, in enetc_unmap_tx_buff()
136 static void enetc_free_tx_frame(struct enetc_bdr *tx_ring, in enetc_free_tx_frame()
155 static void enetc_update_tx_ring_tail(struct enetc_bdr *tx_ring) in enetc_update_tx_ring_tail()
221 static void enetc_unwind_tx_frame(struct enetc_bdr *tx_ring, int count, int i) in enetc_unwind_tx_frame()
322 static int enetc_map_tx_buffs(struct enetc_bdr *tx_ring, struct sk_buff *skb) in enetc_map_tx_buffs()
500 static int enetc_map_tx_tso_hdr(struct enetc_bdr *tx_ring, struct sk_buff *skb, in enetc_map_tx_tso_hdr()
557 static int enetc_map_tx_tso_data(struct enetc_bdr *tx_ring, struct sk_buff *skb, in enetc_map_tx_tso_data()
623 static void enetc_tso_complete_csum(struct enetc_bdr *tx_ring, struct tso_t *tso, in enetc_tso_complete_csum()
685 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/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()
1697 struct iavf_ring *tx_ring, u32 *flags) in iavf_tx_prepare_vlan_flags()
1847 struct iavf_ring *tx_ring, in iavf_tx_enable_csum()
2009 static void iavf_create_tx_ctx(struct iavf_ring *tx_ring, in iavf_create_tx_ctx()
2124 int __iavf_maybe_stop_tx(struct iavf_ring *tx_ring, int size) in __iavf_maybe_stop_tx()
2150 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/net/ethernet/intel/igbvf/
H A 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()
872 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_intr_msix_tx() local
974 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_configure_msix() local
1286 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_configure_tx() local
1908 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_watchdog_task() local
1967 static void igbvf_tx_ctxtdesc(struct igbvf_ring *tx_ring, u32 vlan_macip_lens, in igbvf_tx_ctxtdesc()
1992 static int igbvf_tso(struct igbvf_ring *tx_ring, in igbvf_tso()
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c23 static void i40e_fdir(struct i40e_ring *tx_ring, in i40e_fdir()
88 struct i40e_ring *tx_ring; in i40e_program_fdir_filter() local
783 void i40e_clean_tx_ring(struct i40e_ring *tx_ring) in i40e_clean_tx_ring()
823 void i40e_free_tx_resources(struct i40e_ring *tx_ring) in i40e_free_tx_resources()
874 struct i40e_ring *tx_ring = NULL; in i40e_detect_recover_hung() local
928 struct i40e_ring *tx_ring, int napi_budget, in i40e_clean_tx_irq()
1413 int i40e_setup_tx_descriptors(struct i40e_ring *tx_ring) in i40e_setup_tx_descriptors()
2858 static void i40e_atr(struct i40e_ring *tx_ring, struct sk_buff *skb, in i40e_atr()
3002 struct i40e_ring *tx_ring, in i40e_tx_prepare_vlan_flags()
3198 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/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/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.c752 struct wx_ring *tx_ring, int napi_budget) in wx_clean_tx_irq()
974 static int wx_maybe_stop_tx(struct wx_ring *tx_ring, u16 size) in wx_maybe_stop_tx()
1034 static int wx_tx_map(struct wx_ring *tx_ring, in wx_tx_map()
1174 static void wx_tx_ctxtdesc(struct wx_ring *tx_ring, u32 vlan_macip_lens, in wx_tx_ctxtdesc()
1308 static int wx_tso(struct wx_ring *tx_ring, struct wx_tx_buffer *first, in wx_tso()
1437 static void wx_tx_csum(struct wx_ring *tx_ring, struct wx_tx_buffer *first, in wx_tx_csum()
1574 struct wx_ring *tx_ring) in wx_xmit_frame_ring()
1663 struct wx_ring *tx_ring; in wx_xmit_frame() local
2669 static void wx_clean_tx_ring(struct wx_ring *tx_ring) in wx_clean_tx_ring()
2740 static void wx_free_headwb_resources(struct wx_ring *tx_ring) in wx_free_headwb_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
120 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/broadcom/
H A Dbcm4908_enet.c85 struct bcm4908_enet_dma_ring tx_ring; member
198 struct bcm4908_enet_dma_ring *tx_ring = &enet->tx_ring; in bcm4908_enet_dma_free() local
216 struct bcm4908_enet_dma_ring *tx_ring = &enet->tx_ring; in bcm4908_enet_dma_alloc() local
451 struct bcm4908_enet_dma_ring *tx_ring = &enet->tx_ring; in bcm4908_enet_open() local
501 struct bcm4908_enet_dma_ring *tx_ring = &enet->tx_ring; in bcm4908_enet_stop() local
653 struct bcm4908_enet_dma_ring *tx_ring = container_of(napi, struct bcm4908_enet_dma_ring, napi); in bcm4908_enet_poll_tx() 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/ethernet/intel/e1000e/
H A Dnetdev.c201 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000e_dump() local
624 static void e1000e_update_tdt_wa(struct e1000_ring *tx_ring, unsigned int i) in e1000e_update_tdt_wa()
1063 static void e1000_put_txbuf(struct e1000_ring *tx_ring, in e1000_put_txbuf()
1094 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000_print_hw_hang() local
1216 static bool e1000_clean_tx_irq(struct e1000_ring *tx_ring) in e1000_clean_tx_irq()
1919 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000_intr_msix_tx() local
1970 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000_configure_msix() local
2325 int e1000e_setup_tx_resources(struct e1000_ring *tx_ring) in e1000e_setup_tx_resources()
2409 static void e1000_clean_tx_ring(struct e1000_ring *tx_ring) in e1000_clean_tx_ring()
2437 void e1000e_free_tx_resources(struct e1000_ring *tx_ring) in e1000e_free_tx_resources()
[all …]

1234567