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 5FD70A0032; Fri, 21 Oct 2022 17:57:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53C9141147; Fri, 21 Oct 2022 17:57:55 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 09D5E41181 for ; Fri, 21 Oct 2022 17:57:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666367873; x=1697903873; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=qylF4KL6KUWAoiIODnn2dr2t+I661XHwiG5HZm1Hq+k=; b=RBI1xERzmfqOTSoYlVMHX69DWzU8UaZLOXakSC6NkEBu0i9Odc8G7l+5 uQkGSJ0j8jHPTCchztkQSPfTzhn9JrWnByrM9ELNvQ+eNcTXr9OA3rPDa qBHZFlbhFP7k6b3r7wOdCx+bu4OrATjWJ0SPC6ZxuaziX9so3y6Z+o7ZL Qs4oCyYmpM7lOBUFAWALusw2IqooUAmESZfqJQlzkYBMfQQWsu9saXluz P9hCX26X4kXzSg+RMKhIpLi7CLhqZGhRmGzpZM9kYStQnZjkOEAyGftIb 8TghqwnF67elyVPFvryd4dbu7rTtcQt4XVARUVE5bHFVCgw+c2v9CNdS+ w==; X-IronPort-AV: E=McAfee;i="6500,9779,10507"; a="333611216" X-IronPort-AV: E=Sophos;i="5.95,202,1661842800"; d="scan'208";a="333611216" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2022 08:57:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10507"; a="661657480" X-IronPort-AV: E=Sophos;i="5.95,202,1661842800"; d="scan'208";a="661657480" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga008.jf.intel.com with ESMTP; 21 Oct 2022 08:57:51 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 21 Oct 2022 08:57:50 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Fri, 21 Oct 2022 08:57:50 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.176) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Fri, 21 Oct 2022 08:57:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bm09Udz5avCoYFsjqK1dE5eIMWt6/ALVEE5n36goztEpEh68d9K9p7lKfxAiH6J0SS5p6j5DWy0JXtFHUkfl2CFqmXILdcGe6Txdc0SqK2Tcc52/ALIxsadlelbLjnckxCK1SOeoYOXJhS9khVMCYLCe9C8ZnFHEzAr42w+rxG+NpAmsJePl+RBcPbQ7DC3+/aLYZ9bqTJtieT5wx+zLMN6ufhJqk6KfmCscZLq/v1CUtPmskEQ4p5TlN1dTKYF/N2asD8mik04HZDHZp6Q7T77qgC3gpXTdzSz9feZMK/7bf2/eWXF2gUXJW29QlSxsGTYZKoXE2sAk3QdXhd5PUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4ermfc5O1DlI1cPxcdxV/lmhH2Y5rtmes+CKGm1JiGE=; b=W9+KLmJYeD1IEIVf8e+x7GZJwZONUDvifiyA50tm21SdOwEChGU+KmTw5J0QBFbWNOGEEqa8zLSeIEwoV9VDYGlsege+Vktt7I/1jPtP+n+imHC9+RMGKyaNGZWMqtpq4yWp/fYFjHowsMxfX4/jv9kcVfOOLIpPkUWceWRfsto2F5Dh8g2dbOPE63w8gqHlFLLvOdDzUW9E161WohkNuMcvO3nPgOD7vN+FF6wwCtrXl41qSKv0A1hdt+gJOK0HYtFGiTuUbPe7Zcws2pTjEVvo5hhH9Jh6IVE69Pw+L2sWl2gVyzpHKQJU1WfF87STMtZn7k4W3XuWR9Nhr2CsqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) by MW4PR11MB7031.namprd11.prod.outlook.com (2603:10b6:303:22c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.33; Fri, 21 Oct 2022 15:57:43 +0000 Received: from MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::4504:d466:7e7a:6fa2]) by MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::4504:d466:7e7a:6fa2%4]) with mapi id 15.20.5723.035; Fri, 21 Oct 2022 15:57:43 +0000 Message-ID: <83a6bd07-e9e4-85a0-55c6-e39a7b62869e@intel.com> Date: Fri, 21 Oct 2022 21:27:33 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH v9 1/1] app/testpmd: support mulitiple mbuf pools per Rx queue To: Hanumanth Pothula , Yuying Zhang CC: , , , , References: <20221007172921.3325250-5-andrew.rybchenko@oktetlabs.ru> <20221017084826.1620342-1-hpothula@marvell.com> Content-Language: en-US From: "Singh, Aman Deep" In-Reply-To: <20221017084826.1620342-1-hpothula@marvell.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN2PR01CA0016.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:25::21) To MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR11MB0062:EE_|MW4PR11MB7031:EE_ X-MS-Office365-Filtering-Correlation-Id: 108a556f-a25d-444f-6703-08dab37cfd03 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RcFn1Qs5lxBu/hBHAPBNDhnK2v08DFmY4QlR3DdS71FU5bymD2PQDmrQmleh4BBsgQNbYAZENW/RVOcu+XXgmGFtp1hcS5pMqp2ui0Ver40lTNqYt8tole+B9syy/JDZlXp8mI4HK0hkSsX1C71//SiZAjpPcJ6dJHkR2sseqwg9LSBiO+ZnqqM595SzKrxli5n5t9Mq5gc1VBR9z3Sm2YuiFaa6ArNI/qUBozogBAWiGVCbGJMMJ+uPAl1n3ldXCPXve0NjMI48qvmjmbIe+cQMtxoD5yifPeva0Of2JLABZmVZeHxvW+MGGmUCCs3h9+o4kFDFh3yLCa88fBBhUL/WI03PfHhapYoNc468m3cETil/QnDymSLsWGwLNUzeINz+cuHEXY+yeRBOEtQsvMPrzHyADWFC3eMDxXp3e6EbHHLKeEuwE46cSe28pO00bWXSVX/Jp7X09SejsItse0aN/QMMgTO5AYvqNVNDFS78dt9lwufDw2nVWEhxeq6ZwAJ+eZ5NFMjaq399bfTvmXukZPdAKOHA1JZl+/85dTN5M5Yq4EcMjstDLk4UVJwqlaWQr47VPduSxj2ixoAmTPkI/Fo1TN/jTJct2vK/BFTaw/mX+k7VV0Ywekg4/IlhsAv4BvbhXLx6c7dwomyKYcYN5HNk8i3jlUi/qgzwpTF3O1SLXyXxyGRxzdf4BryKhmbDsgUZfb8Bacqey77NlesKpZw6UOIqh30xf6qfzkFCCir/zqdmp3nsVXD6AZQ9b8Zt8G8Tlaz5HxZe53Zy1eVUIcyqob6wjpiVFuhJw0Q= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB0062.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(346002)(136003)(376002)(366004)(39860400002)(396003)(451199015)(66476007)(82960400001)(8676002)(4326008)(66556008)(31686004)(6486002)(41300700001)(26005)(6512007)(6506007)(6666004)(38100700002)(53546011)(2906002)(31696002)(83380400001)(8936002)(86362001)(5660300002)(66946007)(36756003)(186003)(478600001)(6636002)(110136005)(316002)(2616005)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?V0w2WFlxbGx0aUZRVzhvUk05Tm9VSG5TZVN3M0lRbzJ2OHBkUjBDQ0FYVzNY?= =?utf-8?B?c0RQeGRDSU1RZTV2dFlTNmdOdGx4clU2TkJiYjd4NGtJQlluRWNvTks3UlJq?= =?utf-8?B?ZDNHN0tzdTRna2dUbDR2SzJQOTR2OVBTbTg3eGNPeTFSRWxOWm1BQzdKbHJv?= =?utf-8?B?L21TYXIvYk9LWHBjemVoS3pram5QbklaZUxGMGh1SG1RTmtRWENUOFdmY3hB?= =?utf-8?B?RW9ReW5SVjlaMk0wNlg4ZXo0RTBNcWxybEFJRUl0dytyNU15bEFySnVmT1VN?= =?utf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aGFISkFpdVFGalZhUzdUSnVjRkxxVW4zODRyeVdpYnFt?= =?utf-8?B?bkJLcy85Qitnai8vZUlsM3pmcXlnUWpuTHUvSlcyQ2JKdG5tSDlNTzlTenNt?= =?utf-8?B?NFE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 108a556f-a25d-444f-6703-08dab37cfd03 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB0062.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2022 15:57:43.2115 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MNLZXvrBE9jVph0PEKlBdp5VxKS+SvM/cyqGH4iWxEoA6MHaQIJBvpDzlJbHOSMZc2vRhaSgQ4ipfWDhnFQsq6GrOhZExJHCRzYfLT+UqfY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB7031 X-OriginatorOrg: intel.com 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/17/2022 2:18 PM, 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 > --- > app/test-pmd/testpmd.c | 40 ++++++++++++++++++++++++++++------------ > app/test-pmd/testpmd.h | 3 +++ > app/test-pmd/util.c | 4 ++-- > 3 files changed, 33 insertions(+), 14 deletions(-) > > diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c > index 5b0f0838dc..1549551640 100644 > --- a/app/test-pmd/testpmd.c > +++ b/app/test-pmd/testpmd.c > @@ -2647,10 +2647,16 @@ rx_queue_setup(uint16_t port_id, uint16_t rx_queue_id, > struct rte_eth_rxconf *rx_conf, struct rte_mempool *mp) > { > union rte_eth_rxseg rx_useg[MAX_SEGS_BUFFER_SPLIT] = {}; > + struct rte_mempool *rx_mempool[MAX_MEMPOOL] = {}; > unsigned int i, mp_n; > int ret; > > - if (rx_pkt_nb_segs <= 1 || > + /* For multiple mempools per Rx queue support, > + * rx_pkt_nb_segs greater than 1 and > + * Rx offload flag, RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT won't be set. > + * @see rte_eth_rxconf::rx_mempools I have a basic question about the feature, do we need rx_pkt_nb_segs > 1 for feature to work. My understanding is, if multiple mempools are defined the driver will move pkts according to its size, even without split of pkts. Just for my understanding, Thanks :) > + */ > + if (rx_pkt_nb_segs <= 1 && > (rx_conf->offloads & RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT) == 0) { > rx_conf->rx_seg = NULL; > rx_conf->rx_nseg = 0; > @@ -2668,20 +2674,30 @@ rx_queue_setup(uint16_t port_id, uint16_t rx_queue_id, > */ > mp_n = (i >= mbuf_data_size_n) ? mbuf_data_size_n - 1 : i; > mpx = mbuf_pool_find(socket_id, mp_n); > - /* Handle zero as mbuf data buffer size. */ > - rx_seg->offset = i < rx_pkt_nb_offs ? > - rx_pkt_seg_offsets[i] : 0; > - rx_seg->mp = mpx ? mpx : mp; > - if (rx_pkt_hdr_protos[i] != 0 && rx_pkt_seg_lengths[i] == 0) { > - rx_seg->proto_hdr = rx_pkt_hdr_protos[i]; > + > + if (rx_conf->offloads & RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT) { > + /* Handle zero as mbuf data buffer size. */ > + rx_seg->offset = i < rx_pkt_nb_offs ? > + rx_pkt_seg_offsets[i] : 0; > + rx_seg->mp = mpx ? mpx : mp; > + if (rx_pkt_hdr_protos[i] != 0 && rx_pkt_seg_lengths[i] == 0) { > + rx_seg->proto_hdr = rx_pkt_hdr_protos[i]; > + } else { > + rx_seg->length = rx_pkt_seg_lengths[i] ? > + rx_pkt_seg_lengths[i] : > + mbuf_data_size[mp_n]; > + } > } else { > - rx_seg->length = rx_pkt_seg_lengths[i] ? > - rx_pkt_seg_lengths[i] : > - mbuf_data_size[mp_n]; > + rx_mempool[i] = mpx ? mpx : mp; > } > } > - rx_conf->rx_nseg = rx_pkt_nb_segs; > - rx_conf->rx_seg = rx_useg; > + if (rx_conf->offloads & RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT) { > + rx_conf->rx_nseg = rx_pkt_nb_segs; > + rx_conf->rx_seg = rx_useg; > + } else { > + rx_conf->rx_mempools = rx_mempool; > + rx_conf->rx_nmempool = rx_pkt_nb_segs; > + } > ret = rte_eth_rx_queue_setup(port_id, rx_queue_id, nb_rx_desc, > socket_id, rx_conf, NULL); > rx_conf->rx_seg = NULL; > diff --git a/app/test-pmd/testpmd.h b/app/test-pmd/testpmd.h > index e65be323b8..14be10dcef 100644 > --- a/app/test-pmd/testpmd.h > +++ b/app/test-pmd/testpmd.h > @@ -80,6 +80,9 @@ extern uint8_t cl_quit; > > #define MIN_TOTAL_NUM_MBUFS 1024 > > +/* Maximum number of pools supported per Rx queue */ > +#define MAX_MEMPOOL 8 Shoud we set it to MAX_SEGS_BUFFER_SPLIT to avoid mismatch. > + > typedef uint8_t lcoreid_t; > typedef uint16_t portid_t; > typedef uint16_t queueid_t; > diff --git a/app/test-pmd/util.c b/app/test-pmd/util.c > index fd98e8b51d..f9df5f69ef 100644 > --- a/app/test-pmd/util.c > +++ b/app/test-pmd/util.c > @@ -150,8 +150,8 @@ dump_pkt_burst(uint16_t port_id, uint16_t queue, struct rte_mbuf *pkts[], > print_ether_addr(" - dst=", ð_hdr->dst_addr, > print_buf, buf_size, &cur_len); > MKDUMPSTR(print_buf, buf_size, cur_len, > - " - type=0x%04x - length=%u - nb_segs=%d", > - eth_type, (unsigned int) mb->pkt_len, > + " - pool=%s - type=0x%04x - length=%u - nb_segs=%d", > + mb->pool->name, eth_type, (unsigned int) mb->pkt_len, > (int)mb->nb_segs); > ol_flags = mb->ol_flags; > if (ol_flags & RTE_MBUF_F_RX_RSS_HASH) {