Home
last modified time | relevance | path

Searched refs:done_idx (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/socionext/
H A Dsni_ave.c689 done_idx = priv->tx.done_idx; in ave_tx_complete()
723 done_idx = (done_idx + 1) % ndesc; in ave_tx_complete()
726 priv->tx.done_idx = done_idx; in ave_tx_complete()
753 done_idx = priv->rx.done_idx; in ave_rx_receive()
809 done_idx = (done_idx + 1) % ndesc; in ave_rx_receive()
812 priv->rx.done_idx = done_idx; in ave_rx_receive()
1295 priv->tx.done_idx = 0; in ave_open()
1306 priv->rx.done_idx = 0; in ave_open()
1380 priv->tx.done_idx = 0; in ave_stop()
1392 priv->rx.done_idx = 0; in ave_stop()
[all …]
/openbmc/linux/drivers/vhost/
H A Dnet.c118 int done_idx; member
310 n->vqs[i].done_idx = 0; in vhost_net_vq_reset()
380 nvq->done_idx = (nvq->done_idx + add) % UIO_MAXIOV; in vhost_zerocopy_signal_used()
455 if (!nvq->done_idx) in vhost_net_signal_used()
459 nvq->done_idx = 0; in vhost_net_signal_used()
490 nvq->done_idx = 0; in vhost_tx_batch()
852 vq->heads[nvq->done_idx].len = 0; in handle_tx_copy()
853 ++nvq->done_idx; in handle_tx_copy()
1243 nvq->done_idx += headcount; in handle_rx()
1244 if (nvq->done_idx > VHOST_NET_BATCH) in handle_rx()
[all …]
/openbmc/linux/drivers/net/ethernet/alacritech/
H A Dslicoss.c70 unsigned int done_idx, in slic_get_free_queue_descs() argument
73 if (put_idx >= done_idx) in slic_get_free_queue_descs()
75 return (done_idx - put_idx - 1); in slic_get_free_queue_descs()
87 stat = &descs[stq->done_idx]; in slic_next_compl_idx()
97 stq->done_idx = slic_next_queue_idx(stq->done_idx, stq->len); in slic_next_compl_idx()
99 if (!stq->done_idx) { in slic_next_compl_idx()
359 txq->done_idx = idx; in slic_xmit_complete()
613 rxq->done_idx = slic_next_queue_idx(rxq->done_idx, rxq->len); in slic_handle_receive()
781 stq->done_idx = 0; in slic_init_stat_queue()
846 txq->done_idx = 0; in slic_init_tx_queue()
[all …]
H A Dslic.h481 unsigned int done_idx; member
511 unsigned int done_idx; member
531 unsigned int done_idx; member