From d03814d1912c693e1bf6901551898a16cab282ab Mon Sep 17 00:00:00 2001 From: Tiwei Bie Date: Tue, 13 Aug 2019 10:07:27 +0800 Subject: [PATCH] doc: update description for virtio in-order Rx The virtio_recv_mergeable_pkts_inorder() has been renamed to virtio_recv_pkts_inorder() and added the non-mergeable support in below commit. Fixes: efcda13648d2 ("net/virtio: add non-mergeable support to in-order path") Cc: stable@dpdk.org Signed-off-by: Tiwei Bie Reviewed-by: Maxime Coquelin --- doc/guides/nics/virtio.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst index 08438d0646..b3c3568560 100644 --- a/doc/guides/nics/virtio.rst +++ b/doc/guides/nics/virtio.rst @@ -215,8 +215,8 @@ Rx callbacks: Vector version without mergeable Rx buffer support, also fixes the available ring indexes and uses vector instructions to optimize performance. -#. ``virtio_recv_mergeable_pkts_inorder``: - In-order version with mergeable Rx buffer support. +#. ``virtio_recv_pkts_inorder``: + In-order version with mergeable and non-mergeable Rx buffer support. Tx callbacks: @@ -250,8 +250,7 @@ Example of using the vector version of the virtio poll mode driver in In-order callbacks only work on simulated virtio user vdev. -* For Rx: If mergeable Rx buffers is enabled and in-order is enabled then - ``virtio_recv_mergeable_pkts_inorder`` is used. +* For Rx: If in-order is enabled then ``virtio_recv_pkts_inorder`` is used. * For Tx: If in-order is enabled then ``virtio_xmit_pkts_inorder`` is used. -- 2.20.1