Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/
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()
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()
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()
Dnfp_net.h323 struct nfp_net_rx_desc *rxds; member
/drivers/net/ethernet/aquantia/atlantic/
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()
Daq_nic.h44 u32 rxds; /* rx ring size, descriptors # */ member
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()
Daq_ring.c184 self->size = aq_nic_cfg->rxds; in aq_ring_rx_alloc()
Daq_nic.c123 cfg->rxds = min(cfg->aq_hw_caps->rxds_max, AQ_CFG_RXDS_DEF); in aq_nic_cfg_start()
/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c578 rx_ring->rxds[wr_idx].fld.reserved = 0; in nfp_nfd3_rx_give_one()
579 rx_ring->rxds[wr_idx].fld.meta_len_dd = 0; in nfp_nfd3_rx_give_one()
584 nfp_desc_set_dma_addr_48b(&rx_ring->rxds[wr_idx].fld, in nfp_nfd3_rx_give_one()
905 rxd = &rx_ring->rxds[idx]; in nfp_nfd3_rx()
1292 rxd = &rx_ring->rxds[idx]; in nfp_ctrl_rx_one()
Dxsk.c137 rxd = &rx_ring->rxds[idx]; in nfp_nfd3_xsk_rx()
/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c594 rx_ring->rxds[wr_idx].fld.reserved = 0; in nfp_nfdk_rx_give_one()
595 rx_ring->rxds[wr_idx].fld.meta_len_dd = 0; in nfp_nfdk_rx_give_one()
596 nfp_desc_set_dma_addr_48b(&rx_ring->rxds[wr_idx].fld, in nfp_nfdk_rx_give_one()
1022 rxd = &rx_ring->rxds[idx]; in nfp_nfdk_rx()
1449 rxd = &rx_ring->rxds[idx]; in nfp_ctrl_rx_one()
/drivers/net/ethernet/neterion/
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()
6891 rxdp = ring->rx_blocks[j].rxds[k].virt_addr; in rxd_owner_bit_reset()
Ds2io.h668 struct rxd_info *rxds; member
/drivers/net/ethernet/sun/
Dcassini.h2722 struct cas_rx_desc rxds[N_RX_DESC_RINGS][INIT_BLOCK_RX_DESC]; member
Dcassini.c5040 cp->init_rxds[i] = cp->init_block->rxds[i]; in cas_init_one()