From patchwork Fri Oct 13 03:08:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Tao X-Patchwork-Id: 132583 X-Patchwork-Delegate: thomas@monjalon.net 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 DB09842338; Fri, 13 Oct 2023 05:08:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E81B4402DC; Fri, 13 Oct 2023 05:08:36 +0200 (CEST) Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.199]) by mails.dpdk.org (Postfix) with ESMTP id 16020402CB for ; Fri, 13 Oct 2023 05:08:32 +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=fGkFaPLy7ay7UOALw6bCN IfM0WT32LN/DnVtpqgP1tIS1/GpDDeTxr1YO25idD2IxoCrWtR2XHzKIxfcACS4/ 94/FZ/32+MacH65RQZjQQpTM4A6gAqRsMPCzTzzSOXJkuDu4vZKnpPznhVO5XbZB V0rErOp2ztfcjo9KAOwBlY= Received: from u2204.. (unknown [49.76.95.19]) by zwqz-smtp-mta-g4-1 (Coremail) with SMTP id _____wDXr+WmtChlQbqiAQ--.22720S5; Fri, 13 Oct 2023 11:08:28 +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:08:20 +0000 Message-Id: <20231013030820.425663-4-taozj888@163.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231013030820.425663-1-taozj888@163.com> References: <20231013030820.425663-1-taozj888@163.com> MIME-Version: 1.0 X-CM-TRANSID: _____wDXr+WmtChlQbqiAQ--.22720S5 X-Coremail-Antispam: 1Uf129KBjvJXoWxJrykXFykXrWrXw4xCw15urg_yoW8uw4fpa 1UtrZ3KrZ5Jw1Fgry5X3W8Gr4rAF4vq345WF4kt3y0qa93ury2vrW8KrW2yFWDur13X3Wf Zw4qvryxC3W29rJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0zE5Ef5UUUUU= X-Originating-IP: [49.76.95.19] X-CM-SenderInfo: hwdr6yqyyyqiywtou0bp/1tbiKA0Ix17WNZuRwwAAse 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,