Hi Xuan,
On 4/19/22 05:43, xuan.d...@intel.com wrote:
From: Xuan Ding <xuan.d...@intel.com>
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.d...@intel.com>
---
lib/vhost/virtio_net.c | 76 ++++++++++++++++++++----------------------
1 file changed, 37 insertions(+), 39 deletions(-)
Nice refactoring, thanks for donig it:
Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>
Thanks,
Maxime