Home
last modified time | relevance | path

Searched refs:rxds (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_dp.c117 memset(rx_ring->rxds, 0, rx_ring->size); in nfp_net_rx_ring_reset()
264 if (rx_ring->rxds) in nfp_net_rx_ring_free()
266 rx_ring->rxds, rx_ring->dma); in nfp_net_rx_ring_free()
271 rx_ring->rxds = NULL; in nfp_net_rx_ring_free()
310 rx_ring->size = array_size(rx_ring->cnt, sizeof(*rx_ring->rxds)); in nfp_net_rx_ring_alloc()
311 rx_ring->rxds = dma_alloc_coherent(dp->dev, rx_ring->size, in nfp_net_rx_ring_alloc()
314 if (!rx_ring->rxds) { in nfp_net_rx_ring_alloc()
H A Dnfp_net_xsk.c24 rx_ring->rxds[idx].fld.reserved = 0; in nfp_net_xsk_rx_bufs_stash()
25 rx_ring->rxds[idx].fld.meta_len_dd = 0; in nfp_net_xsk_rx_bufs_stash()
77 nfp_desc_set_dma_addr_48b(&rx_ring->rxds[wr_idx].fld, in nfp_net_xsk_rx_ring_fill_freelist()
H A Dnfp_net_debugfs.c38 rx_ring->cnt, &rx_ring->dma, rx_ring->rxds, in nfp_rx_q_show()
42 rxd = &rx_ring->rxds[i]; in nfp_rx_q_show()
H A Dnfp_net.h330 struct nfp_net_rx_desc *rxds; member
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c834 ring->rx_pending = cfg->rxds; in aq_get_ringparam()
865 cfg->rxds = max(ring->rx_pending, hw_caps->rxds_min); in aq_set_ringparam()
866 cfg->rxds = min(cfg->rxds, hw_caps->rxds_max); in aq_set_ringparam()
867 cfg->rxds = ALIGN(cfg->rxds, AQ_HW_RXD_MULTIPLE); in aq_set_ringparam()
H A Daq_nic.h44 u32 rxds; /* rx ring size, descriptors # */ member
H A Daq_ptp.c976 aq_nic->aq_nic_cfg.rxds, in aq_ptp_ring_alloc()
981 err = aq_ptp_skb_ring_init(&aq_ptp->skb_ring, aq_nic->aq_nic_cfg.rxds); in aq_ptp_ring_alloc()
H A Daq_ring.c184 self->size = aq_nic_cfg->rxds; in aq_ring_rx_alloc()
H A Daq_nic.c123 cfg->rxds = min(cfg->aq_hw_caps->rxds_max, AQ_CFG_RXDS_DEF); in aq_nic_cfg_start()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfd3/
H A Ddp.c599 rx_ring->rxds[wr_idx].fld.reserved = 0; in nfp_nfd3_rx_give_one()
600 rx_ring->rxds[wr_idx].fld.meta_len_dd = 0; in nfp_nfd3_rx_give_one()
605 nfp_desc_set_dma_addr_48b(&rx_ring->rxds[wr_idx].fld, in nfp_nfd3_rx_give_one()
934 rxd = &rx_ring->rxds[idx]; in nfp_nfd3_rx()
1328 rxd = &rx_ring->rxds[idx]; in nfp_ctrl_rx_one()
H A Dxsk.c137 rxd = &rx_ring->rxds[idx]; in nfp_nfd3_xsk_rx()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfdk/
H A Ddp.c619 rx_ring->rxds[wr_idx].fld.reserved = 0; in nfp_nfdk_rx_give_one()
620 rx_ring->rxds[wr_idx].fld.meta_len_dd = 0; in nfp_nfdk_rx_give_one()
621 nfp_desc_set_dma_addr_48b(&rx_ring->rxds[wr_idx].fld, in nfp_nfdk_rx_give_one()
1056 rxd = &rx_ring->rxds[idx]; in nfp_nfdk_rx()
1490 rxd = &rx_ring->rxds[idx]; in nfp_ctrl_rx_one()
/openbmc/linux/drivers/net/ethernet/neterion/
H A Ds2io.c756 rx_blocks->rxds = kmalloc(size, GFP_KERNEL); in init_shared_mem()
757 if (!rx_blocks->rxds) in init_shared_mem()
761 rx_blocks->rxds[l].virt_addr = in init_shared_mem()
764 rx_blocks->rxds[l].dma_addr = in init_shared_mem()
946 kfree(ring->rx_blocks[j].rxds); in free_shared_mem()
2477 rxdp = ring->rx_blocks[block_no].rxds[off].virt_addr; in fill_rx_buffers()
2674 rx_blocks[blk].rxds[j].virt_addr; in free_rxd_blk()
2907 rxdp = ring_data->rx_blocks[get_block].rxds[get_info.offset].virt_addr; in rx_intr_handler()
2949 rxds[get_info.offset].virt_addr; in rx_intr_handler()
6884 rxdp = ring->rx_blocks[j].rxds[k].virt_addr; in rxd_owner_bit_reset()
H A Ds2io.h668 struct rxd_info *rxds; member
/openbmc/linux/drivers/net/ethernet/sun/
H A Dcassini.h2722 struct cas_rx_desc rxds[N_RX_DESC_RINGS][INIT_BLOCK_RX_DESC]; member
H A Dcassini.c5018 cp->init_rxds[i] = cp->init_block->rxds[i]; in cas_init_one()