[v2] doc: fix max supported packet len for virtio driver

Message ID 20221119082420.199866-1-liyi1@chinatelecom.cn (mailing list archive)
State Accepted, archived
Delegated to: Maxime Coquelin
Headers
Series [v2] doc: fix max supported packet len for virtio driver |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS

Commit Message

liyi1@chinatelecom.cn Nov. 19, 2022, 8:24 a.m. UTC
  From: Yi Li <liyi1@chinatelecom.cn>

According to VIRTIO_MAX_RX_PKTLEN macro definition, for virtio driver
currently supported pkt size is 9728.

Fixes: fc1f2750a3ec ("doc: programmers guide")

Signed-off-by: Yi Li <liyi1@chinatelecom.cn>
---

v2 change: Add "Fixes:" description in commit message.

 doc/guides/nics/virtio.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Maxime Coquelin Nov. 22, 2022, 9:36 a.m. UTC | #1
On 11/19/22 09:24, liyi1@chinatelecom.cn wrote:
> From: Yi Li <liyi1@chinatelecom.cn>
> 
> According to VIRTIO_MAX_RX_PKTLEN macro definition, for virtio driver
> currently supported pkt size is 9728.
> 
> Fixes: fc1f2750a3ec ("doc: programmers guide")
> 
> Signed-off-by: Yi Li <liyi1@chinatelecom.cn>
> ---
> 
> v2 change: Add "Fixes:" description in commit message.
> 
>   doc/guides/nics/virtio.rst | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst
> index aace780249..c422e7347a 100644
> --- a/doc/guides/nics/virtio.rst
> +++ b/doc/guides/nics/virtio.rst
> @@ -43,7 +43,7 @@ Features and Limitations of virtio PMD
>   In this release, the virtio PMD provides the basic functionality of packet reception and transmission.
>   
>   *   It supports merge-able buffers per packet when receiving packets and scattered buffer per packet
> -    when transmitting packets. The packet size supported is from 64 to 1518.
> +    when transmitting packets. The packet size supported is from 64 to 9728.
>   
>   *   It supports multicast packets and promiscuous mode.
>   

Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime
  
Thomas Monjalon Nov. 22, 2022, 1:12 p.m. UTC | #2
22/11/2022 10:36, Maxime Coquelin:
> 
> On 11/19/22 09:24, liyi1@chinatelecom.cn wrote:
> > From: Yi Li <liyi1@chinatelecom.cn>
> > 
> > According to VIRTIO_MAX_RX_PKTLEN macro definition, for virtio driver
> > currently supported pkt size is 9728.
> > 
> > Fixes: fc1f2750a3ec ("doc: programmers guide")

+Cc: stable@dpdk.org

> > Signed-off-by: Yi Li <liyi1@chinatelecom.cn>
> 
> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Applied, thanks.
  

Patch

diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst
index aace780249..c422e7347a 100644
--- a/doc/guides/nics/virtio.rst
+++ b/doc/guides/nics/virtio.rst
@@ -43,7 +43,7 @@  Features and Limitations of virtio PMD
 In this release, the virtio PMD provides the basic functionality of packet reception and transmission.
 
 *   It supports merge-able buffers per packet when receiving packets and scattered buffer per packet
-    when transmitting packets. The packet size supported is from 64 to 1518.
+    when transmitting packets. The packet size supported is from 64 to 9728.
 
 *   It supports multicast packets and promiscuous mode.