From patchwork Sat Nov 19 08:24:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: liyi1@chinatelecom.cn X-Patchwork-Id: 119989 X-Patchwork-Delegate: maxime.coquelin@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E42D2A055A; Mon, 21 Nov 2022 10:53:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C976340150; Mon, 21 Nov 2022 10:53:25 +0100 (CET) Received: from chinatelecom.cn (prt-mail.chinatelecom.cn [42.123.76.220]) by mails.dpdk.org (Postfix) with ESMTP id 80DAC4003F for ; Sat, 19 Nov 2022 09:24:38 +0100 (CET) HMM_SOURCE_IP: 172.18.0.48:50590.979972095 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-218.88.24.173 (unknown [172.18.0.48]) by chinatelecom.cn (HERMES) with SMTP id CDD12280099; Sat, 19 Nov 2022 16:24:30 +0800 (CST) X-189-SAVE-TO-SEND: liyi1@chinatelecom.cn Received: from ([218.88.24.173]) by app0024 with ESMTP id 1978cc8eb02b4318a4e9023b1a57b55d for dev@dpdk.org; Sat, 19 Nov 2022 16:24:32 CST X-Transaction-ID: 1978cc8eb02b4318a4e9023b1a57b55d X-Real-From: liyi1@chinatelecom.cn X-Receive-IP: 218.88.24.173 X-MEDUSA-Status: 0 Sender: liyi1@chinatelecom.cn From: liyi1@chinatelecom.cn To: dev@dpdk.org Cc: fanzhang.oss@gmail.com Subject: [PATCH v2] doc: fix max supported packet len for virtio driver Date: Sat, 19 Nov 2022 16:24:20 +0800 Message-Id: <20221119082420.199866-1-liyi1@chinatelecom.cn> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221118012614.4338-1-liyi1@chinatelecom.cn> References: <20221118012614.4338-1-liyi1@chinatelecom.cn> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 21 Nov 2022 10:53:25 +0100 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Yi Li 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 Reviewed-by: Maxime Coquelin --- 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.