Home
last modified time | relevance | path

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

123456

/Linux-v4.19/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;
83 struct tx_ring txr; argument
/Linux-v4.19/drivers/net/ethernet/intel/ice/
Dice_txrx.c49 void ice_clean_tx_ring(struct ice_ring *tx_ring) in ice_clean_tx_ring()
84 void ice_free_tx_ring(struct ice_ring *tx_ring) in ice_free_tx_ring()
105 static bool ice_clean_tx_irq(struct ice_vsi *vsi, struct ice_ring *tx_ring, in ice_clean_tx_irq()
226 int ice_setup_tx_ring(struct ice_ring *tx_ring) in ice_setup_tx_ring()
1130 static int __ice_maybe_stop_tx(struct ice_ring *tx_ring, unsigned int size) in __ice_maybe_stop_tx()
1153 static int ice_maybe_stop_tx(struct ice_ring *tx_ring, unsigned int size) in ice_maybe_stop_tx()
1171 ice_tx_map(struct ice_ring *tx_ring, struct ice_tx_buf *first, in ice_tx_map()
1424 ice_tx_prepare_vlan_flags(struct ice_ring *tx_ring, struct ice_tx_buf *first) in ice_tx_prepare_vlan_flags()
1687 ice_xmit_frame_ring(struct sk_buff *skb, struct ice_ring *tx_ring) in ice_xmit_frame_ring()
1771 struct ice_ring *tx_ring; in ice_start_xmit() local
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c58 void i40evf_clean_tx_ring(struct i40e_ring *tx_ring) in i40evf_clean_tx_ring()
93 void i40evf_free_tx_resources(struct i40e_ring *tx_ring) in i40evf_free_tx_resources()
137 struct i40e_ring *tx_ring = NULL; in i40evf_detect_recover_hung() local
192 struct i40e_ring *tx_ring, int napi_budget) in i40e_clean_tx_irq()
615 int i40evf_setup_tx_descriptors(struct i40e_ring *tx_ring) in i40evf_setup_tx_descriptors()
1786 struct i40e_ring *tx_ring, in i40evf_tx_prepare_vlan_flags()
1946 struct i40e_ring *tx_ring, in i40e_tx_enable_csum()
2108 static void i40e_create_tx_ctx(struct i40e_ring *tx_ring, in i40e_create_tx_ctx()
2223 int __i40evf_maybe_stop_tx(struct i40e_ring *tx_ring, int size) in __i40evf_maybe_stop_tx()
2249 static inline void i40evf_tx_map(struct i40e_ring *tx_ring, struct sk_buff *skb, in i40evf_tx_map()
[all …]
/Linux-v4.19/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-v4.19/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()
650 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_xmit_frame() local
885 struct qlcnic_host_tx_ring *tx_ring, in qlcnic_process_cmd_ring()
963 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_poll() local
990 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_tx_poll() local
1577 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 …]
Dqlcnic_ethtool.c536 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_get_regs() local
697 u8 rx_ring, u8 tx_ring) in qlcnic_validate_ring_count()
1305 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_update_stats() local
1327 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_fill_tx_queue_stats() local
1344 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_get_ethtool_stats() local
Dqlcnic_ctx.c414 struct qlcnic_host_tx_ring *tx_ring, in qlcnic_82xx_fw_cmd_create_tx_ctx()
525 struct qlcnic_host_tx_ring *tx_ring) in qlcnic_82xx_fw_cmd_del_tx_ctx()
564 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_alloc_hw_resources() local
719 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_free_hw_resources() local
Dqlcnic_main.c119 inline void qlcnic_update_cmd_producer(struct qlcnic_host_tx_ring *tx_ring) in qlcnic_update_cmd_producer()
1722 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_request_irq() local
1810 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_free_irq() local
2383 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_free_tx_rings() local
2399 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_alloc_tx_rings() local
2993 static inline void dump_tx_ring_desc(struct qlcnic_host_tx_ring *tx_ring) in dump_tx_ring_desc()
3013 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_dump_rings() local
3191 struct qlcnic_host_tx_ring *tx_ring = data; in qlcnic_msix_tx_intr() local
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c30 static void i40e_fdir(struct i40e_ring *tx_ring, in i40e_fdir()
103 struct i40e_ring *tx_ring; in i40e_program_fdir_filter() local
642 void i40e_clean_tx_ring(struct i40e_ring *tx_ring) in i40e_clean_tx_ring()
677 void i40e_free_tx_resources(struct i40e_ring *tx_ring) in i40e_free_tx_resources()
726 struct i40e_ring *tx_ring = NULL; in i40e_detect_recover_hung() local
781 struct i40e_ring *tx_ring, int napi_budget) in i40e_clean_tx_irq()
1314 int i40e_setup_tx_descriptors(struct i40e_ring *tx_ring) in i40e_setup_tx_descriptors()
2662 static void i40e_atr(struct i40e_ring *tx_ring, struct sk_buff *skb, in i40e_atr()
2808 struct i40e_ring *tx_ring, in i40e_tx_prepare_vlan_flags()
2990 static int i40e_tsyn(struct i40e_ring *tx_ring, struct sk_buff *skb, in i40e_tsyn()
[all …]
/Linux-v4.19/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
1281 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_configure_tx() local
1910 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_watchdog_task() local
1969 static void igbvf_tx_ctxtdesc(struct igbvf_ring *tx_ring, u32 vlan_macip_lens, in igbvf_tx_ctxtdesc()
1994 static int igbvf_tso(struct igbvf_ring *tx_ring, in igbvf_tso()
[all …]
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c532 nfp_net_tx_ring_init(struct nfp_net_tx_ring *tx_ring, in nfp_net_tx_ring_init()
638 static int nfp_net_tx_full(struct nfp_net_tx_ring *tx_ring, int dcnt) in nfp_net_tx_full()
644 static int nfp_net_tx_ring_should_wake(struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_should_wake()
649 static int nfp_net_tx_ring_should_stop(struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_should_stop()
664 struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_ring_stop()
781 static void nfp_net_tx_xmit_more_flush(struct nfp_net_tx_ring *tx_ring) in nfp_net_tx_xmit_more_flush()
821 struct nfp_net_tx_ring *tx_ring; in nfp_net_tx() local
969 static void nfp_net_tx_complete(struct nfp_net_tx_ring *tx_ring, int budget) in nfp_net_tx_complete()
1051 static bool nfp_net_xdp_complete(struct nfp_net_tx_ring *tx_ring) in nfp_net_xdp_complete()
1100 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-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c751 static int fm10k_tso(struct fm10k_ring *tx_ring, in fm10k_tso()
798 static void fm10k_tx_csum(struct fm10k_ring *tx_ring, in fm10k_tx_csum()
900 static bool fm10k_tx_desc_push(struct fm10k_ring *tx_ring, in fm10k_tx_desc_push()
917 static int __fm10k_maybe_stop_tx(struct fm10k_ring *tx_ring, u16 size) in __fm10k_maybe_stop_tx()
934 static inline int fm10k_maybe_stop_tx(struct fm10k_ring *tx_ring, u16 size) in fm10k_maybe_stop_tx()
941 static void fm10k_tx_map(struct fm10k_ring *tx_ring, in fm10k_tx_map()
1066 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()
Dfm10k_netdev.c15 int fm10k_setup_tx_resources(struct fm10k_ring *tx_ring) in fm10k_setup_tx_resources()
170 static void fm10k_clean_tx_ring(struct fm10k_ring *tx_ring) in fm10k_clean_tx_ring()
202 void fm10k_free_tx_resources(struct fm10k_ring *tx_ring) in fm10k_free_tx_resources()
709 struct fm10k_ring *tx_ring = interface->tx_ring[i]; in fm10k_tx_timeout() local
/Linux-v4.19/drivers/net/ethernet/amazon/ena/
Dena_netdev.c211 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_setup_tx_resources() local
262 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_free_tx_resources() local
609 static void ena_free_tx_bufs(struct ena_ring *tx_ring) in ena_free_tx_bufs()
658 struct ena_ring *tx_ring; in ena_free_all_tx_bufs() local
695 static int validate_tx_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_tx_req_id()
722 static int ena_clean_tx_irq(struct ena_ring *tx_ring, u32 budget) in ena_clean_tx_irq()
1131 struct ena_ring *tx_ring) in ena_adjust_intr_moderation()
1149 static inline void ena_unmask_interrupt(struct ena_ring *tx_ring, in ena_unmask_interrupt()
1169 static inline void ena_update_ring_numa_node(struct ena_ring *tx_ring, in ena_update_ring_numa_node()
1198 struct ena_ring *tx_ring, *rx_ring; in ena_io_poll() local
[all …]
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c658 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_clean_tx_ring() local
756 struct atl1e_tx_ring *tx_ring = NULL; in atl1e_init_ring_ptrs() local
812 struct atl1e_tx_ring *tx_ring; in atl1e_setup_ring_resources() local
900 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_configure_des_ring() local
1242 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_clean_tx_irq() local
1565 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_tpd_avail() local
1584 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_get_tpd() local
1598 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_get_tx_buffer() local
1850 struct atl1e_tx_ring *tx_ring = &adapter->tx_ring; in atl1e_tx_queue() local
/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c443 struct nx_host_tx_ring *tx_ring = adapter->tx_ring; in nx_fw_cmd_create_tx_ctx() local
701 struct nx_host_tx_ring *tx_ring; in netxen_init_old_ctx() local
757 struct nx_host_tx_ring *tx_ring; in netxen_alloc_hw_resources() local
871 struct nx_host_tx_ring *tx_ring; in netxen_free_hw_resources() local
/Linux-v4.19/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()
1922 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000_intr_msix_tx() local
1972 struct e1000_ring *tx_ring = adapter->tx_ring; in e1000_configure_msix() local
2322 int e1000e_setup_tx_resources(struct e1000_ring *tx_ring) in e1000e_setup_tx_resources()
2407 static void e1000_clean_tx_ring(struct e1000_ring *tx_ring) in e1000_clean_tx_ring()
2435 void e1000e_free_tx_resources(struct e1000_ring *tx_ring) in e1000e_free_tx_resources()
[all …]
/Linux-v4.19/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
1394 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in ixgb_tx_queue() local
1444 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in __ixgb_maybe_stop_tx() local
1464 struct ixgb_desc_ring *tx_ring, int size) in ixgb_maybe_stop_tx()
1785 struct ixgb_desc_ring *tx_ring = &adapter->tx_ring; in ixgb_clean_tx_irq() local
/Linux-v4.19/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c212 static inline bool ixgbevf_check_tx_hang(struct ixgbevf_ring *tx_ring) in ixgbevf_check_tx_hang()
266 struct ixgbevf_ring *tx_ring, int napi_budget) in ixgbevf_clean_tx_irq()
2362 static void ixgbevf_clean_tx_ring(struct ixgbevf_ring *tx_ring) in ixgbevf_clean_tx_ring()
3326 void ixgbevf_free_tx_resources(struct ixgbevf_ring *tx_ring) in ixgbevf_free_tx_resources()
3367 int ixgbevf_setup_tx_resources(struct ixgbevf_ring *tx_ring) in ixgbevf_setup_tx_resources()
3702 static void ixgbevf_tx_ctxtdesc(struct ixgbevf_ring *tx_ring, in ixgbevf_tx_ctxtdesc()
3723 static int ixgbevf_tso(struct ixgbevf_ring *tx_ring, in ixgbevf_tso()
3822 static void ixgbevf_tx_csum(struct ixgbevf_ring *tx_ring, in ixgbevf_tx_csum()
3907 static void ixgbevf_tx_map(struct ixgbevf_ring *tx_ring, in ixgbevf_tx_map()
4042 static int __ixgbevf_maybe_stop_tx(struct ixgbevf_ring *tx_ring, int size) in __ixgbevf_maybe_stop_tx()
[all …]
/Linux-v4.19/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c940 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_clean_tx_ring()
1107 struct pch_gbe_tx_ring *tx_ring, in pch_gbe_tx_queue()
1463 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_alloc_tx_buffers()
1495 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_clean_tx()
1744 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_setup_tx_resources()
1826 struct pch_gbe_tx_ring *tx_ring) in pch_gbe_free_tx_resources()
1892 struct pch_gbe_tx_ring *tx_ring = adapter->tx_ring; in pch_gbe_up() local
2084 struct pch_gbe_tx_ring *tx_ring = adapter->tx_ring; in pch_gbe_xmit_frame() local
/Linux-v4.19/drivers/net/ethernet/apm/xgene-v2/
Dmain.c190 struct xge_desc_ring *tx_ring; in xge_start_xmit() local
254 struct xge_desc_ring *tx_ring; in xge_txc_poll() local
569 struct xge_desc_ring *tx_ring; in xge_free_pending_skb() local
/Linux-v4.19/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()
2691 struct e1000_tx_ring *tx_ring, struct sk_buff *skb, in e1000_tso()
2765 struct e1000_tx_ring *tx_ring, struct sk_buff *skb, in e1000_tx_csum()
2823 struct e1000_tx_ring *tx_ring, in e1000_tx_map()
2971 struct e1000_tx_ring *tx_ring, int tx_flags, in e1000_tx_queue()
3070 struct e1000_tx_ring *tx_ring = adapter->tx_ring; in __e1000_maybe_stop_tx() local
3092 struct e1000_tx_ring *tx_ring, int size) in e1000_maybe_stop_tx()
3105 struct e1000_tx_ring *tx_ring; in e1000_xmit_frame() local
3364 struct e1000_tx_ring *tx_ring = adapter->tx_ring; in e1000_dump() local
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/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
2765 static void ql_init_tx_ring(struct ql_adapter *qdev, struct tx_ring *tx_ring) in ql_init_tx_ring()
2784 struct tx_ring *tx_ring) in ql_free_tx_resources()
2796 struct tx_ring *tx_ring) in ql_alloc_tx_resources()
3056 struct tx_ring *tx_ring; in ql_tx_ring_clean() local
3259 static int ql_start_tx_ring(struct ql_adapter *qdev, struct tx_ring *tx_ring) in ql_start_tx_ring()
4102 struct tx_ring *tx_ring; in ql_configure_rings() local
4295 struct tx_ring *tx_ring = &qdev->tx_ring[0]; in qlge_get_stats() local
Dqlge.h1382 struct tx_ring { struct
1399 struct tx_ring_desc *q; /* descriptor list for the queue */ argument
1400 spinlock_t lock;
1401 atomic_t tx_count; /* counts down for every outstanding IO */
1402 struct delayed_work tx_work;
1403 struct ql_adapter *qdev;
1404 u64 tx_packets;
1405 u64 tx_bytes;
1406 u64 tx_errors;
2116 struct tx_ring tx_ring[MAX_TX_RINGS]; member
[all …]
/Linux-v4.19/drivers/net/ethernet/amd/
Dariadne.c88 volatile struct TDRE *tx_ring[TX_RING_SIZE]; member
100 struct TDRE tx_ring[TX_RING_SIZE]; member

123456