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 7C0A9A0C47; Tue, 12 Oct 2021 16:35:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 084AD410FC; Tue, 12 Oct 2021 16:35:18 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 18D0C410EF for ; Tue, 12 Oct 2021 16:35:15 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10135"; a="214313782" X-IronPort-AV: E=Sophos;i="5.85,367,1624345200"; d="scan'208";a="214313782" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2021 07:35:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,367,1624345200"; d="scan'208";a="486411109" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga007.fm.intel.com with ESMTP; 12 Oct 2021 07:35:14 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 12 Oct 2021 07:35:14 -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.2242.12 via Frontend Transport; Tue, 12 Oct 2021 07:35:14 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.104) 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.2242.12; Tue, 12 Oct 2021 07:35:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ebB/Zu8VAsPIf34OXHRJ42EItD4PiI9cTuGF2iF51QLDAK/0u3WeM7i0x5gj07T5Z/+tTdWMPla9sKWpUxSJ5HQoJMcJh6+lnOyC5ENKuqAnWtEpu/SjJg3wF57NMw5ze2q8cdFnYcvC24BTFswa64ODeZHM0wJG4E8gJuiuL0xKZ5nuMuh+Nk7a/V3hlw3VRn6KMM/TCApcvRA734y91b9Qd0g6FNbrVYUWpxyvaEy5OqtzrwxzrlBd/eD1QhxHtEet4fW6jekGD7GGrPEwWcxGumP/J3ZogIjmo0Jy4zwxFWroeXU0+7HDZGz+ibK2UkDdtYgaIm2HmSkWwQzXNw== 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=dQByuqJl51hvBpAA9pxpGokSY/s8jA2H1EEq28j7GKU=; b=csZQhcCe33rDw4Tdx23l7/THqNgN4FmmdddljASm/WgMmi6VAr/wWxiC2j1lJqE4cIcLMibpKo+9VQSo7WXKneheK+3KgIBYdytSkqqlCMlfWp9n1RXlVdAnOjAkdhCSewU+XsJt2YZd8qhO34bIuyQ2hVu/h4E73byYJfcM/FDSyNLzq2mS8rztgAaDE6awNnmDZKlO8Uc8lf0vDayESz+dL02z1b1QodDS02f04hHWaKAOHWbNldDWCEFmHlBW41cTyaS90p9EIVx4nCrNRNolJvy/tJ58dhLES7o2HOtp3JRlQMxElPwt8u6J02ZFVcxKxnxX9OMYKbIPNzdC8A== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dQByuqJl51hvBpAA9pxpGokSY/s8jA2H1EEq28j7GKU=; b=SYQOfBKv1HRmxnWLoRu/93sbak4sXF4BJAoj8Cp9ZWYsZ25aD77PG2xSf0fQqDCHtT8gMyS3iLc8KR0rCNqkPMU6Lp8scJpQ5+8DfXjPaoiiLHp4I+Ouk7KGL+S/ddcR431lILtkKq1IA6cN/5vobbot/8s6hl2zrXLWa2xGRqs= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5904.namprd11.prod.outlook.com (2603:10b6:510:14e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20; Tue, 12 Oct 2021 14:35:12 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%5]) with mapi id 15.20.4587.026; Tue, 12 Oct 2021 14:35:12 +0000 Message-ID: <706a3042-7984-a8f2-3481-e2629c51333b@intel.com> Date: Tue, 12 Oct 2021 15:35:05 +0100 Content-Language: en-US To: Jie Wang , CC: , , , References: <20211011180111.99281-1-jie1x.wang@intel.com> <20211012025417.134866-1-jie1x.wang@intel.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211012025417.134866-1-jie1x.wang@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2PR04CA0315.eurprd04.prod.outlook.com (2603:10a6:10:2b5::20) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DU2PR04CA0315.eurprd04.prod.outlook.com (2603:10a6:10:2b5::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.14 via Frontend Transport; Tue, 12 Oct 2021 14:35:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3ba3cc82-e0b7-4f6a-eec7-08d98d8d7fcb X-MS-TrafficTypeDiagnostic: PH0PR11MB5904: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:404; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TXZPqfcE0CRJxzWujj7MHoSW35fM8UjZHUH0og6Vh0s69kL9+xMuIYidgjvXlgbIYO8lovmXyLaZsN6VCrIXY9ZCAXwiEqbzqCO2uc+AO41wSC1exJ7SeZyIEVerS6cu4Hy5zc2BvvbnenRiPf4Fe/5jBlVJzyE2Xrtmpa1hma7S67bcURTRnrzhPyPtWFBkhs1dXaPdVN8/rI0u514YMcV3eYWsRA8EZswuBA/vkdhRGvqmkm07r8FrpkAXQXzR12k+EZw7XtXCzKD/l6qW6tNB8jZo+176V1bYqUQX54xBPJ10OIcDjWU84U3qqRMl4/2B5Cnmh3G0CD/riBmSput/qm9jgOaNS5TY87DFNzqYPl1CQzfbocTh7BjSp3VZmzmAFCwARsaaZkEkfncTSUyd57b7NXq0GpuEOU9w68qJ8UthvTI2CaCtqb1CgRIxq6QrmVacesi0gRRBYmBOpLNa3/UQiOqW6q3VWb99F3oNsB5GihwU1xYP3BgRRPtT+3U93ueN9wMJbEdQJCkek20ava5C39InelcEK8lkw4DBb8pemsQqUraCwJUHv5RjHcM5hLHGGMUCmo76wZ5FH90uSr/6v9l5o7uRdssYm6GkY5ked7HIf+wiQwCLkyHXLnOpPouxEyL8M8LvLpmRZ79wG1KbQryEU+YUVHfBNXOhFPheUubZD2D8glWTXcynIhWRzUPrDsBvLXabEO0vuw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(508600001)(8936002)(66556008)(66476007)(2616005)(16576012)(6486002)(44832011)(4326008)(186003)(5660300002)(2906002)(316002)(6666004)(956004)(53546011)(107886003)(36756003)(31696002)(66946007)(86362001)(8676002)(83380400001)(31686004)(26005)(38100700002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RUJOMEc0ZHpQUDhFeXQ1V0hyVmo5V2hiM1NqUStCOE1HNW0rMENqUEVnZEJE?= =?utf-8?B?YnFwUnJodmhJUnFqa0tKSHczRktUanBpSHNNeHdnR3VzeklBdUNVVlBvUHFi?= =?utf-8?B?eE5lQjN2aUN0MmtYMVJaYTNXOHhlQ3hyRjN1MCttaFpmUEZYcEVrdjFDWjN5?= =?utf-8?B?RUtMa1o5NGtPL2s2NXU5S3ltalFxVloxcVVmZkdhby8zeUhtSnpiNDdGMmlJ?= =?utf-8?B?V0JHMXA5ZEoxV3dZNzhSOTJlcXZTbmkxSUJFNnUyd1N5bGRRSnlPUVlCcTho?= =?utf-8?B?aFVJdkhlbDc4aGhLTUR4RUNxOXdXNmRxeWVsakR4aWFsdHdmSmNqZlYrUmRz?= =?utf-8?B?N3ViSnNUdkJxSFE1eG96eGhDckRsNDhxVTg1NXRVQThEck1qeG5wMnZIM2gx?= =?utf-8?B?Y0M4UkhrYTdsb2tQTU9aREw3RnB6dGZzc0hiL3hIVGZTT3E3TERrckp6U1Qr?= =?utf-8?B?L1Q1TENhRjNQaXF1SVpDUkRveFYzN1YvTG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ucTFyTEVrdm9qaXJyVDMrUXB2VTc1dHlLWDRham1G?= =?utf-8?B?WnR5RFBpcjNPTE40NUpBVEgxeGVpVnRieHpHK01MTWJDQk1TOStuSlZLUmx0?= =?utf-8?B?d1BTSjRhSmRSeFJWUFVZbmpwd0cwQ3NGejVRUTlqVUd6OVhpbUVkZkZTb3hV?= =?utf-8?B?RVNpM1IvbVl5N2lhR2I2NjRCMEplcy9lK2llNUtZTmNXN0I1N2E1Sno2blQ4?= =?utf-8?B?UDBLZ2lFU01PMXZ6R3JMdS9UTDdmWlVPRnBkazY4QUFsaXdoNmlUZFdJS3NG?= =?utf-8?B?aStoWTVsclBxNkJ1SUVkTTVVZWorTlFnWFYwVXlnVFg1dEZrSFhQVnFRTEhn?= =?utf-8?Q?54bMawohiqrWSe81/JxPyGnz31aRyv5+5G7ekM8?= X-MS-Exchange-CrossTenant-Network-Message-Id: 3ba3cc82-e0b7-4f6a-eec7-08d98d8d7fcb X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2021 14:35:12.6041 (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: 9R3OtU6xVQ8Pgmacv0F7s0abuqCXhndX5iH5tETa8P2tyOml3g3PuOP3cd+DSxESuFvfpy6MtF7NvPI3e/CPDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5904 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v12 0/2] testpmd shows incorrect rx_offload configuration 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 Sender: "dev" On 10/12/2021 3:54 AM, Jie Wang wrote: > Launch testpmd with multiple queues, and check rx_offload info. > > When testpmd shows the port configuration, it doesn't show RSS_HASH. > > --- > v12: update the commit log and the API comment. > v11: > - update the commit log. > - rename the function and variable name. > v10: > - update the commit log. > - merge the first two patches. > - rename the new API name. > v9: > - add a release notes update for the new API. > - update the description of the new API. > - optimize the new API. > - optimize the assignment of the offloads. > v8: delete "rte_exit" and just print error log. > v7: > - delete struct "rte_eth_dev_conf_info", and reuse struct "rte_eth_conf". > - add "__rte_experimental" to the new API "rte_eth_dev_conf_info_get" declaration. > v6: split this patch into two patches. > v5: add an API to get device configuration info. > v4: delete the whitespace at the end of the line. > v3: > - check and update the "offloads" of "port->dev_conf.rx/txmode". > - update the commit log. > v2: copy "rx/txmode.offloads", instead of copying the entire struct > "dev->data->dev_conf.rx/txmode". > > Jie Wang (2): > ethdev: add an API to get device configuration > app/testpmd: fix testpmd doesn't show RSS hash offload > For series, Reviewed-by: Ferruh Yigit