/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 | 119 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
|
/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() 692 static void ena_free_tx_bufs(struct ena_ring *tx_ring) in ena_free_tx_bufs() 732 struct ena_ring *tx_ring; in ena_free_all_tx_bufs() local 792 static int validate_tx_req_id(struct ena_ring *tx_ring, u16 req_id) in validate_tx_req_id() 803 static int ena_clean_tx_irq(struct ena_ring *tx_ring, u32 budget) in ena_clean_tx_irq() 1365 void ena_unmask_interrupt(struct ena_ring *tx_ring, in ena_unmask_interrupt() 1398 void ena_update_ring_numa_node(struct ena_ring *tx_ring, in ena_update_ring_numa_node() 1437 struct ena_ring *tx_ring, *rx_ring; in ena_io_poll() local [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() 217 static bool ice_clean_tx_irq(struct ice_tx_ring *tx_ring, int napi_budget) in ice_clean_tx_irq() 341 int ice_setup_tx_ring(struct ice_tx_ring *tx_ring) in ice_setup_tx_ring() 1323 struct ice_tx_ring *tx_ring; in __ice_update_sample() local 1498 struct ice_tx_ring *tx_ring; in ice_napi_poll() local 1581 static int __ice_maybe_stop_tx(struct ice_tx_ring *tx_ring, unsigned int size) in __ice_maybe_stop_tx() 1604 static int ice_maybe_stop_tx(struct ice_tx_ring *tx_ring, unsigned int size) in ice_maybe_stop_tx() 1623 ice_tx_map(struct ice_tx_ring *tx_ring, struct ice_tx_buf *first, in ice_tx_map() [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 49 struct enetc_bdr *tx_ring) in enetc_rx_ring_from_xdp_tx_ring() 73 static void enetc_unmap_tx_buff(struct enetc_bdr *tx_ring, in enetc_unmap_tx_buff() 90 static void enetc_free_tx_frame(struct enetc_bdr *tx_ring, in enetc_free_tx_frame() 109 static void enetc_update_tx_ring_tail(struct enetc_bdr *tx_ring) in enetc_update_tx_ring_tail() 154 static void enetc_unwind_tx_frame(struct enetc_bdr *tx_ring, int count, int i) in enetc_unwind_tx_frame() 166 static int enetc_map_tx_buffs(struct enetc_bdr *tx_ring, struct sk_buff *skb) in enetc_map_tx_buffs() 381 static int enetc_map_tx_tso_hdr(struct enetc_bdr *tx_ring, struct sk_buff *skb, in enetc_map_tx_tso_hdr() 438 static int enetc_map_tx_tso_data(struct enetc_bdr *tx_ring, struct sk_buff *skb, in enetc_map_tx_tso_data() 504 static void enetc_tso_complete_csum(struct enetc_bdr *tx_ring, struct tso_t *tso, in enetc_tso_complete_csum() 534 static int enetc_map_tx_tso_buffs(struct enetc_bdr *tx_ring, struct sk_buff *skb) in enetc_map_tx_tso_buffs() [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; 373 struct tx_desc *tx_desc_ring; 374 dma_addr_t tx_desc_ring_pa; 377 u32 send_idx; [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() 2279 static inline void iavf_tx_map(struct iavf_ring *tx_ring, struct sk_buff *skb, in iavf_tx_map() [all …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_io.c | 271 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 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 [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igbvf/ |
H A D | netdev.c | 417 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() 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 1978 static void igbvf_tx_ctxtdesc(struct igbvf_ring *tx_ring, u32 vlan_macip_lens, in igbvf_tx_ctxtdesc() 2003 static int igbvf_tso(struct igbvf_ring *tx_ring, in igbvf_tso() [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() 2911 static void i40e_atr(struct i40e_ring *tx_ring, struct sk_buff *skb, in i40e_atr() 3057 struct i40e_ring *tx_ring, in i40e_tx_prepare_vlan_flags() 3253 static int i40e_tsyn(struct i40e_ring *tx_ring, struct sk_buff *skb, in i40e_tsyn() [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() 111 struct rtw89_pci_tx_ring *tx_ring = &rtwpci->tx_rings[RTW89_TXCH_CH12]; in rtw89_pci_reclaim_tx_fwcmd() local 362 struct rtw89_pci_tx_ring *tx_ring, in rtw89_pci_tx_status() 401 static void rtw89_pci_reclaim_txbd(struct rtw89_dev *rtwdev, struct rtw89_pci_tx_ring *tx_ring) in rtw89_pci_reclaim_txbd() 423 struct rtw89_pci_tx_ring *tx_ring) in rtw89_pci_release_busy_txwd() 439 struct rtw89_pci_tx_ring *tx_ring, in rtw89_pci_release_txwd_skb() 476 struct rtw89_pci_tx_ring *tx_ring; in rtw89_pci_release_rpp() local 500 struct rtw89_pci_tx_ring *tx_ring) in rtw89_pci_release_pending_txwd_skb() 939 struct rtw89_pci_tx_ring *tx_ring = &rtwpci->tx_rings[RTW89_TXCH_CH12]; in __rtw89_pci_check_and_reclaim_tx_fwcmd_resource() local 955 struct rtw89_pci_tx_ring *tx_ring = &rtwpci->tx_rings[txch]; in __rtw89_pci_check_and_reclaim_tx_resource_noio() 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/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/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/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
|