Home
last modified time | relevance | path

Searched refs:tx_descs (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.6/drivers/staging/vt6655/
Ddevice_main.c165 opts->tx_descs[0] = TX_DESC_DEF0; in device_get_options()
166 opts->tx_descs[1] = TX_DESC_DEF1; in device_get_options()
512 priv->opts.tx_descs[0] * sizeof(struct vnt_tx_desc) + in device_init_rings()
513 priv->opts.tx_descs[1] * sizeof(struct vnt_tx_desc), in device_init_rings()
529 priv->opts.tx_descs[0] * PKT_BUF_SZ + in device_init_rings()
530 priv->opts.tx_descs[1] * PKT_BUF_SZ + in device_init_rings()
540 priv->opts.tx_descs[0] * sizeof(struct vnt_tx_desc) + in device_init_rings()
541 priv->opts.tx_descs[1] * sizeof(struct vnt_tx_desc), in device_init_rings()
550 priv->opts.tx_descs[0] * sizeof(struct vnt_tx_desc); in device_init_rings()
560 + priv->opts.tx_descs[0] * sizeof(struct vnt_tx_desc); in device_init_rings()
[all …]
Ddevice.h73 #define AVAIL_TD(p, q) ((p)->opts.tx_descs[(q)] - ((p)->iTDUsed[(q)]))
92 int tx_descs[2]; /* Number of TX descriptors 0, 1 */ member
Dcard.c400 for (uu = 0; uu < priv->opts.tx_descs[0]; uu++) { in CARDvSafeResetTx()
405 for (uu = 0; uu < priv->opts.tx_descs[1]; uu++) { in CARDvSafeResetTx()
/Linux-v6.6/drivers/net/ethernet/
Dec_bhf.c144 struct tx_desc *tx_descs; member
189 if (ec_bhf_desc_sent(&priv->tx_descs[priv->tx_dnext])) in ec_bhf_process_tx()
289 desc = &priv->tx_descs[priv->tx_dnext]; in ec_bhf_start_xmit()
302 if (!ec_bhf_desc_sent(&priv->tx_descs[priv->tx_dnext])) { in ec_bhf_start_xmit()
362 priv->tx_descs = (struct tx_desc *)priv->tx_buf.buf; in ec_bhf_setup_tx_descs()
366 priv->tx_descs[i].header.sent = cpu_to_le32(TX_HDR_SENT); in ec_bhf_setup_tx_descs()
/Linux-v6.6/drivers/net/ethernet/natsemi/
Dns83820.c444 __le32 *tx_descs; member
964 desc = dev->tx_descs + (tx_done_idx * DESC_SIZE);
1002 desc = dev->tx_descs + (tx_done_idx * DESC_SIZE);
1023 __le32 *desc = dev->tx_descs + (i * DESC_SIZE);
1033 memset(dev->tx_descs, 0, NR_TX_DESC * DESC_SIZE * 4);
1125 first_desc = dev->tx_descs + (free_idx * DESC_SIZE);
1128 volatile __le32 *desc = dev->tx_descs + (free_idx * DESC_SIZE);
1561 desc = dev->tx_descs + (tx_done_idx * DESC_SIZE);
1579 desc = dev->tx_descs + (tx_done_idx * DESC_SIZE);
1626 memset(dev->tx_descs, 0, 4 * NR_TX_DESC * DESC_SIZE);
[all …]
/Linux-v6.6/drivers/net/wan/
Dwanxl.c180 desc_t *desc = &get_status(port)->tx_descs[port->tx_in]; in wanxl_tx_intr()
288 desc = &get_status(port)->tx_descs[port->tx_out]; in wanxl_xmit()
314 if (get_status(port)->tx_descs[port->tx_out].stat != PACKET_EMPTY) { in wanxl_xmit()
411 get_status(port)->tx_descs[i].stat = PACKET_EMPTY; in wanxl_open()
452 desc_t *desc = &get_status(port)->tx_descs[i]; in wanxl_close()
Dwanxl.h146 desc_t tx_descs[TX_BUFFERS]; member
/Linux-v6.6/drivers/net/wireless/ath/ath12k/
Ddp.c1354 struct ath12k_tx_desc_info *tx_descs, **tx_desc_addr; in ath12k_dp_cc_desc_init() local
1388 tx_descs = kcalloc(ATH12K_MAX_SPT_ENTRIES, sizeof(*tx_descs), in ath12k_dp_cc_desc_init()
1391 if (!tx_descs) { in ath12k_dp_cc_desc_init()
1398 dp->spt_info->txbaddr[tx_spt_page] = &tx_descs[0]; in ath12k_dp_cc_desc_init()
1402 tx_descs[j].desc_id = ath12k_dp_cc_cookie_gen(ppt_idx, j); in ath12k_dp_cc_desc_init()
1403 tx_descs[j].pool_id = pool_id; in ath12k_dp_cc_desc_init()
1404 list_add_tail(&tx_descs[j].list, in ath12k_dp_cc_desc_init()
1410 *tx_desc_addr = &tx_descs[j]; in ath12k_dp_cc_desc_init()
/Linux-v6.6/net/xdp/
Dxsk_buff_pool.c40 kvfree(pool->tx_descs); in xp_destroy()
47 pool->tx_descs = kvcalloc(xs->tx->nentries, sizeof(*pool->tx_descs), in xp_alloc_tx_descs()
49 if (!pool->tx_descs) in xp_alloc_tx_descs()
Dxsk_queue.h238 struct xdp_desc *descs = pool->tx_descs; in xskq_cons_read_desc_batch()
Dxsk.c447 struct xdp_desc *descs = pool->tx_descs; in xsk_tx_peek_release_fallback()
493 xskq_prod_write_addr_batch(pool->cq, pool->tx_descs, nb_pkts); in xsk_tx_peek_release_desc_batch()
1192 if (xs->tx && !xs->pool->tx_descs) { in xsk_bind()
/Linux-v6.6/drivers/net/wireless/ath/carl9170/
Dfwdesc.h121 u8 tx_descs; member
Dfw.c319 ar->fw.mem_blocks = min_t(unsigned int, otus_desc->tx_descs, 0xfe); in carl9170_fw()
/Linux-v6.6/include/net/
Dxsk_buff_pool.h70 struct xdp_desc *tx_descs; member
/Linux-v6.6/drivers/net/ethernet/altera/
Daltera_tse_main.c258 unsigned int tx_descs = priv->tx_ring_size; in alloc_init_skbufs() local
269 priv->tx_ring = kcalloc(tx_descs, sizeof(struct tse_buffer), in alloc_init_skbufs()
303 unsigned int tx_descs = priv->tx_ring_size; in free_skbufs() local
309 for (i = 0; i < tx_descs; i++) in free_skbufs()
/Linux-v6.6/drivers/net/ethernet/amazon/ena/
Dena_netdev.h151 u32 tx_descs; member
Dena_netdev.c178 tx_info->tx_descs = nb_hw_desc; in ena_xmit_common()
1368 total_done += tx_info->tx_descs; in ena_clean_tx_irq()
1995 total_done += tx_info->tx_descs; in ena_clean_xdp_irq()
/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-xsk.c393 struct xdp_desc *xdp_descs = ch->xsk_pool->tx_descs; in dpaa2_xsk_tx()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c609 struct xdp_desc *descs = xdp_ring->xsk_pool->tx_descs; in i40e_xmit_zc()
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_xsk.c1064 struct xdp_desc *descs = xdp_ring->xsk_pool->tx_descs; in ice_xmit_zc()
/Linux-v6.6/drivers/net/ethernet/engleder/
Dtsnep_main.c725 struct xdp_desc *descs = tx->xsk_pool->tx_descs; in tsnep_xdp_xmit_zc()