Home
last modified time | relevance | path

Searched refs:buffs (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Drx.c145 struct xdp_buff **buffs; in mlx5e_xsk_alloc_rx_wqes_batched() local
155 buffs = (struct xdp_buff **)rq->wqe.alloc_units; in mlx5e_xsk_alloc_rx_wqes_batched()
158 alloc = xsk_buff_alloc_batch(rq->xsk_pool, buffs + ix, wqe_bulk); in mlx5e_xsk_alloc_rx_wqes_batched()
160 alloc = xsk_buff_alloc_batch(rq->xsk_pool, buffs + ix, contig); in mlx5e_xsk_alloc_rx_wqes_batched()
162 alloc += xsk_buff_alloc_batch(rq->xsk_pool, buffs, wqe_bulk - contig); in mlx5e_xsk_alloc_rx_wqes_batched()
/linux-6.1.9/drivers/net/ethernet/xscale/
Dixp4xx_eth.c1294 int buffs = RX_DESCS; /* allocated RX buffers */ in eth_close() local
1303 buffs--; in eth_close()
1315 buffs--; in eth_close()
1316 if (!buffs) in eth_close()
1333 if (buffs) in eth_close()
1335 " left in NPE\n", buffs); in eth_close()
1337 if (!buffs) in eth_close()
1341 buffs = TX_DESCS; in eth_close()
1343 buffs--; /* cancel TX */ in eth_close()
1348 buffs--; in eth_close()
[all …]
/linux-6.1.9/drivers/net/wan/
Dixp4xx_hss.c1157 int i, buffs = RX_DESCS; /* allocated RX buffers */ in hss_hdlc_close() local
1168 buffs--; in hss_hdlc_close()
1170 buffs--; in hss_hdlc_close()
1172 if (buffs) in hss_hdlc_close()
1174 buffs); in hss_hdlc_close()
1176 buffs = TX_DESCS; in hss_hdlc_close()
1178 buffs--; /* cancel TX */ in hss_hdlc_close()
1183 buffs--; in hss_hdlc_close()
1184 if (!buffs) in hss_hdlc_close()
1188 if (buffs) in hss_hdlc_close()
[all …]
Dhd64570.c161 u16 buffs = transmit ? card->tx_ring_buffers in sca_init_port() local
164 for (i = 0; i < buffs; i++) { in sca_init_port()
186 sca_outw(desc_offset(port, buffs - 1, transmit), in sca_init_port()
Dhd64572.c131 u16 buffs = transmit ? card->tx_ring_buffers in sca_init_port() local
134 for (i = 0; i < buffs; i++) { in sca_init_port()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_xsk.c451 u16 buffs; in ice_fill_rx_descs() local
454 buffs = xsk_buff_alloc_batch(pool, xdp, count); in ice_fill_rx_descs()
455 for (i = 0; i < buffs; i++) { in ice_fill_rx_descs()
464 return buffs; in ice_fill_rx_descs()
/linux-6.1.9/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1417 struct mvpp2_txq_pcpu_buf *buffs; member
Dmvpp2_main.c313 txq_pcpu->buffs + txq_pcpu->txq_put_index; in mvpp2_txq_inc_put()
2798 txq_pcpu->buffs + txq_pcpu->txq_get_index; in mvpp2_txq_bufs_free()
3130 txq_pcpu->buffs = kmalloc_array(txq_pcpu->size, in mvpp2_txq_init()
3131 sizeof(*txq_pcpu->buffs), in mvpp2_txq_init()
3133 if (!txq_pcpu->buffs) in mvpp2_txq_init()
3166 kfree(txq_pcpu->buffs); in mvpp2_txq_deinit()
/linux-6.1.9/drivers/md/
Draid1.c2628 int buffs; in init_resync() local
2630 buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; in init_resync()
2633 return mempool_init(&conf->r1buf_pool, buffs, r1buf_pool_alloc, in init_resync()
Draid10.c3163 int ret, buffs, i; in init_resync() local
3165 buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; in init_resync()
3171 ret = mempool_init(&conf->r10buf_pool, buffs, in init_resync()