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 650E0A04FD; Thu, 10 Nov 2022 11:47:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4B56040150; Thu, 10 Nov 2022 11:47:52 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 0F303400EF for ; Thu, 10 Nov 2022 11:47:51 +0100 (CET) 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) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id ACE5D74; Thu, 10 Nov 2022 13:47:50 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru ACE5D74 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1668077270; bh=PcDlx3E5yyn55wOVhnELbNz1fEJ+xr8PHoG2c8Q95T8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Neg+vVFrzrqadqjcrerm/9v2sOArfYRzeTj4+w7F+lGtcpvvdopKP4n6O4IXkaUP9 pu+XVb7eLkmecPGY+36zO1OrfiKG2XtKvxWNb74K2+OFOoIOSRufyP1XsBUVKntYTt lmXR99+cAKsT2OSD5kfJbeA8xbafI1lXiw1m/EFE= Message-ID: Date: Thu, 10 Nov 2022 13:47:50 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v14 1/1] app/testpmd: support multiple mbuf pools per Rx queue Content-Language: en-US To: Hanumanth Pothula , Aman Singh , Yuying Zhang Cc: dev@dpdk.org, thomas@monjalon.net, jerinj@marvell.com, ndabilpuram@marvell.com References: <20221110081719.2404059-1-hpothula@marvell.com> <20221110101631.2451791-1-hpothula@marvell.com> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20221110101631.2451791-1-hpothula@marvell.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 11/10/22 13:16, Hanumanth Pothula wrote: > Some of the HW has support for choosing memory pools based on > the packet's size. The pool sort capability allows PMD/NIC to > choose a memory pool based on the packet's length. > > On multiple mempool support enabled, populate mempool array > accordingly. Also, print pool name on which packet is received. > > Signed-off-by: Hanumanth Pothula > > v14: > - Rebased on tip of next-net/main > v13: > - Make sure protocol-based header split feature is not broken > by updating changes with latest code base. > v12: > - Process multi-segment configuration on number segments > (rx_pkt_nb_segs) greater than 1 or buffer split offload > flag (RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT) set. > v11: > - Resolve compilation and warning. > v10: > - Populate multi-mempool array based on mbuf_data_size_n instead > of rx_pkt_nb_segs. Reviewed-by: Andrew Rybchenko Applied to dpdk-next-net/main, thanks.