From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8AFA74233A; Fri, 13 Oct 2023 05:27:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3D7C3402CB; Fri, 13 Oct 2023 05:27:43 +0200 (CEST) Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.216]) by mails.dpdk.org (Postfix) with ESMTP id B15DA402AE for ; Fri, 13 Oct 2023 05:27:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=YFDcK QXxBmKfnJIAmCh1OXWaFBjQJ4wwz81aFWcEhqM=; b=lOq5eiQtKu+NcFrf2q6ia x0BRg6tH8gYbSdFFjsFXs1MSOVK93PwGdGl2Cm7gNcm06XR6QTzvz8pnIffvQKeK NwJffYwp+yulBLqUauxvNUv0xNXBcIVM8tDuWPSSv0f44S7i0TXbFQP1c+s76kB/ 6jXLSLyB5apkf02LGZyz8o= Received: from u2204.. (unknown [49.76.95.19]) by zwqz-smtp-mta-g5-1 (Coremail) with SMTP id _____wDHh4MjuShlSDqlAQ--.65325S5; Fri, 13 Oct 2023 11:27:36 +0800 (CST) From: Trevor Tao To: dev@dpdk.org Cc: Trevor Tao Subject: [PATCH v2 3/3] doc: add a relax rx mode requirement option Date: Fri, 13 Oct 2023 03:27:30 +0000 Message-Id: <20231013032730.426691-4-taozj888@163.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231013032730.426691-1-taozj888@163.com> References: <20231013032730.426691-1-taozj888@163.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wDHh4MjuShlSDqlAQ--.65325S5 X-Coremail-Antispam: 1Uf129KBjvJXoWxJrykXFykXrWrXw4xCw15urg_yoW8uw4fpa 1UtrZ3KrZ5Jw1Fgry5X3W8Gr4rAF4vq345WF4kt3y0qa93ury2vrW8KrW2yFWDur13X3Wf Zw4qvryxC3W29rJanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0zEoq2NUUUUU= X-Originating-IP: [49.76.95.19] X-CM-SenderInfo: hwdr6yqyyyqiywtou0bp/1tbiSBAIx1+FiSjUAAABs5 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 Add an option to enable the RX mode requirement relax in release notes and l3fwd sample guide. Signed-off-by: Trevor Tao --- doc/guides/rel_notes/release_23_11.rst | 2 ++ doc/guides/sample_app_ug/l3_forward.rst | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst index f09ecd50fe..2f9e4a54c8 100644 --- a/doc/guides/rel_notes/release_23_11.rst +++ b/doc/guides/rel_notes/release_23_11.rst @@ -84,6 +84,8 @@ New Features default. The implementation using C11 standard atomic operations is enabled via the ``enable_stdatomic`` build option. +* sample: Added a command option ``--relax-rx-mode`` in l3fwd example + to relax the rx RSS/Offload mode requirement if needed. Removed Items ------------- diff --git a/doc/guides/sample_app_ug/l3_forward.rst b/doc/guides/sample_app_ug/l3_forward.rst index 1cc2c1dd1d..00283f070c 100644 --- a/doc/guides/sample_app_ug/l3_forward.rst +++ b/doc/guides/sample_app_ug/l3_forward.rst @@ -126,6 +126,8 @@ Where, * ``--parse-ptype:`` Optional, set to use software to analyze packet type. Without this option, hardware will check the packet type. +* ``--relax-rx-mode:`` Optional, set to enable rx mode relax when RSS/offload is not fully supported by the hardware. When the IPv4 cksum offload is relaxed, it is calculated by the software instead. Without this option, the RSS and cksum offload will be forced. + * ``--per-port-pool:`` Optional, set to use independent buffer pools per port. Without this option, single buffer pool is used for all ports. * ``--mode:`` Optional, Packet transfer mode for I/O, poll or eventdev. @@ -140,7 +142,7 @@ Where, * ``--event-vector-tmo:`` Optional, Max timeout to form vector in nanoseconds if event vectorization is enabled. -* ``--alg=:`` optional, ACL classify method to use, one of: +* ``--alg=:`` Optional, ACL classify method to use, one of: ``scalar|sse|avx2|neon|altivec|avx512x16|avx512x32`` * ``-E:`` Optional, enable exact match, -- 2.34.1