Home
last modified time | relevance | path

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

1234567

/drivers/net/ethernet/qualcomm/
Dqca_spi.h56 struct tx_ring { struct
57 struct sk_buff *skb[TX_RING_MAX_LEN];
58 u16 head;
59 u16 tail;
60 u16 size;
61 u16 count;
/drivers/net/ethernet/intel/ice/
Dice_txrx.c35 struct ice_ring *tx_ring; in ice_prgm_fdir_fltr() local
145 void ice_clean_tx_ring(struct ice_ring *tx_ring) in ice_clean_tx_ring()
184 void ice_free_tx_ring(struct ice_ring *tx_ring) in ice_free_tx_ring()
204 static bool ice_clean_tx_irq(struct ice_ring *tx_ring, int napi_budget) in ice_clean_tx_irq()
332 int ice_setup_tx_ring(struct ice_ring *tx_ring) in ice_setup_tx_ring()
1465 static int __ice_maybe_stop_tx(struct ice_ring *tx_ring, unsigned int size) in __ice_maybe_stop_tx()
1488 static int ice_maybe_stop_tx(struct ice_ring *tx_ring, unsigned int size) in ice_maybe_stop_tx()
1507 ice_tx_map(struct ice_ring *tx_ring, struct ice_tx_buf *first, in ice_tx_map()
1843 ice_tx_prepare_vlan_flags(struct ice_ring *tx_ring, struct ice_tx_buf *first) in ice_tx_prepare_vlan_flags()
2149 ice_tstamp(struct ice_ring *tx_ring, struct sk_buff *skb, in ice_tstamp()
[all …]
/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 …]
/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c57 void iavf_clean_tx_ring(struct iavf_ring *tx_ring) in iavf_clean_tx_ring()
92 void iavf_free_tx_resources(struct iavf_ring *tx_ring) in iavf_free_tx_resources()
139 struct iavf_ring *tx_ring = NULL; in iavf_detect_recover_hung() local
194 struct iavf_ring *tx_ring, int napi_budget) in iavf_clean_tx_irq()
617 int iavf_setup_tx_descriptors(struct iavf_ring *tx_ring) in iavf_setup_tx_descriptors()
1787 struct iavf_ring *tx_ring, in iavf_tx_prepare_vlan_flags()
1954 struct iavf_ring *tx_ring, in iavf_tx_enable_csum()
2116 static void iavf_create_tx_ctx(struct iavf_ring *tx_ring, in iavf_create_tx_ctx()
2231 int __iavf_maybe_stop_tx(struct iavf_ring *tx_ring, int size) in __iavf_maybe_stop_tx()
2257 static inline void iavf_tx_map(struct iavf_ring *tx_ring, struct sk_buff *skb, in iavf_tx_map()
[all …]
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c270 u16 vlan_id, struct qlcnic_host_tx_ring *tx_ring) in qlcnic_82xx_change_filter()
303 struct qlcnic_host_tx_ring *tx_ring) in qlcnic_send_filter()
372 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
1623 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_82xx_napi_del() local
[all …]
/drivers/net/ethernet/freescale/enetc/
Denetc.c25 struct enetc_bdr *tx_ring) in enetc_rx_ring_from_xdp_tx_ring()
49 static void enetc_unmap_tx_buff(struct enetc_bdr *tx_ring, in enetc_unmap_tx_buff()
66 static void enetc_free_tx_frame(struct enetc_bdr *tx_ring, in enetc_free_tx_frame()
85 static void enetc_update_tx_ring_tail(struct enetc_bdr *tx_ring) in enetc_update_tx_ring_tail()
124 static int enetc_map_tx_buffs(struct enetc_bdr *tx_ring, struct sk_buff *skb) in enetc_map_tx_buffs()
321 struct enetc_bdr *tx_ring; in enetc_start_xmit() local
436 static int enetc_bd_ready_count(struct enetc_bdr *tx_ring, int ci) in enetc_bd_ready_count()
487 static void enetc_recycle_xdp_tx_buff(struct enetc_bdr *tx_ring, in enetc_recycle_xdp_tx_buff()
526 static bool enetc_clean_tx_ring(struct enetc_bdr *tx_ring, int napi_budget) in enetc_clean_tx_ring()
963 static void enetc_xdp_map_tx_buff(struct enetc_bdr *tx_ring, int i, in enetc_xdp_map_tx_buff()
[all …]
/drivers/net/ethernet/intel/igbvf/
Dnetdev.c418 struct igbvf_ring *tx_ring) in igbvf_setup_tx_resources()
497 static void igbvf_clean_tx_ring(struct igbvf_ring *tx_ring) in igbvf_clean_tx_ring()
532 void igbvf_free_tx_resources(struct igbvf_ring *tx_ring) in igbvf_free_tx_resources()
773 static bool igbvf_clean_tx_irq(struct igbvf_ring *tx_ring) in igbvf_clean_tx_irq()
875 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_intr_msix_tx() local
979 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_configure_msix() local
1292 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_configure_tx() local
1921 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_watchdog_task() local
1980 static void igbvf_tx_ctxtdesc(struct igbvf_ring *tx_ring, u32 vlan_macip_lens, in igbvf_tx_ctxtdesc()
2005 static int igbvf_tso(struct igbvf_ring *tx_ring, in igbvf_tso()
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c21 static void i40e_fdir(struct i40e_ring *tx_ring, in i40e_fdir()
91 struct i40e_ring *tx_ring; in i40e_program_fdir_filter() local
788 void i40e_clean_tx_ring(struct i40e_ring *tx_ring) in i40e_clean_tx_ring()
828 void i40e_free_tx_resources(struct i40e_ring *tx_ring) in i40e_free_tx_resources()
877 struct i40e_ring *tx_ring = NULL; in i40e_detect_recover_hung() local
930 struct i40e_ring *tx_ring, int napi_budget) in i40e_clean_tx_irq()
1419 int i40e_setup_tx_descriptors(struct i40e_ring *tx_ring) in i40e_setup_tx_descriptors()
2780 static void i40e_atr(struct i40e_ring *tx_ring, struct sk_buff *skb, in i40e_atr()
2926 struct i40e_ring *tx_ring, in i40e_tx_prepare_vlan_flags()
3114 static int i40e_tsyn(struct i40e_ring *tx_ring, struct sk_buff *skb, in i40e_tsyn()
[all …]
Di40e_txrx_common.h43 static inline void i40e_update_tx_stats(struct i40e_ring *tx_ring, in i40e_update_tx_stats()
63 static inline void i40e_arm_wb(struct i40e_ring *tx_ring, in i40e_arm_wb()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c743 static int fm10k_tso(struct fm10k_ring *tx_ring, in fm10k_tso()
790 static void fm10k_tx_csum(struct fm10k_ring *tx_ring, in fm10k_tx_csum()
892 static bool fm10k_tx_desc_push(struct fm10k_ring *tx_ring, in fm10k_tx_desc_push()
909 static int __fm10k_maybe_stop_tx(struct fm10k_ring *tx_ring, u16 size) in __fm10k_maybe_stop_tx()
926 static inline int fm10k_maybe_stop_tx(struct fm10k_ring *tx_ring, u16 size) in fm10k_maybe_stop_tx()
933 static void fm10k_tx_map(struct fm10k_ring *tx_ring, in fm10k_tx_map()
1053 struct fm10k_ring *tx_ring) in fm10k_xmit_frame_ring()
1130 bool fm10k_check_tx_hang(struct fm10k_ring *tx_ring) in fm10k_check_tx_hang()
1180 struct fm10k_ring *tx_ring, int napi_budget) in fm10k_clean_tx_irq()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c579 nfp_net_tx_ring_init(struct nfp_net_tx_ring *tx_ring, in nfp_net_tx_ring_init()
685 static int nfp_net_tx_full(struct nfp_net_tx_ring *tx_ring, int dcnt) in nfp_net_tx_full()
691 static int nfp_net_tx_ring_should_wake(struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_should_wake()
696 static int nfp_net_tx_ring_should_stop(struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_should_stop()
711 struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_stop()
926 static void nfp_net_tx_xmit_more_flush(struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_xmit_more_flush()
988 struct nfp_net_tx_ring *tx_ring; in nfp_net_tx() local
1145 static void nfp_net_tx_complete(struct nfp_net_tx_ring *tx_ring, int budget) in nfp_net_tx_complete()
1230 static bool nfp_net_xdp_complete(struct nfp_net_tx_ring *tx_ring) in nfp_net_xdp_complete()
1279 nfp_net_tx_ring_reset(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_reset()
[all …]
/drivers/net/wireless/ath/ath11k/
Ddp_tx.c90 struct dp_tx_ring *tx_ring; in ath11k_dp_tx() local
285 struct dp_tx_ring *tx_ring) in ath11k_dp_tx_free_txbuf()
315 struct dp_tx_ring *tx_ring, in ath11k_dp_tx_htt_tx_complete_buf()
364 u32 msdu_id, struct dp_tx_ring *tx_ring) in ath11k_dp_tx_process_htt_tx_complete()
536 struct dp_tx_ring *tx_ring = &dp->tx_ring[ring_id]; in ath11k_dp_tx_completion_handler() local
/drivers/net/ethernet/broadcom/
Dbcm4908_enet.c74 struct bcm4908_enet_dma_ring tx_ring; member
187 struct bcm4908_enet_dma_ring *tx_ring = &enet->tx_ring; in bcm4908_enet_dma_free() local
205 struct bcm4908_enet_dma_ring *tx_ring = &enet->tx_ring; in bcm4908_enet_dma_alloc() local
441 struct bcm4908_enet_dma_ring *tx_ring = &enet->tx_ring; in bcm4908_enet_open() local
491 struct bcm4908_enet_dma_ring *tx_ring = &enet->tx_ring; in bcm4908_enet_stop() local
631 struct bcm4908_enet_dma_ring *tx_ring = container_of(napi, struct bcm4908_enet_dma_ring, napi); in bcm4908_enet_poll_tx() local
/drivers/net/ethernet/amazon/ena/
Dena_netdev.c89 static void ena_ring_tx_doorbell(struct ena_ring *tx_ring) in ena_ring_tx_doorbell()
744 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_setup_tx_resources() local
811 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_free_tx_resources() local
1172 static void ena_unmap_tx_buff(struct ena_ring *tx_ring, in ena_unmap_tx_buff()
1205 static void ena_free_tx_bufs(struct ena_ring *tx_ring) in ena_free_tx_bufs()
1237 struct ena_ring *tx_ring; in ena_free_all_tx_bufs() local
1299 static int validate_tx_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_tx_req_id()
1321 static int ena_clean_tx_irq(struct ena_ring *tx_ring, u32 budget) in ena_clean_tx_irq()
1844 static void ena_unmask_interrupt(struct ena_ring *tx_ring, in ena_unmask_interrupt()
1877 static void ena_update_ring_numa_node(struct ena_ring *tx_ring, in ena_update_ring_numa_node()
[all …]
/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
/drivers/net/ethernet/intel/igc/
Digc_xdp.c42 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_enable_pool() local
101 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_disable_pool() local
/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c329 struct mcp251xfd_tx_ring *tx_ring; in mcp251xfd_ring_init() local
440 struct mcp251xfd_tx_ring *tx_ring; in mcp251xfd_ring_alloc() local
887 const struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_chip_fifo_init() local
1240 const struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_handle_tefif_recover() local
1304 const struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_tef_ring_update() local
1331 const struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_tef_obj_read() local
1395 struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_handle_tefif() local
2000 struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_handle_eccif_recover() local
2315 mcp251xfd_tx_obj *mcp251xfd_get_tx_obj_next(struct mcp251xfd_tx_ring *tx_ring) in mcp251xfd_get_tx_obj_next()
2435 struct mcp251xfd_tx_ring *tx_ring) in mcp251xfd_tx_busy()
[all …]
/drivers/net/ethernet/intel/e1000e/
Dnetdev.c198 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000e_dump() local
621 static void e1000e_update_tdt_wa(struct e1000_ring *tx_ring, unsigned int i) in e1000e_update_tdt_wa()
1060 static void e1000_put_txbuf(struct e1000_ring *tx_ring, in e1000_put_txbuf()
1091 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000_print_hw_hang() local
1213 static bool e1000_clean_tx_irq(struct e1000_ring *tx_ring) in e1000_clean_tx_irq()
1928 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000_intr_msix_tx() local
1979 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000_configure_msix() local
2336 int e1000e_setup_tx_resources(struct e1000_ring *tx_ring) in e1000e_setup_tx_resources()
2421 static void e1000_clean_tx_ring(struct e1000_ring *tx_ring) in e1000_clean_tx_ring()
2449 void e1000e_free_tx_resources(struct e1000_ring *tx_ring) in e1000e_free_tx_resources()
[all …]
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c429 struct nx_host_tx_ring *tx_ring = adapter->tx_ring; in nx_fw_cmd_create_tx_ctx() local
686 struct nx_host_tx_ring *tx_ring; in netxen_init_old_ctx() local
742 struct nx_host_tx_ring *tx_ring; in netxen_alloc_hw_resources() local
855 struct nx_host_tx_ring *tx_ring; in netxen_free_hw_resources() local
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c440 static void ixgbe_clean_xdp_tx_buffer(struct ixgbe_ring *tx_ring, in ixgbe_clean_xdp_tx_buffer()
451 struct ixgbe_ring *tx_ring, int napi_budget) in ixgbe_clean_xdp_tx_irq()
539 void ixgbe_xsk_clean_tx_ring(struct ixgbe_ring *tx_ring) in ixgbe_xsk_clean_tx_ring()
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c210 static inline bool ixgbevf_check_tx_hang(struct ixgbevf_ring *tx_ring) in ixgbevf_check_tx_hang()
265 struct ixgbevf_ring *tx_ring, int napi_budget) in ixgbevf_clean_tx_irq()
2385 static void ixgbevf_clean_tx_ring(struct ixgbevf_ring *tx_ring) in ixgbevf_clean_tx_ring()
3350 void ixgbevf_free_tx_resources(struct ixgbevf_ring *tx_ring) in ixgbevf_free_tx_resources()
3391 int ixgbevf_setup_tx_resources(struct ixgbevf_ring *tx_ring) in ixgbevf_setup_tx_resources()
3726 static void ixgbevf_tx_ctxtdesc(struct ixgbevf_ring *tx_ring, in ixgbevf_tx_ctxtdesc()
3747 static int ixgbevf_tso(struct ixgbevf_ring *tx_ring, in ixgbevf_tso()
3844 static void ixgbevf_tx_csum(struct ixgbevf_ring *tx_ring, in ixgbevf_tx_csum()
3940 static void ixgbevf_tx_map(struct ixgbevf_ring *tx_ring, in ixgbevf_tx_map()
4077 static int __ixgbevf_maybe_stop_tx(struct ixgbevf_ring *tx_ring, int size) in __ixgbevf_maybe_stop_tx()
[all …]
/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c97 struct prestera_tx_ring tx_ring; member
497 struct prestera_tx_ring *tx_ring; in prestera_sdma_tx_recycle_work_fn() local
528 struct prestera_tx_ring *tx_ring = &sdma->tx_ring; in prestera_sdma_tx_init() local
696 struct prestera_tx_ring *tx_ring) in prestera_sdma_tx_wait()
721 struct prestera_tx_ring *tx_ring; in prestera_sdma_xmit() local
/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c919 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in ixgb_clean_tx_ring() local
1289 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in ixgb_tx_map() local
1388 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in ixgb_tx_queue() local
1438 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in __ixgb_maybe_stop_tx() local
1458 struct ixgb_desc_ring *tx_ring, int size) in ixgb_maybe_stop_tx()
1781 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in ixgb_clean_tx_irq() local
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c907 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_clean_tx_ring()
1068 struct pch_gbe_tx_ring *tx_ring, in pch_gbe_tx_queue()
1425 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_alloc_tx_buffers()
1457 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_clean_tx()
1706 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_setup_tx_resources()
1788 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_free_tx_resources()
1856 struct pch_gbe_tx_ring *tx_ring = adapter->tx_ring; in pch_gbe_up() local
2048 struct pch_gbe_tx_ring *tx_ring = adapter->tx_ring; in pch_gbe_xmit_frame() local
/drivers/net/wireless/realtek/rtw88/
Dpci.c91 static inline void *rtw_pci_get_tx_desc(struct rtw_pci_tx_ring *tx_ring, u8 idx) in rtw_pci_get_tx_desc()
99 struct rtw_pci_tx_ring *tx_ring) in rtw_pci_free_tx_ring_skbs()
118 struct rtw_pci_tx_ring *tx_ring) in rtw_pci_free_tx_ring()
168 struct rtw_pci_tx_ring *tx_ring; in rtw_pci_free_trx_ring() local
184 struct rtw_pci_tx_ring *tx_ring, in rtw_pci_init_tx_ring()
323 struct rtw_pci_tx_ring *tx_ring; in rtw_pci_init_trx_ring() local
544 struct rtw_pci_tx_ring *tx_ring; in rtw_pci_dma_release() local
610 struct rtw_pci_tx_ring *tx_ring; in rtw_pci_deep_ps_enter() local

1234567