RE: [PATCH v4 1/5] vhost: prepare sync for descriptor to mbuf refactoring

2022-05-05 Thread Yang, YvonneX
> -Original Message- > From: xuan.d...@intel.com > Sent: 2022年5月5日 14:24 > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Jiang, Cheng1 > ; Pai G, Sunil ; > lian...@liangbit.com; Ding, Xuan > Subject: [PATCH v4 1/5] vhost: prepar

[PATCH v4 1/5] vhost: prepare sync for descriptor to mbuf refactoring

2022-05-04 Thread xuan . ding
From: Xuan Ding 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 degradat