Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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.h217 struct xdp_desc *descs = pool->tx_descs; in xskq_cons_read_desc_batch()
Dxsk.c348 struct xdp_desc *descs = pool->tx_descs; in xsk_tx_peek_release_fallback()
394 xskq_prod_write_addr_batch(pool->cq, pool->tx_descs, nb_pkts); in xsk_tx_peek_release_desc_batch()
981 if (xs->tx && !xs->pool->tx_descs) { in xsk_bind()
/linux-6.1.9/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-6.1.9/include/net/
Dxsk_buff_pool.h63 struct xdp_desc *tx_descs; member
/linux-6.1.9/drivers/net/ethernet/altera/
Daltera_tse_main.c256 unsigned int tx_descs = priv->tx_ring_size; in alloc_init_skbufs() local
267 priv->tx_ring = kcalloc(tx_descs, sizeof(struct tse_buffer), in alloc_init_skbufs()
301 unsigned int tx_descs = priv->tx_ring_size; in free_skbufs() local
307 for (i = 0; i < tx_descs; i++) in free_skbufs()
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_netdev.h148 u32 tx_descs; member
Dena_netdev.c178 tx_info->tx_descs = nb_hw_desc; in ena_xmit_common()
1366 total_done += tx_info->tx_descs; in ena_clean_tx_irq()
1939 total_done += tx_info->tx_descs; in ena_clean_xdp_irq()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c538 struct xdp_desc *descs = xdp_ring->xsk_pool->tx_descs; in i40e_xmit_zc()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_xsk.c931 struct xdp_desc *descs = xdp_ring->xsk_pool->tx_descs; in ice_xmit_zc()