Re: [dpdk-dev] [PATCH] net/virtio: fix invalid indirect desc length

2020-10-15 Thread Maxime Coquelin
On 10/15/20 7:46 AM, Marvin Liu wrote: > When transmitting indirect descriptors, first desc will store net_hdr > and following descs will be mapped to mbuf segments. Total desc number > will be seg_num plus one. Meaning of variable needed is the number of > used descs in packed ring. This value

Re: [dpdk-dev] [PATCH] net/virtio: fix invalid indirect desc length

2020-10-15 Thread Maxime Coquelin
On 10/15/20 7:46 AM, Marvin Liu wrote: > When transmitting indirect descriptors, first desc will store net_hdr > and following descs will be mapped to mbuf segments. Total desc number > will be seg_num plus one. Meaning of variable needed is the number of > used descs in packed ring. This value