From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 201FDC433FE for ; Thu, 6 Oct 2022 10:12:14 +0000 (UTC) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 769ED42BFB; Thu, 6 Oct 2022 12:12:13 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 051E840042 for ; Thu, 6 Oct 2022 12:12:12 +0200 (CEST) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 8F05B88; Thu, 6 Oct 2022 13:12:11 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 8F05B88 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1665051131; bh=dr9XXwkLdt3XUuXBpmw+V7YE+WX9+Xvu9ckjOjbTJjE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=BTC9l1rDp9F3drYGuS0B/HaC6eyB7pwRkr88FVkJP3weSXr4bATWLzMn+Q2keVEQt JIZ9XCdwhjIZ6mAJJbwKkmVXO08YWmZNjvnhseepzXqjDOp3uTJsEu2KHrLguWI60M DIK9tEXFmIIF8zcbbkMdAZbz8ZceJQri6jBpMTB0= Message-ID: Date: Thu, 6 Oct 2022 13:12:10 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v8 4/4] net/ice: support buffer split in Rx path Content-Language: en-US To: Yuan Wang , dev@dpdk.org, Qiming Yang , Qi Zhang Cc: thomas@monjalon.net, ferruh.yigit@xilinx.com, mdr@ashroe.eu, xiaoyun.li@intel.com, aman.deep.singh@intel.com, yuying.zhang@intel.com, jerinjacobk@gmail.com, viacheslavo@nvidia.com, stephen@networkplumber.org, xuan.ding@intel.com, hpothula@marvell.com, yaqi.tang@intel.com, Wenxuan Wu References: <20220812181552.2908067-1-yuanx.wang@intel.com> <20221005231836.215112-1-yuanx.wang@intel.com> <20221005231836.215112-5-yuanx.wang@intel.com> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20221005231836.215112-5-yuanx.wang@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 10/6/22 02:18, Yuan Wang wrote: > This patch adds support for protocol based buffer split in normal Rx "This patch adds" -> "Add" > data paths. When the Rx queue is configured with specific protocol type, > packets received will be directly split into protocol header and > payload parts limitation of pmd. And the two parts will be pmd -> PMD > put into different mempools. > > Currently, protocol based buffer split is not supported in vectorized > paths. > > A new api ice_buffer_split_supported_hdr_ptypes_get() has been api -> API > introduced, it will return the supported header protocols of ice PMD > to app for splitting. > > Signed-off-by: Yuan Wang > Signed-off-by: Xuan Ding > Signed-off-by: Wenxuan Wu The patch should update doc/guides/nics/features/ice.ini to list Buffer Split on Rx feature.