src/dpdk/drivers/net/virtio/virtqueue.h
static inline void
vring_desc_init_split(struct vring_desc *dp, uint16_t n)
{
	uint16_t i;

	for (i = 0; i < n - 1; i++)
		dp[i].next = (uint16_t)(i + 1);
	dp[i].next = VQ_RING_DESC_CHAIN_END;
}
/* Chain all the descriptors in the ring with an END */
Chain all the descriptors in the ring with an END
Chain all the descriptors in the ring with an END
static inline void
vring_desc_init_split(struct vring_desc *dp, uint16_t n)
{
	uint16_t i;
	for (i = 0; i < n - 1; i++)
		dp[i].next = (uint16_t)(i + 1);
	dp[i].next = VQ_RING_DESC_CHAIN_END;
}
static inline void vring_desc_init_split ( struct vring_desc * dp , uint16_t n ) { uint16_t i ; for ( i = 0 ; i < n - 1 ; i ++ ) dp [ i ] . next = ( uint16_t ) ( i + 1 ) ; dp [ i ] . next = VQ_RING_DESC_CHAIN_END ; }
Chain all the descriptors in the ring with an END
Chain all the descriptors in the ring with an END