From patchwork Thu Oct 12 16:03:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Tao X-Patchwork-Id: 132578 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 AE0DA42363; Thu, 12 Oct 2023 18:04:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4DC9E402E8; Thu, 12 Oct 2023 18:04:26 +0200 (CEST) Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.198]) by mails.dpdk.org (Postfix) with ESMTP id A9DF44029F for ; Thu, 12 Oct 2023 18:04:22 +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=lUdFCVcrXlhbL4paDAoSB CfFHbUWI5IKPbcuw2UrRgxPNLlPX+U8UK+4EHoVXQV5XuU2GGyOottHWuy4IprBq 5JsLpPuvEPm8I0uU3o4Es/hP2NGIB30o9XZkaOyQYlMtKP67zrKmUrpg2ZkflcQY EU2J2zJtf3kD/Pb/aFqjbQ= Received: from u2204.. (unknown [49.76.95.19]) by zwqz-smtp-mta-g5-2 (Coremail) with SMTP id _____wDnz6n2GChlO5GAAQ--.57701S4; Fri, 13 Oct 2023 00:04:15 +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: Thu, 12 Oct 2023 16:03:59 +0000 Message-Id: <20231012160359.422076-3-taozj888@163.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231012160359.422076-1-taozj888@163.com> References: <20231012160359.422076-1-taozj888@163.com> MIME-Version: 1.0 X-CM-TRANSID: _____wDnz6n2GChlO5GAAQ--.57701S4 X-Coremail-Antispam: 1Uf129KBjvJXoWxJrykXFykXrWrXw4xCw15urg_yoW8uw4fpa 1UtrZ3KrZ5Jw1Fgry5X3W8Gr4rAF4vq345WF4kt3y0qa93ury2vrW8KrW2yFWDur13X3Wf Zw4qvryxC3W29rJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0pidb1rUUUUU= X-Originating-IP: [49.76.95.19] X-CM-SenderInfo: hwdr6yqyyyqiywtou0bp/1tbiSAMHx1+FiSFn3gAAsA 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,