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 0D955A0351 for ; Thu, 3 Mar 2022 12:54:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF78342774; Thu, 3 Mar 2022 12:54:36 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 73B5340141; Thu, 3 Mar 2022 12:54:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646308474; x=1677844474; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ltTqe06Q4QK67jELMDpe1crpsiLgBWZ3GDO351KWa+o=; b=bHNOE16lwGXibfTQSTsWF3V2MjzQz4C6hEor/ySlVTQjfIXevTbXint5 ScHU4g6WS+LhXRQ3xF33V7Xm2abl1FJr6LQcCpuN4k+9dc99YAWaOiVZg kiz1ceaQzp0m6tZtfkukxozJ5//gSkRwLm6AJncgKCgieHogGPfIkKtqE IW1vchR73PBfaml6cf1lQrvOwPOKxKFpVfRUBkl6SRfLBS4FA1TPWy08J 0xvPVMYa95GIU1FVeNLg8dwzmCLuqWPrY6WDoIOvWx8kDy6Qn2tGZmreM RDrvB6mERcU91cem9yn6uGbW1se7zhXv9JzBnKRndJpyS8QuoLfJEOt3C A==; X-IronPort-AV: E=McAfee;i="6200,9189,10274"; a="252480352" X-IronPort-AV: E=Sophos;i="5.90,151,1643702400"; d="scan'208";a="252480352" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2022 03:54:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,151,1643702400"; d="scan'208";a="779225432" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by fmsmga006.fm.intel.com with ESMTP; 03 Mar 2022 03:54:32 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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.2308.21; Thu, 3 Mar 2022 03:54:32 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 3 Mar 2022 03:54:31 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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.2308.21 via Frontend Transport; Thu, 3 Mar 2022 03:54:31 -0800 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.171) 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.2308.21; Thu, 3 Mar 2022 03:54:27 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iKjXaF1CIUmHi7KGeVVHVwd2Lwn3DXRnrrFyJHDBgEkIauOSIKrY5PGVz/4aBGrKFmuVzWpedi7WhwDGKWy0iMcEuiz3r02k+IKGRg/POJ08NT/QqO8Vd67uMgYtKvoOrlvX2fLz2WxAcRG3WI+TnRJcCggJZ29nbUT7+crVUwrxhywhObI0Byv2hOIFi1vcM361axF3e80iAtt6U1BKiKMVqlYLeTAfPCfC9K8cPGCi3XicyvhQRc28jCjBK1xaQpW3cu/eUIYMJVX8XluUoEiyKt+56kKrLHj9PZuYFTuZWlZthDYsBMGuu+BkbfI9cej0ddscWcmC8W/6ijD7FA== 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=ltTqe06Q4QK67jELMDpe1crpsiLgBWZ3GDO351KWa+o=; b=aXLc5pbB9AUriDJofI6K+EH17Hhye75W+iywkdoHr6pJf9jEBtBP4GPgPdq0t0siHW30xA47Y2nzUxWiPjknz3VnmpiJgEuAx74+ao4D/N463ExJTMdClqe9ECVXuHRHYY20yIRTfX+12ZW27oNzp48QTKUkLnGvjADc8EMvKtclz6GoRH9RQpo3ws/UU3sTXMwV9IqSN5jT3tNnPq/L33Od2XZSUBXbYQdlyv6gCgMHws7U/LkNs/LvCqU1vLPTCHKw/v9aebPwlQcsbjizDpIKDRA+oJ9omIGPyTyDCYP8H+/a+RinmQqWT1KEgAE+Rdlq1XEpffFGcoeZNcEM6A== 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 Received: from PH7PR11MB6006.namprd11.prod.outlook.com (2603:10b6:510:1e1::13) by BY5PR11MB4038.namprd11.prod.outlook.com (2603:10b6:a03:18c::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.24; Thu, 3 Mar 2022 11:54:20 +0000 Received: from PH7PR11MB6006.namprd11.prod.outlook.com ([fe80::a5a9:1f3b:4435:705b]) by PH7PR11MB6006.namprd11.prod.outlook.com ([fe80::a5a9:1f3b:4435:705b%6]) with mapi id 15.20.5017.026; Thu, 3 Mar 2022 11:54:20 +0000 From: "Ling, WeiX" To: Vamsi Attunuru , "dev@dpdk.org" CC: "jerinj@marvell.com" , "ndabilpuram@marvell.com" , "Jiang, YuX" , "stable@dpdk.org" , Srikanth Yalavarthi Subject: RE: [PATCH v2 1/1] common/cnxk: fix static assertion failure Thread-Topic: [PATCH v2 1/1] common/cnxk: fix static assertion failure Thread-Index: AQHYLjwpaVc+AXzBjEaxcOCTDfQj9aytjjmQ Date: Thu, 3 Mar 2022 11:54:20 +0000 Message-ID: References: <20220302120701.2749772-1-vattunuru@marvell.com> <20220302134654.2760076-1-vattunuru@marvell.com> In-Reply-To: <20220302134654.2760076-1-vattunuru@marvell.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 15450bae-d0ef-4e03-728f-08d9fd0c8d60 x-ms-traffictypediagnostic: BY5PR11MB4038:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9ylQusMoUPG/tGR7nTO6bgjR+Mz/eUf07a4rkmCulPSPom17+1o4klWw5/LkRo0QfsrN+MZPTaf8Xh6MzPBSkHiMIn6y1wsqcLBHYV4o2sjvOaMru/QlNzLVFGU7Qa7Q/BygBoY9oghNIdAnFZFWCnTJXTsozlc57+mHQS3VomuHcmUD4CUyhNyZ3/M/ngEmlPsJcp7+9fg5pKBWOG0khNehsaenBSk88OmBfCVdcCFLLGyGEKe83dNICMaOUTdbcyNSV4x91j6LyTUD/79mT4IstOd6k4t13JdNLQhFRsj4hEwaG9wsdVD6aPcWxJL4UbZcjIxTSxXxHWhtVus6MK2bQKnOJ4rCw5c04qFua9XJ9TGwhStcHuNhhltyWSKt/g00hMHG6eLlVJIX14/l52u7rI3iRdvrSWEdHw+ytzebcFZ8Q3AI+8peTMiDdxwIbOVSHFuWrGq4s3hyrpi4ar0QQsa8ZIabxKjqJLPqy66R+BubgfaHWb7PhgbSwLKBTwsU0cyEpN/ZOmEjE06VtmFPbxQBRA/OaAew8cm5Cwwb5hIXHRXgl0UMTTV2SXlGJC7z1x+sLZc1+cfD+0kbUomhZ8qmUMLBvP2MfGROzzql/3eEZhbjbF9Ikd9RqE7EBIHr64xdeSNMoe3CA4GB21qUiXKnH4PSuQ3jGyMUUQfqQBtQOO1xPPctNpBgrezusa0QUGEohB8XQtmemvLgnQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6006.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(86362001)(4744005)(8936002)(71200400001)(53546011)(316002)(9686003)(6506007)(7696005)(186003)(54906003)(110136005)(83380400001)(26005)(66476007)(8676002)(66556008)(33656002)(4326008)(66446008)(64756008)(122000001)(2906002)(508600001)(82960400001)(52536014)(66946007)(76116006)(5660300002)(55016003)(38100700002)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?GG776BGCemxMoX+mKagh35b49nYpWmNeQSv0/UYadXIFtkENiCHKlBTB5gB1?= =?us-ascii?Q?qlhl0cJyhAxVOSK+o47rMP6VNA3Y0kjV1QiqH5EmCwBnrc9j5OeIdtHWK5cO?= =?us-ascii?Q?KhrN1RSrrhwxSHK+K0wgteVbeh5o32D+7eN5XG3RITZ0efz9xItropxH7FGO?= =?us-ascii?Q?TfQ6QjJfNvaDezM3gFux7wOrUscFkdeC89zflwwuQlgRep8bS0Riup4Y+N8T?= =?us-ascii?Q?Il/Iimex/hmfbNXX1b6VBWIw/NcGqgyKWw0XCrKPq9QeDnoLioNYf54kkKSm?= =?us-ascii?Q?Dfu/+Cl7Es1i8ADCDqdVRX4ApqQBAGbOEy690PKzVqiOKXcODwYEfO9lYYUI?= =?us-ascii?Q?RU1iXV7LFNx9m/L/3kewnJZuUoomSjkmRylDsC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jr0vJ0MO/gO4UkRIoFM914iOcQPoF3SVTAtpdztu8o+RLe3?= =?us-ascii?Q?lwxJ2GH22rYNx6ZVij6YYaiPg+zY7xzKlzpSgnbTpwaMnPcadRNkV/VZswn4?= =?us-ascii?Q?b2na5hfIpA9hyYYflDQvSgm35H7l03/QZsAUKgrISuNM2721q9rg4FjQOqIy?= =?us-ascii?Q?QMT5zPY77TF/NZTVsbRSeMsNUT7mDTZdbi7ExeampRLIDhQBzyfYYiN+BvBp?= =?us-ascii?Q?ElA1JRWOJye5pjzmpNIgQZdsxlmIOzbo3LYSiPkjNmPBie4rAKNXUWlWKveU?= =?us-ascii?Q?hlVY6dklWFb9A+e4dkLHiU3T8jWM465pR2g39HlJ24UE0ky0W+098zHjp5Wk?= =?us-ascii?Q?xg=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB6006.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 15450bae-d0ef-4e03-728f-08d9fd0c8d60 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2022 11:54:20.1873 (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: 66TbhY3E/Uig8LtrFl7E8OoCPxBctKDlg7VnuAMLNX27+lqTbXEatdFl+0uHV8/k+wBOD31WML5eNjlAPfLrEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4038 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Vamsi Attunuru > Sent: Wednesday, March 2, 2022 9:47 PM > To: dev@dpdk.org > Cc: jerinj@marvell.com; vattunuru@marvell.com; ndabilpuram@marvell.com; > Jiang, YuX ; stable@dpdk.org; Ling, WeiX > ; Srikanth Yalavarthi > Subject: [PATCH v2 1/1] common/cnxk: fix static assertion failure >=20 > Use dynamically allocated memory for storing soft expiry ring base addres= ses > which fixes the static assertion failure, as the size of dynamic allocati= on > depends on RTE_MAX_ETHPORTS which varies based on the build config. >=20 > Bugzilla ID: 940 > Fixes: d26185716d3f ("net/cnxk: support outbound soft expiry notification= ") > Cc: stable@dpdk.org >=20 > Reported-by: Wei Ling > Reported-by: Yu Jiang > Signed-off-by: Vamsi Attunuru > Signed-off-by: Srikanth Yalavarthi > --- Tested-by: Wei Ling