Xuan Ding 6d823bb302 vhost: prepare sync for descriptor to mbuf refactoring
This patch extracts the descriptors to buffers filling from
copy_desc_to_mbuf() into a dedicated function. Besides, enqueue
and dequeue path are refactored to use the same function
sync_fill_seg() for preparing batch elements, which simplifies
the code without performance degradation.

Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Tested-by: Yvonne Yang <yvonnex.yang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2022-06-01 11:50:09 +02:00
..
2022-05-30 23:30:33 +02:00
2022-02-22 14:47:41 +01:00
2022-02-27 18:58:47 +01:00
2022-02-22 14:47:49 +01:00
2022-06-03 11:22:31 +02:00
2022-06-01 11:15:37 +02:00
2022-02-22 14:47:49 +01:00
2022-06-01 08:58:27 +02:00
2022-06-01 16:01:37 +02:00
2022-06-01 15:04:34 +02:00
2022-06-01 10:58:12 +02:00
2022-06-01 15:04:46 +02:00