Skip to content

Commit

Permalink
doc: fix typo in virtio in-order Rx function name
Browse files Browse the repository at this point in the history
[ upstream commit 3afba6e ]

The Rx function that will be used when in-order is enabled
should be virtio_recv_mergeable_pkts_inorder() instead of
virtio_xmit_pkts_inorder().

Fixes: 8f3bd7e ("net/virtio: add in-order Rx/Tx into selection")

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
  • Loading branch information
Tiwei Bie authored and kevintraynor committed Nov 22, 2019
1 parent 038f992 commit ef42cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/guides/nics/virtio.rst
Expand Up @@ -251,7 +251,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_xmit_pkts_inorder`` is used.
``virtio_recv_mergeable_pkts_inorder`` is used.

* For Tx: If in-order is enabled then ``virtio_xmit_pkts_inorder`` is used.

Expand Down

0 comments on commit ef42cce

Please sign in to comment.