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 02A24A0032; Thu, 1 Sep 2022 10:03:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E722340F17; Thu, 1 Sep 2022 10:03:43 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 5B22C40395 for ; Thu, 1 Sep 2022 10:03:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662019421; x=1693555421; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=dxWEfKioGOrf18lF7JIhct9gFvlFTeBUZFg+0hYMrwM=; b=RPDo7uJwR6PbqSq4AtFiOkCnAI8GEayy1pdR/1j1q1TAoGp2l4sTCzhb 1INVv5Oz5J6Buora+g3DtqdGNFR6JOwZ7SyQCtkTS72HVlp+H4qHbeQsP 62xnvm1u2XKrwE69MzIqh3JcfIxACY+j4XO9pNXVocesLcvTHiWIawfCY 3Hs5wnM2vxQ57WqeBHcRQVuiHN8o+11tiFOo+SJmMsdmN421yR5DhQ2U0 gwkYnWpHFuf0o7B4JPBThP7u7OQ1C6flxYvO4gtJAMxlQqyEsQ1+jPIIQ AbLGCsPI4rjyiHmbrgb0tyIOP/nifnzd+yvMHIPJ3YR/l8Mx39jEZ/e0v Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10456"; a="357366157" X-IronPort-AV: E=Sophos;i="5.93,280,1654585200"; d="scan'208";a="357366157" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2022 01:03:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,280,1654585200"; d="scan'208";a="754725307" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga001.fm.intel.com with ESMTP; 01 Sep 2022 01:03:39 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 1 Sep 2022 01:03:39 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Thu, 1 Sep 2022 01:03:39 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Thu, 1 Sep 2022 01:03:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fv8p7TRHeHuqEqHRvmj6OCF6igLaqAGOiOITZ+yZ6U+gdyzV+Omo89zFjkwBskCvksTxg6sDqWUnQ97QImxkIOr7w5GprFc9ZqOsz/3vEg7nDbdAr8xqFT0XLQJrUDA2Q0V3f6+OHl0mni2BuTyF71HkjsWxOZyk6vqGyAi7VXc/xqeqiJgVm2OvYage69KNBD9yz9CTRQPz1CRN0X959SyN/s1Sj231FdtveSqXFOmDRySFCbN9ZnNhPP58IrtYfg2q1eZ+VGfmcScFWkCwRjiTrcBMtNn24d5ByXqzSYlMYHQH+2ZtmWP7h2IZ1ROKIdF0fTpt30dYEU5m2taLCg== 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=dxWEfKioGOrf18lF7JIhct9gFvlFTeBUZFg+0hYMrwM=; b=mJa9Z/5M+JkiIk4PAOkIqjo1ULBPqQlabiGQQUwUD/I1brexQdWGzVyP+PxuSCKatYLAdMtD4NVT1reOYBoUyIgcyCDxvv/yRqdRT/Krlm1Yggk7AmaeXuy3hpRP/OrZK/1TNwfD7/xBibgfgG2jHL2/KdWCoOaiBGWefACQ6Cd/ZX6rs8ykrxp0WXx2jXg1V1umg/mu3ftn3NtEz3jYfJJufw47KczJnayNUmt0Yey8f+++cCbSBsWpKpoLNIVQqDAZmYXkBwrIbNUsEC54RGpELYU9iHTVXeCjWkhUFH//C/j3qAxG6xV/8/VkHxmyc4+N7Xv2FMnpWl2laNdfgg== 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 IA1PR11MB7343.namprd11.prod.outlook.com (2603:10b6:208:424::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.14; Thu, 1 Sep 2022 08:03:37 +0000 Received: from MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::b187:d43b:70a9:e599]) by MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::b187:d43b:70a9:e599%5]) with mapi id 15.20.5566.021; Thu, 1 Sep 2022 08:03:36 +0000 Message-ID: Date: Thu, 1 Sep 2022 13:33:27 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v2 1/1] app/testpmd: add command line argument 'nic-to-pmd-rx-metadata' Content-Language: en-US To: Hanumanth Pothula , Yuying Zhang CC: References: <20220801131338.1710737-1-hpothula@marvell.com> <20220802175151.2277437-1-hpothula@marvell.com> From: "Singh, Aman Deep" In-Reply-To: <20220802175151.2277437-1-hpothula@marvell.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: PN2PR01CA0053.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:22::28) To MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0b270cb4-5f93-4c72-c5f8-08da8bf078e8 X-MS-TrafficTypeDiagnostic: IA1PR11MB7343:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D6FL9RziFiyt1Lj1ljUdLHlrmO+ahgaNgvVH10POwoxOQ0DopwvxUvhtK9RQo3eOB3tyXboYmgMTIBVorU1cvYOsfj3daEIbd+THuK81ErhK0n4N+2bawnIjlhDf7ApkHctGT+/8pVbR66VTPHleCCeTxpSvvdFo8MtTVUmWfvihkqzBIGGY9kXsDUKdNIqTpfh0ELLMFMiwN4vWAaSHstwYDyLVtu0EETg31a5shTKr+M11a/xUT9Yta96oisym5kHrUyHEQlI9wjZXZ+H/7jKg+FzQW0fLY29esjuPR2b/zd/fXN4pwrknsqnaFNcteDaD4eYROtMyP8k9bwClh/bWcA48Xuw7DDMn75yOMU6ZcE/TQGjXP1QZTLdz6bm8n9qCU/83Bf+OKMi2qbpvD+IfxpYc1lJD2AhASSMUnzDAoAQ44VWxw/B43jWxrgKjg+qG3oT6XDLxcS2mySErAVwmy/bk/EiQTyIhGEmTDhh++VOxkuFRwqAdR087gKpfCg2pbg0CdhOpbC8ipKWUnjLeGJZ5ooTiaXFUT6iHiaXlCDfaEmL/uoE5teg6kRRazoPf8RkeLdZrnoNAij1DsewJw0Yiotb9SJ+Z/s+e2ovnC7Jib/tQ4wCvxQM6gYCG5Drn5Or4tg7lZHZ8h9KTYo436NueOkmK0+RLHTONzVQkq3gqrUCUO/CJofdfvVwdal7wiXFB1N9HgmbXDnZHhxNktoFsRpvoN6diox3f+Ejr7MGgPrG0AqHTrEJYA9T/aDGBdZLLQMdN3EwbzNufC6J6nanvhyQ2JCkg4pnnFrU= 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:(13230016)(39860400002)(346002)(376002)(366004)(396003)(136003)(6666004)(53546011)(66556008)(6512007)(86362001)(41300700001)(4326008)(6506007)(6486002)(8676002)(31696002)(8936002)(4744005)(66946007)(26005)(2616005)(478600001)(83380400001)(66476007)(5660300002)(186003)(82960400001)(2906002)(38100700002)(110136005)(316002)(36756003)(31686004)(6636002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WlVIYVFLVzN3WnBJQ0pyN09UbzNuYWU3bGZVMWhxQk1vS05SNmJIem5MVmZP?= =?utf-8?B?S3ltdWoybjFWNFJhNWRpcHR0clkxUk5WWEpqSzdCajBabFlMMWZpQUoyQkFH?= =?utf-8?B?OHB6aDRmcU4wdmpyQU03NGt5cUIyUmJWYU1LcEZDZ1Q1eitEQ2hnb2JTRDJw?= =?utf-8?B?SUhrSUZkOTl3azVCRnpBWjlURlNFK2FYZnVpMTluTGR1RVlNZ2YrZWMxWEhF?= =?utf-8?B?TlRoaTRaaEFvYlJtZG05V2p1T0RVcWJLd2hQbmJodDZ3Qm9JdFNzYkR1MlRn?= =?utf-8?B?ai9RTTNOajNPUVZyV0tlWFUwTlJ1V21NUC84WkVEUEphVGc3Y1RpY3YwQW5H?= =?utf-8?B?ZGZ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OUtHRjVZMEV1VlBtLy9QcGRj?= =?utf-8?B?Qmc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 0b270cb4-5f93-4c72-c5f8-08da8bf078e8 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB0062.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2022 08:03:36.7966 (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: Fq3PTU/Xe7agSRGFFtX+bNiyl6QXu1xbrV7QK7Ni60xM2bUw4BtFaLYJa95dEUL7OAvYNeuuexrttteuotKUgOKYDCb/wuOeJEZ39pZcGNA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB7343 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 8/2/2022 11:21 PM, Hanumanth Pothula wrote: > Presently, rx metadata is sent to PMD by default, leading > to a performance drop as processing for the same in rx path > takes extra cycles. > > Hence, introducing command line argument, 'nic-to-pmd-rx-metadata' > to control passing rx metadata to PMD. By default it’s disabled. > > Signed-off-by: Hanumanth Pothula Acked-by: Aman Singh > v2: > - taken cared alignment issues > - renamed command line argument from rx-metadata to nic-to-pmd-rx-metadata > - renamed variable name from rx-metadata to nic_to_pmd_rx_metadata > --- >