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 A6F8FA0C4B; Fri, 15 Oct 2021 13:29:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F7D0411CB; Fri, 15 Oct 2021 13:29:25 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id C59BB410F1 for ; Fri, 15 Oct 2021 13:29:22 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10137"; a="314094596" X-IronPort-AV: E=Sophos;i="5.85,375,1624345200"; d="scan'208";a="314094596" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2021 04:29:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,375,1624345200"; d="scan'208";a="525408093" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga001.jf.intel.com with ESMTP; 15 Oct 2021 04:29:17 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 15 Oct 2021 04:29:17 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 15 Oct 2021 04:29:17 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.49) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 15 Oct 2021 04:29:16 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CuXEkixQIsVb05RpX1i9k2GUIfxiZBXqCCC24dP6a+CY6X0Dc2mD0ovtFRPV7PClHuXpq3y5EqdkA+heByIX42Yk7Xt5HLSSOJqrwEhoGIUWv/HsvvIIvXOB7DiLQ1gmKodnCFkLNVSSr1uwsZmuna3h5lXgVrUym7Rm5B149yXx1Uu/iUl1Jzo6VfCYw1wNYsUG3gnA+wHTy90IsWGVlCijSGgUFI7WiXVWrIC+DTVqsxMwLzZqtjoj0Ru7tWiyR3WF48CL3RawUrfw3sveZTNL112/ek4CSIhjiVxUYPSQ71j7WpsPhOlW5zkIyQrFhFYg8v2xr+1HgwuqXRsX/A== 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=/S0RqNaTD5x4W6OHVABW1TnUKMHE40WwiKD1Y8H1WrE=; b=fo8zLI9/4BOj1pJhEI+Gf7nxmPsTzmmsQ2836hcg/uS96AyLOJEBzZtVN/fYcaQCDTxoHMi3tHtCkCNmSKvQ3/2uDSOCkzqKSlMAi7TcyxRnPJ7F5j9A+iGRLpY43ac5zGm5yp7dNxO9wU3JCiCYngZxtnSQTI/yjb7UehNTh77bIsIuTPpgzC/1MVAwPHCkzgID2CwP5S4vW7iW9NQVDl9tfTf0JoyP+m/hnmxMzuAqzrjrVV9xLSZ7y1khZaBOR3mEUXx5lANLnTOPOitZgBsCcy9LqrVSTksmrqkO4eWMn+I7xA3HGjC2PUZBMi2SW6/VSmKN5g9Q3WMCaB4SQA== 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=/S0RqNaTD5x4W6OHVABW1TnUKMHE40WwiKD1Y8H1WrE=; b=AZGOuGZUYRAqtBPo5EiXg4PcKh8fqiGYIGQXIvkbtfs4CncuSSXN2t+pat7Cl9YkhaFKDVciqJ/5Q2uhhflI4jEdcnapplZ1iQn6g3Y0iUX0xaMLQscOXlQbNotKC3ujOwZu+7+iLseHz8NpadCukr+98ZXDoVqyWDFYfsGPc6I= 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 PH7PR11MB5819.namprd11.prod.outlook.com (2603:10b6:510:13b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20; Fri, 15 Oct 2021 11:29:16 +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.4608.017; Fri, 15 Oct 2021 11:29:16 +0000 Message-ID: <457be408-5f48-4baa-3b08-3437cd2abd50@intel.com> Date: Fri, 15 Oct 2021 12:29:09 +0100 Content-Language: en-US From: Ferruh Yigit To: Jie Wang , CC: , , , References: <20211012025417.134866-1-jie1x.wang@intel.com> <20211014103124.528877-1-jie1x.wang@intel.com> <86bbee65-4d19-03fc-3df5-6f2f30b50daf@intel.com> X-User: ferruhy In-Reply-To: <86bbee65-4d19-03fc-3df5-6f2f30b50daf@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB6PR07CA0097.eurprd07.prod.outlook.com (2603:10a6:6:2c::11) 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 DB6PR07CA0097.eurprd07.prod.outlook.com (2603:10a6:6:2c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.10 via Frontend Transport; Fri, 15 Oct 2021 11:29:14 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 391c78cd-ff45-478b-402b-08d98fcf051d X-MS-TrafficTypeDiagnostic: PH7PR11MB5819: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:353; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: J7EDBE03deRMOopCqwM9sYV81mVwiboJAglx1+rUP9t2dxvNrinhtkGh/o/jlAykwh40K+Aq0aPRUA0Oiean5u98C8VjTEanlBiTlwxz3/cdxlxAqGpGepc5vwB+TjBgcIkjegNTFastGeXiZ1tUSipdH6AVXYacsWI9XF6sJU8TdUBVaagSpBOv7VKTl/H6LRMhqCIRLxoLzaZaDETGWTrcwjCSltcaDaDVRpdvBig2iSdiRHaDIfmJFJUM/8I5vTPHANwMmEi3MpQ3+9KWm+t9+hdCHvY75NkPSQHhfLr/buynWukTmq7EFbZ2d6MNGxap2anQkljHX+xhIDZIO+dgHjOlFUudG3doM4P1bKGvXjm+hAPZp0sh77FOH1hA2R48DZvpD1VHPogVk/KeqJ95GJGhJGD3PycCpg525g/voEY24if9cPM3WJY4Vt+cgb0T870Vgagl+b0ry65PDcho3GS2rUnFkBRKkxmu+TsipjAZp4f52bIunaMtE5sNrDDtSU9GvolD+7eoc/7fowniEswIQ5QhKgimktrbOb3z/FhMLAomEJuh+lCSb/TC+XydVASnC5LAVTrxXeM6F504xiINsrHjoN0i5FgjpA26kQTF8W27EQj85lvYHw32hqgY7dpYE/Lx3bgdc3n+uwfaswNMIYjl5LvRaVy/NInHcg/sL+wlbbNwDyoIa74ubB/oDU6TL5oc6lwbIvfeKw== 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:(366004)(36756003)(66946007)(82960400001)(2616005)(186003)(38100700002)(31686004)(2906002)(4326008)(31696002)(8676002)(53546011)(86362001)(107886003)(66556008)(83380400001)(956004)(44832011)(8936002)(66476007)(6486002)(508600001)(6666004)(5660300002)(16576012)(316002)(26005)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TTBqWlBvMU5XVmpwUi9Bbjk3YlF3N245WExMaDE4anQzZjZ2ZFNtV29WL2Mr?= =?utf-8?B?bEk5eXYySGNabzJnRTJORjFtejR1QTB2NHpyTzFHa3JGZGtyZlBZcFl3UHo4?= =?utf-8?B?OGhkbWZ0Y1gxNXpoTEFUdDl5N3FyeEVUWFNveDkvc0s3K2dCYmZTVEU5cWhE?= =?utf-8?B?N2YyL2phT1lxL1dvQUVvamV3WlBwdlBhTDFLM1ZpZ0RjNWhVRjJuaDJoWTRG?= =?utf-8?B?VzZtZnFOZ0Z5VmpGbGNRWnRVaTJmVjZLVTMvTFZTSXJEV3gvSkg2VUtLMSt6?= =?utf-8?B?a0VmS2RaL2VuajNad0dFdnY2VW5mOE5OM20wTzdoRjFYVWZKaEh4aVp3OTNl?= =?utf-8?B?UnpLL040NjNjeW9QdktxZzdZR1dzT3p6U0l3Zy9KcE8vUkFhUWlERFlXYUJG?= =?utf-8?B?N3FrR2o1VFNFRG9ZaGZHTnhzUy9GdEtzZDR4eXRINzRya2N5UU1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dlpBbTRz?= =?utf-8?B?SytTRldIekxoY0FGdUw2OFpGNko1blpZV25PQUYzcVRLdlZsWWxxNGxZSHVu?= =?utf-8?B?NFZQVk1CLzYxdmdzejc5ZzNlUEYyMlBEMnhMR3F5Z09yU2x1dzE1cExoU0h4?= =?utf-8?B?RUdEYkoxZEY2aVlxdW11V2s2UHpYSkhCU1VEd1B1ZUlMdDJlbnN5VHBvU2JW?= =?utf-8?B?Z0E3enJPZ1dVUis4MXBFSU94aUttMmJqN1FTV0dZVjMxemZVTkdILzUrd2ty?= =?utf-8?B?bmFyU2VZRG9KdWdTbllwOHNQVjZEemNSSGg3U3FpOVRGVkVIcGpvOVBOZ2Rt?= =?utf-8?B?QzNvSzg5bjFxODFOZVdPNHNzOXVQZ3VPSzhadVJ5N092ZWJDVk5rdnZoNjVj?= =?utf-8?Q?gPXcXGpGKweKZxqMF1mXwanBT1XLEXRBs+1w/jK?= X-MS-Exchange-CrossTenant-Network-Message-Id: 391c78cd-ff45-478b-402b-08d98fcf051d X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2021 11:29:15.9079 (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: MGvqRlU+MnZgV/FGlrkImV5METSdKy02aIuceH6lKLHM8NMsAmgdFWy58gNCOn1Ec3epZ0PEaE2i9LKCOY6Feg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5819 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v13 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/14/2021 1:56 PM, Ferruh Yigit wrote: > On 10/14/2021 11:31 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. >> >> --- >> v13: >>   - update the API comment. >>   - fix the bug that testpmd failed to run test_pf_tx_rx_queue test case. >> 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 > Series applied to dpdk-next-net/main, thanks.