Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/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;
/Linux-v5.4/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-v5.4/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()
136 struct iavf_ring *tx_ring = NULL; in iavf_detect_recover_hung() local
191 struct iavf_ring *tx_ring, int napi_budget) in iavf_clean_tx_irq()
614 int iavf_setup_tx_descriptors(struct iavf_ring *tx_ring) in iavf_setup_tx_descriptors()
1803 struct iavf_ring *tx_ring, in iavf_tx_prepare_vlan_flags()
1963 struct iavf_ring *tx_ring, in iavf_tx_enable_csum()
2125 static void iavf_create_tx_ctx(struct iavf_ring *tx_ring, in iavf_create_tx_ctx()
2240 int __iavf_maybe_stop_tx(struct iavf_ring *tx_ring, int size) in __iavf_maybe_stop_tx()
2266 static inline void iavf_tx_map(struct iavf_ring *tx_ring, struct sk_buff *skb, in iavf_tx_map()
[all …]
/Linux-v5.4/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()
460 struct qlcnic_host_tx_ring *tx_ring) in qlcnic_tx_pkt()
652 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_xmit_frame() local
887 struct qlcnic_host_tx_ring *tx_ring, in qlcnic_process_cmd_ring()
965 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_poll() local
992 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 …]
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_txrx.c50 void ice_clean_tx_ring(struct ice_ring *tx_ring) in ice_clean_tx_ring()
83 void ice_free_tx_ring(struct ice_ring *tx_ring) in ice_free_tx_ring()
103 static bool ice_clean_tx_irq(struct ice_ring *tx_ring, int napi_budget) in ice_clean_tx_irq()
226 int ice_setup_tx_ring(struct ice_ring *tx_ring) in ice_setup_tx_ring()
1548 static int __ice_maybe_stop_tx(struct ice_ring *tx_ring, unsigned int size) in __ice_maybe_stop_tx()
1571 static int ice_maybe_stop_tx(struct ice_ring *tx_ring, unsigned int size) in ice_maybe_stop_tx()
1590 ice_tx_map(struct ice_ring *tx_ring, struct ice_tx_buf *first, in ice_tx_map()
1844 ice_tx_prepare_vlan_flags(struct ice_ring *tx_ring, struct ice_tx_buf *first) in ice_tx_prepare_vlan_flags()
2107 ice_xmit_frame_ring(struct sk_buff *skb, struct ice_ring *tx_ring) in ice_xmit_frame_ring()
2201 struct ice_ring *tx_ring; in ice_start_xmit() local
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_txrx_common.h47 static inline void i40e_update_tx_stats(struct i40e_ring *tx_ring, in i40e_update_tx_stats()
67 static inline void i40e_arm_wb(struct i40e_ring *tx_ring, in i40e_arm_wb()
Di40e_txrx.c21 static void i40e_fdir(struct i40e_ring *tx_ring, in i40e_fdir()
94 struct i40e_ring *tx_ring; in i40e_program_fdir_filter() local
633 void i40e_clean_tx_ring(struct i40e_ring *tx_ring) in i40e_clean_tx_ring()
673 void i40e_free_tx_resources(struct i40e_ring *tx_ring) in i40e_free_tx_resources()
722 struct i40e_ring *tx_ring = NULL; in i40e_detect_recover_hung() local
775 struct i40e_ring *tx_ring, int napi_budget) in i40e_clean_tx_irq()
1296 int i40e_setup_tx_descriptors(struct i40e_ring *tx_ring) in i40e_setup_tx_descriptors()
2667 static void i40e_atr(struct i40e_ring *tx_ring, struct sk_buff *skb, in i40e_atr()
2813 struct i40e_ring *tx_ring, in i40e_tx_prepare_vlan_flags()
2995 static int i40e_tsyn(struct i40e_ring *tx_ring, struct sk_buff *skb, in i40e_tsyn()
[all …]
Di40e_xsk.c702 static void i40e_clean_xdp_tx_buffer(struct i40e_ring *tx_ring, in i40e_clean_xdp_tx_buffer()
720 struct i40e_ring *tx_ring, int napi_budget) in i40e_clean_xdp_tx_irq()
837 void i40e_xsk_clean_tx_ring(struct i40e_ring *tx_ring) in i40e_xsk_clean_tx_ring()
/Linux-v5.4/drivers/net/ethernet/intel/igbvf/
Dnetdev.c415 struct igbvf_ring *tx_ring) in igbvf_setup_tx_resources()
493 static void igbvf_clean_tx_ring(struct igbvf_ring *tx_ring) in igbvf_clean_tx_ring()
528 void igbvf_free_tx_resources(struct igbvf_ring *tx_ring) in igbvf_free_tx_resources()
769 static bool igbvf_clean_tx_irq(struct igbvf_ring *tx_ring) in igbvf_clean_tx_irq()
871 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_intr_msix_tx() local
975 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_configure_msix() local
1284 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_configure_tx() local
1913 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_watchdog_task() local
1972 static void igbvf_tx_ctxtdesc(struct igbvf_ring *tx_ring, u32 vlan_macip_lens, in igbvf_tx_ctxtdesc()
1997 static int igbvf_tso(struct igbvf_ring *tx_ring, in igbvf_tso()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c753 static int fm10k_tso(struct fm10k_ring *tx_ring, in fm10k_tso()
800 static void fm10k_tx_csum(struct fm10k_ring *tx_ring, in fm10k_tx_csum()
902 static bool fm10k_tx_desc_push(struct fm10k_ring *tx_ring, in fm10k_tx_desc_push()
919 static int __fm10k_maybe_stop_tx(struct fm10k_ring *tx_ring, u16 size) in __fm10k_maybe_stop_tx()
936 static inline int fm10k_maybe_stop_tx(struct fm10k_ring *tx_ring, u16 size) in fm10k_maybe_stop_tx()
943 static void fm10k_tx_map(struct fm10k_ring *tx_ring, in fm10k_tx_map()
1063 struct fm10k_ring *tx_ring) in fm10k_xmit_frame_ring()
1140 bool fm10k_check_tx_hang(struct fm10k_ring *tx_ring) in fm10k_check_tx_hang()
1190 struct fm10k_ring *tx_ring, int napi_budget) in fm10k_clean_tx_irq()
/Linux-v5.4/drivers/net/ethernet/amazon/ena/
Dena_netdev.c210 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_setup_tx_resources() local
276 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_free_tx_resources() local
623 static void ena_unmap_tx_skb(struct ena_ring *tx_ring, in ena_unmap_tx_skb()
656 static void ena_free_tx_bufs(struct ena_ring *tx_ring) in ena_free_tx_bufs()
688 struct ena_ring *tx_ring; in ena_free_all_tx_bufs() local
726 static int validate_tx_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_tx_req_id()
753 static int ena_clean_tx_irq(struct ena_ring *tx_ring, u32 budget) in ena_clean_tx_irq()
1187 static void ena_unmask_interrupt(struct ena_ring *tx_ring, in ena_unmask_interrupt()
1210 static void ena_update_ring_numa_node(struct ena_ring *tx_ring, in ena_update_ring_numa_node()
1239 struct ena_ring *tx_ring, *rx_ring; in ena_io_poll() local
[all …]
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c572 nfp_net_tx_ring_init(struct nfp_net_tx_ring *tx_ring, in nfp_net_tx_ring_init()
678 static int nfp_net_tx_full(struct nfp_net_tx_ring *tx_ring, int dcnt) in nfp_net_tx_full()
684 static int nfp_net_tx_ring_should_wake(struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_should_wake()
689 static int nfp_net_tx_ring_should_stop(struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_should_stop()
704 struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_stop()
918 static void nfp_net_tx_xmit_more_flush(struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_xmit_more_flush()
980 struct nfp_net_tx_ring *tx_ring; in nfp_net_tx() local
1137 static void nfp_net_tx_complete(struct nfp_net_tx_ring *tx_ring, int budget) in nfp_net_tx_complete()
1222 static bool nfp_net_xdp_complete(struct nfp_net_tx_ring *tx_ring) in nfp_net_xdp_complete()
1271 nfp_net_tx_ring_reset(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_reset()
[all …]
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc.c22 struct enetc_bdr *tx_ring; in enetc_xmit() local
85 static void enetc_unmap_tx_buff(struct enetc_bdr *tx_ring, in enetc_unmap_tx_buff()
97 static void enetc_free_tx_skb(struct enetc_bdr *tx_ring, in enetc_free_tx_skb()
109 static int enetc_map_tx_buffs(struct enetc_bdr *tx_ring, struct sk_buff *skb, in enetc_map_tx_buffs()
300 static int enetc_bd_ready_count(struct enetc_bdr *tx_ring, int ci) in enetc_bd_ready_count()
331 static bool enetc_clean_tx_ring(struct enetc_bdr *tx_ring, int napi_budget) in enetc_clean_tx_ring()
893 static void enetc_free_tx_ring(struct enetc_bdr *tx_ring) in enetc_free_tx_ring()
1103 static void enetc_setup_txbdr(struct enetc_hw *hw, struct enetc_bdr *tx_ring) in enetc_setup_txbdr()
1194 static void enetc_clear_txbdr(struct enetc_hw *hw, struct enetc_bdr *tx_ring) in enetc_clear_txbdr()
1435 struct enetc_bdr *tx_ring; in enetc_setup_tc() local
/Linux-v5.4/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c647 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_clean_tx_ring() local
745 struct atl1e_tx_ring *tx_ring = NULL; in atl1e_init_ring_ptrs() local
801 struct atl1e_tx_ring *tx_ring; in atl1e_setup_ring_resources() local
889 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_configure_des_ring() local
1231 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_clean_tx_irq() local
1554 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_tpd_avail() local
1573 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_get_tpd() local
1587 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_get_tx_buffer() local
1838 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_tx_queue() local
/Linux-v5.4/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c427 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-v5.4/drivers/net/ethernet/intel/e1000e/
Dnetdev.c201 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()
1055 static void e1000_put_txbuf(struct e1000_ring *tx_ring, in e1000_put_txbuf()
1086 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000_print_hw_hang() local
1208 static bool e1000_clean_tx_irq(struct e1000_ring *tx_ring) in e1000_clean_tx_irq()
1925 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000_intr_msix_tx() local
1975 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()
2410 static void e1000_clean_tx_ring(struct e1000_ring *tx_ring) in e1000_clean_tx_ring()
2438 void e1000e_free_tx_resources(struct e1000_ring *tx_ring) in e1000e_free_tx_resources()
[all …]
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Dpci.c86 static inline void *rtw_pci_get_tx_desc(struct rtw_pci_tx_ring *tx_ring, u8 idx) in rtw_pci_get_tx_desc()
94 struct rtw_pci_tx_ring *tx_ring) in rtw_pci_free_tx_ring_skbs()
113 struct rtw_pci_tx_ring *tx_ring) in rtw_pci_free_tx_ring()
163 struct rtw_pci_tx_ring *tx_ring; in rtw_pci_free_trx_ring() local
179 struct rtw_pci_tx_ring *tx_ring, in rtw_pci_init_tx_ring()
313 struct rtw_pci_tx_ring *tx_ring; in rtw_pci_init_trx_ring() local
505 struct rtw_pci_tx_ring *tx_ring; in rtw_pci_dma_release() local
/Linux-v5.4/drivers/net/ethernet/intel/igc/
Digc_main.c184 void igc_free_tx_resources(struct igc_ring *tx_ring) in igc_free_tx_resources()
219 static void igc_clean_tx_ring(struct igc_ring *tx_ring) in igc_clean_tx_ring()
295 int igc_setup_tx_resources(struct igc_ring *tx_ring) in igc_setup_tx_resources()
798 static void igc_tx_ctxtdesc(struct igc_ring *tx_ring, in igc_tx_ctxtdesc()
844 static void igc_tx_csum(struct igc_ring *tx_ring, struct igc_tx_buffer *first) in igc_tx_csum()
890 static int __igc_maybe_stop_tx(struct igc_ring *tx_ring, const u16 size) in __igc_maybe_stop_tx()
915 static inline int igc_maybe_stop_tx(struct igc_ring *tx_ring, const u16 size) in igc_maybe_stop_tx()
932 static void igc_tx_olinfo_status(struct igc_ring *tx_ring, in igc_tx_olinfo_status()
951 static int igc_tx_map(struct igc_ring *tx_ring, in igc_tx_map()
1097 struct igc_ring *tx_ring) in igc_xmit_frame_ring()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c213 static inline bool ixgbevf_check_tx_hang(struct ixgbevf_ring *tx_ring) in ixgbevf_check_tx_hang()
267 struct ixgbevf_ring *tx_ring, int napi_budget) in ixgbevf_clean_tx_irq()
2381 static void ixgbevf_clean_tx_ring(struct ixgbevf_ring *tx_ring) in ixgbevf_clean_tx_ring()
3347 void ixgbevf_free_tx_resources(struct ixgbevf_ring *tx_ring) in ixgbevf_free_tx_resources()
3388 int ixgbevf_setup_tx_resources(struct ixgbevf_ring *tx_ring) in ixgbevf_setup_tx_resources()
3723 static void ixgbevf_tx_ctxtdesc(struct ixgbevf_ring *tx_ring, in ixgbevf_tx_ctxtdesc()
3744 static int ixgbevf_tso(struct ixgbevf_ring *tx_ring, in ixgbevf_tso()
3850 static void ixgbevf_tx_csum(struct ixgbevf_ring *tx_ring, in ixgbevf_tx_csum()
3949 static void ixgbevf_tx_map(struct ixgbevf_ring *tx_ring, in ixgbevf_tx_map()
4086 static int __ixgbevf_maybe_stop_tx(struct ixgbevf_ring *tx_ring, int size) in __ixgbevf_maybe_stop_tx()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c923 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in ixgb_clean_tx_ring() local
1293 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in ixgb_tx_map() local
1392 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in ixgb_tx_queue() local
1442 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in __ixgb_maybe_stop_tx() local
1462 struct ixgb_desc_ring *tx_ring, int size) in ixgb_maybe_stop_tx()
1783 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in ixgb_clean_tx_irq() local
/Linux-v5.4/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c926 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_clean_tx_ring()
1093 struct pch_gbe_tx_ring *tx_ring, in pch_gbe_tx_queue()
1449 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_alloc_tx_buffers()
1481 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_clean_tx()
1730 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_setup_tx_resources()
1812 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_free_tx_resources()
1878 struct pch_gbe_tx_ring *tx_ring = adapter->tx_ring; in pch_gbe_up() local
2070 struct pch_gbe_tx_ring *tx_ring = adapter->tx_ring; in pch_gbe_xmit_frame() local
/Linux-v5.4/drivers/net/ethernet/apm/xgene-v2/
Dmain.c176 struct xge_desc_ring *tx_ring; in xge_start_xmit() local
240 struct xge_desc_ring *tx_ring; in xge_txc_poll() local
555 struct xge_desc_ring *tx_ring; in xge_free_pending_skb() local
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c630 static void ixgbe_clean_xdp_tx_buffer(struct ixgbe_ring *tx_ring, in ixgbe_clean_xdp_tx_buffer()
641 struct ixgbe_ring *tx_ring, int napi_budget) in ixgbe_clean_xdp_tx_irq()
725 void ixgbe_xsk_clean_tx_ring(struct ixgbe_ring *tx_ring) in ixgbe_xsk_clean_tx_ring()
/Linux-v5.4/drivers/net/ethernet/intel/e1000/
De1000_main.c1919 struct e1000_tx_ring *tx_ring) in e1000_free_tx_resources()
1976 struct e1000_tx_ring *tx_ring) in e1000_clean_tx_ring()
2688 struct e1000_tx_ring *tx_ring, struct sk_buff *skb, in e1000_tso()
2762 struct e1000_tx_ring *tx_ring, struct sk_buff *skb, in e1000_tx_csum()
2820 struct e1000_tx_ring *tx_ring, in e1000_tx_map()
2967 struct e1000_tx_ring *tx_ring, int tx_flags, in e1000_tx_queue()
3066 struct e1000_tx_ring *tx_ring = adapter->tx_ring; in __e1000_maybe_stop_tx() local
3088 struct e1000_tx_ring *tx_ring, int size) in e1000_maybe_stop_tx()
3101 struct e1000_tx_ring *tx_ring; in e1000_xmit_frame() local
3355 struct e1000_tx_ring *tx_ring = adapter->tx_ring; in e1000_dump() local
[all …]
/Linux-v5.4/drivers/staging/qlge/
Dqlge_main.c2107 struct tx_ring *tx_ring; in ql_process_mac_tx_intr() local
2209 struct tx_ring *tx_ring; in ql_clean_outbound_rx_ring() local
2640 struct tx_ring *tx_ring; in qlge_send() local
2764 static void ql_init_tx_ring(struct ql_adapter *qdev, struct tx_ring *tx_ring) in ql_init_tx_ring()
2783 struct tx_ring *tx_ring) in ql_free_tx_resources()
2795 struct tx_ring *tx_ring) in ql_alloc_tx_resources()
3055 struct tx_ring *tx_ring; in ql_tx_ring_clean() local
3258 static int ql_start_tx_ring(struct ql_adapter *qdev, struct tx_ring *tx_ring) in ql_start_tx_ring()
4101 struct tx_ring *tx_ring; in ql_configure_rings() local
4294 struct tx_ring *tx_ring = &qdev->tx_ring[0]; in qlge_get_stats() local

1234567