/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfd3/ |
H A D | rings.c | 11 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()
|
H A D | xsk.c | 17 struct nfp_net_tx_ring *tx_ring, in nfp_nfd3_xsk_tx_xdp() 120 struct nfp_net_tx_ring *tx_ring; in nfp_nfd3_xsk_rx() local 275 static bool nfp_nfd3_xsk_complete(struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_xsk_complete() 333 static void nfp_nfd3_xsk_tx(struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_xsk_tx()
|
H A D | dp.c | 31 static int nfp_nfd3_tx_ring_should_wake(struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_should_wake() 36 static int nfp_nfd3_tx_ring_should_stop(struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_should_stop() 52 struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_stop() 256 struct nfp_net_tx_ring *tx_ring; in nfp_nfd3_tx() local 418 void nfp_nfd3_tx_complete(struct nfp_net_tx_ring *tx_ring, int budget) in nfp_nfd3_tx_complete() 503 static bool nfp_nfd3_xdp_complete(struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_xdp_complete() 834 struct nfp_net_tx_ring *tx_ring, in nfp_nfd3_tx_xdp_buf() 907 struct nfp_net_tx_ring *tx_ring; in nfp_nfd3_rx() local 1208 struct nfp_net_tx_ring *tx_ring; in nfp_nfd3_ctrl_tx_one() local
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfdk/ |
H A D | rings.c | 11 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()
|
H A D | dp.c | 18 static int nfp_nfdk_tx_ring_should_wake(struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_should_wake() 23 static int nfp_nfdk_tx_ring_should_stop(struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_should_stop() 29 struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_stop() 116 nfp_nfdk_tx_maybe_close_block(struct nfp_net_tx_ring *tx_ring, in nfp_nfdk_tx_maybe_close_block() 255 struct nfp_net_tx_ring *tx_ring; in nfp_nfdk_tx() local 468 static void nfp_nfdk_tx_complete(struct nfp_net_tx_ring *tx_ring, int budget) in nfp_nfdk_tx_complete() 832 static bool nfp_nfdk_xdp_complete(struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_xdp_complete() 897 struct nfp_net_tx_ring *tx_ring, in nfp_nfdk_tx_xdp_buf() 1028 struct nfp_net_tx_ring *tx_ring; in nfp_nfdk_rx() local 1318 struct nfp_net_tx_ring *tx_ring; in nfp_nfdk_ctrl_tx_one() local
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_dp.h | 51 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()
|
/openbmc/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-tx.c | 21 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 D | mcp251xfd-tef.c | 114 const struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_get_tef_len() local 156 const struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_tef_obj_read() local 226 struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_handle_tefif() local
|
/openbmc/linux/drivers/net/ethernet/qualcomm/ |
H A D | qca_spi.h | 56 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;
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_xdp.c | 8 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 360 static int ena_clean_xdp_irq(struct ena_ring *tx_ring, u32 budget) in ena_clean_xdp_irq() 427 struct ena_ring *tx_ring; in ena_xdp_io_poll() local
|
H A D | ena_netdev.c | 233 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_setup_tx_resources() local 300 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_free_tx_resources() local 659 void ena_unmap_tx_buff(struct ena_ring *tx_ring, in ena_unmap_tx_buff() 732 struct ena_ring *tx_ring; in ena_free_all_tx_bufs() local 1365 void ena_unmask_interrupt(struct ena_ring *tx_ring, in ena_unmask_interrupt() 1437 struct ena_ring *tx_ring, *rx_ring; in ena_io_poll() local 1853 struct ena_ring *tx_ring; in ena_create_io_tx_queue() local 2561 struct ena_ring *tx_ring; in ena_start_xmit() local 2766 struct ena_ring *rx_ring, *tx_ring; in ena_get_stats64() local 3333 struct ena_ring *tx_ring) in check_missing_comp_in_tx_queue() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx.c | 39 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() 341 int ice_setup_tx_ring(struct ice_tx_ring *tx_ring) in ice_setup_tx_ring() 1302 struct ice_tx_ring *tx_ring; in __ice_update_sample() local 1477 struct ice_tx_ring *tx_ring; in ice_napi_poll() local 1602 ice_tx_map(struct ice_tx_ring *tx_ring, struct ice_tx_buf *first, in ice_tx_map() 2260 ice_tstamp(struct ice_tx_ring *tx_ring, struct sk_buff *skb, in ice_tstamp() 2297 ice_xmit_frame_ring(struct sk_buff *skb, struct ice_tx_ring *tx_ring) in ice_xmit_frame_ring() 2413 struct ice_tx_ring *tx_ring; in ice_start_xmit() local [all …]
|
/openbmc/linux/drivers/net/ethernet/agere/ |
H A D | et131x.c | 359 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; 377 u32 send_idx; 380 u32 *tx_status; 384 int since_irq; [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 46 struct enetc_bdr *tx_ring) in enetc_rx_ring_from_xdp_tx_ring() 70 static void enetc_unmap_tx_buff(struct enetc_bdr *tx_ring, in enetc_unmap_tx_buff() 87 static void enetc_free_tx_frame(struct enetc_bdr *tx_ring, in enetc_free_tx_frame() 592 struct enetc_bdr *tx_ring; in enetc_start_xmit() local 1271 static bool enetc_xdp_tx(struct enetc_bdr *tx_ring, in enetc_xdp_tx() 1379 struct enetc_bdr *tx_ring; in enetc_xdp_xmit() local 1538 struct enetc_bdr *tx_ring; in enetc_clean_rx_ring_xdp() local 1838 struct enetc_bdr *tx_ring = priv->tx_ring[i]; in enetc_alloc_tx_resources() local 1990 static void enetc_free_tx_ring(struct enetc_bdr *tx_ring) in enetc_free_tx_ring() 2645 struct enetc_bdr *tx_ring; in enetc_reset_tc_mqprio() local [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_txrx.c | 58 static void iavf_clean_tx_ring(struct iavf_ring *tx_ring) in iavf_clean_tx_ring() 93 void iavf_free_tx_resources(struct iavf_ring *tx_ring) in iavf_free_tx_resources() 158 struct iavf_ring *tx_ring = NULL; in iavf_detect_recover_hung() local 213 struct iavf_ring *tx_ring, int napi_budget) in iavf_clean_tx_irq() 649 int iavf_setup_tx_descriptors(struct iavf_ring *tx_ring) in iavf_setup_tx_descriptors() 1826 struct iavf_ring *tx_ring, u32 *flags) in iavf_tx_prepare_vlan_flags() 1976 struct iavf_ring *tx_ring, in iavf_tx_enable_csum() 2138 static void iavf_create_tx_ctx(struct iavf_ring *tx_ring, in iavf_create_tx_ctx() 2253 int __iavf_maybe_stop_tx(struct iavf_ring *tx_ring, int size) in __iavf_maybe_stop_tx() 2422 struct iavf_ring *tx_ring) in iavf_xmit_frame_ring() [all …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_io.c | 652 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_xmit_frame() local 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 1580 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_82xx_napi_add() local 1622 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_82xx_napi_del() local 1645 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_82xx_napi_enable() local 1672 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_82xx_napi_disable() local 1955 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_83xx_msix_sriov_vf_poll() local 1983 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_83xx_poll() local 2008 struct qlcnic_host_tx_ring *tx_ring; in qlcnic_83xx_msix_tx_poll() local [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx_common.h | 46 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()
|
H A D | i40e_txrx.c | 21 static void i40e_fdir(struct i40e_ring *tx_ring, in i40e_fdir() 91 struct i40e_ring *tx_ring; in i40e_program_fdir_filter() local 787 void i40e_clean_tx_ring(struct i40e_ring *tx_ring) in i40e_clean_tx_ring() 827 void i40e_free_tx_resources(struct i40e_ring *tx_ring) in i40e_free_tx_resources() 876 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() 3057 struct i40e_ring *tx_ring, in i40e_tx_prepare_vlan_flags() 3299 struct i40e_ring *tx_ring, in i40e_tx_enable_csum() 3480 static void i40e_create_tx_ctx(struct i40e_ring *tx_ring, in i40e_create_tx_ctx() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igbvf/ |
H A D | netdev.c | 417 struct igbvf_ring *tx_ring) in igbvf_setup_tx_resources() 531 void igbvf_free_tx_resources(struct igbvf_ring *tx_ring) in igbvf_free_tx_resources() 874 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_intr_msix_tx() local 978 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_configure_msix() local 1291 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_configure_tx() local 1919 struct igbvf_ring *tx_ring = adapter->tx_ring; in igbvf_watchdog_task() local 2003 static int igbvf_tso(struct igbvf_ring *tx_ring, in igbvf_tso() 2148 struct igbvf_ring *tx_ring, in igbvf_tx_map_adv() 2220 struct igbvf_ring *tx_ring, in igbvf_tx_queue_adv() 2280 struct igbvf_ring *tx_ring) in igbvf_xmit_frame_ring_adv() [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | ipoib_tx.c | 136 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
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | pci.c | 62 struct rtw89_pci_tx_ring *tx_ring) in rtw89_pci_txbd_recalc() 362 struct rtw89_pci_tx_ring *tx_ring, in rtw89_pci_tx_status() 423 struct rtw89_pci_tx_ring *tx_ring) in rtw89_pci_release_busy_txwd() 476 struct rtw89_pci_tx_ring *tx_ring; in rtw89_pci_release_rpp() local 1078 struct rtw89_pci_tx_ring *tx_ring; in rtw89_pci_tx_kick_off_pending() local 1193 struct rtw89_pci_tx_ring *tx_ring, in rtw89_pci_txwd_submit() 1336 struct rtw89_pci_tx_ring *tx_ring; in rtw89_pci_tx_write() local 1422 struct rtw89_pci_tx_ring *tx_ring; in rtw89_pci_reset_trx_rings() local 1561 struct rtw89_pci_tx_ring *tx_ring; in rtw89_pci_switch_bd_idx_addr() local 2800 struct rtw89_pci_tx_ring *tx_ring; in rtw89_pci_free_tx_rings() local [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 743 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()
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_xdp.c | 48 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_enable_pool() local 107 struct igc_ring *rx_ring, *tx_ring; in igc_xdp_disable_pool() local
|
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_lib.c | 704 struct wx_ring *tx_ring, int napi_budget) in wx_clean_tx_irq() 873 static int wx_maybe_stop_tx(struct wx_ring *tx_ring, u16 size) in wx_maybe_stop_tx() 932 static void wx_tx_map(struct wx_ring *tx_ring, in wx_tx_map() 1064 static void wx_tx_ctxtdesc(struct wx_ring *tx_ring, u32 vlan_macip_lens, in wx_tx_ctxtdesc() 1204 static int wx_tso(struct wx_ring *tx_ring, struct wx_tx_buffer *first, in wx_tso() 1325 static void wx_tx_csum(struct wx_ring *tx_ring, struct wx_tx_buffer *first, in wx_tx_csum() 1449 struct wx_ring *tx_ring) in wx_xmit_frame_ring() 1509 struct wx_ring *tx_ring; in wx_xmit_frame() local 2249 static void wx_clean_tx_ring(struct wx_ring *tx_ring) in wx_clean_tx_ring() 2326 static void wx_free_tx_resources(struct wx_ring *tx_ring) in wx_free_tx_resources() [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | bcm4908_enet.c | 85 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
|