Home
last modified time | relevance | path

Searched refs:nb_descs (Results 1 – 3 of 3) sorted by relevance

/f-stack/dpdk/lib/librte_vhost/
H A Dvhost_crypto.c1184 uint32_t nb_descs = 0, max_n_descs, i; in vhost_crypto_process_one_req() local
1205 nb_descs = max_n_descs = dlen / sizeof(struct vring_desc); in vhost_crypto_process_one_req()
1206 if (unlikely(nb_descs > VHOST_CRYPTO_MAX_N_DESC || nb_descs == 0)) { in vhost_crypto_process_one_req()
1208 VC_LOG_ERR("Cannot process num of descriptors %u", nb_descs); in vhost_crypto_process_one_req()
1209 if (nb_descs > 0) { in vhost_crypto_process_one_req()
1247 nb_descs = desc - descs; in vhost_crypto_process_one_req()
/f-stack/dpdk/drivers/net/virtio/
H A Dvirtio_ethdev.c157 int nb_descs = 0; in virtio_send_command_packed() local
171 nb_descs++; in virtio_send_command_packed()
186 nb_descs++; in virtio_send_command_packed()
200 nb_descs++; in virtio_send_command_packed()
219 vq->vq_free_cnt += nb_descs; in virtio_send_command_packed()
220 vq->vq_used_cons_idx += nb_descs; in virtio_send_command_packed()
H A Dvirtio_rxtx.c1904 uint16_t nb_used, nb_clean, nb_descs; in virtio_xmit_try_cleanup_inorder() local
1906 nb_descs = vq->vq_free_cnt + need; in virtio_xmit_try_cleanup_inorder()
1912 return nb_descs - vq->vq_free_cnt; in virtio_xmit_try_cleanup_inorder()