From: Tiwei Bie Date: Fri, 25 May 2018 06:17:48 +0000 (+0800) Subject: doc: convert virtio guide to new offload API X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=eef1e585f9ad6f94a067ea9dede1d96e6c1d61e0;p=dpdk.git doc: convert virtio guide to new offload API Signed-off-by: Tiwei Bie Acked-by: Maxime Coquelin --- diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst index 8922f9c0b9..a42d1bb30f 100644 --- a/doc/guides/nics/virtio.rst +++ b/doc/guides/nics/virtio.rst @@ -234,7 +234,7 @@ By default, the non-vector callbacks are used: Vector callbacks will be used when: -* ``txq_flags`` is set to ``VIRTIO_SIMPLE_FLAGS`` (0xF01), which implies: +* ``txmode.offloads`` is set to ``0x0``, which implies: * Single segment is specified. @@ -252,7 +252,7 @@ The corresponding callbacks are: Example of using the vector version of the virtio poll mode driver in ``testpmd``:: - testpmd -l 0-2 -n 4 -- -i --txqflags=0xF01 --rxq=1 --txq=1 --nb-cores=1 + testpmd -l 0-2 -n 4 -- -i --tx-offloads=0x0 --rxq=1 --txq=1 --nb-cores=1 Interrupt mode