numam-dpdk/drivers
Marvin Liu 8410c369b4 net/virtio: fix indirect desc length
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 will always be two for indirect
desc. Now use mbuf segments number for calculating correct desc length.

Fixes: b473061b0e ("net/virtio: fix indirect descriptors in packed datapaths")
Cc: stable@dpdk.org

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-10-16 19:48:19 +02:00
..
baseband baseband/turbo_sw: detect dependencies automatically 2020-10-14 21:32:11 +02:00
bus bus/pci: clear undefined bits in Windows segment parsing 2020-10-16 14:41:32 +02:00
common common/mlx5: add glue function for mirroring 2020-10-16 19:48:18 +02:00
compress mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
crypto event/octeontx2: add crypto adapter datapath 2020-10-15 22:27:49 +02:00
event eventdev: express DLB/DLB2 PMD constraints 2020-10-15 23:16:07 +02:00
mempool net/octeontx2: fix jumbo frame crash 2020-10-15 22:54:21 +02:00
net net/virtio: fix indirect desc length 2020-10-16 19:48:19 +02:00
raw raw/dpaa2_qdma: fix reset 2020-10-11 22:02:55 +02:00
regex regex/octeontx2: introduce REE driver 2020-10-14 10:41:21 +02:00
vdpa vdpa/ifc: fix build with recent kernels 2020-10-02 18:38:33 +02:00
meson.build common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00