From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EC0BCA04D9 for ; Thu, 3 Sep 2020 08:49:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C894E1C0BC; Thu, 3 Sep 2020 08:49:50 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 6F1441C0B1; Thu, 3 Sep 2020 08:49:47 +0200 (CEST) IronPort-SDR: XLI7vEFYGZYCSV28UvnNnpGHlmN0T8R18IHartr24CWbcXJXUTHpkMd4JDYY2YFlK3lLB65Vaj 2dSuMBLINMhA== X-IronPort-AV: E=McAfee;i="6000,8403,9732"; a="158513604" X-IronPort-AV: E=Sophos;i="5.76,385,1592895600"; d="scan'208";a="158513604" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2020 23:49:45 -0700 IronPort-SDR: EdCGZXxJXz2EekS6VE8sxHTiNBcqfedEKvi2p6pU0d+XOvo/RCMrk0ZBQnAmnX6E2V2qKvd84U 9KjRS0doGX5g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,385,1592895600"; d="scan'208";a="283991491" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga008.fm.intel.com with ESMTP; 02 Sep 2020 23:49:45 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 2 Sep 2020 23:49:45 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 2 Sep 2020 23:49:45 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 2 Sep 2020 23:49:45 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.57) 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.1713.5; Wed, 2 Sep 2020 23:49:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LBIO1ZMIcBkU+0CUtnMlkaD+EhJOLZ2eUeN3L81ZkwVrHIBHnZ7KUYIfKkEc53odBOPljX4nSDvdPKUSG/VT+urg7laceji/jZZIiH9A125cBLSZDQ43qlRkEUCrWvO+krid+pZDz4NjaZykFGQyMtsjYx60FuZE4cO0jDZgnfDbA/akj8bjWKeXlLy9Hjc+ePgdo+MESr18hc6y7Afdz2xg9oN1CxIvZQxYuHhqjAg8dSwhysSCcYbHkL4efbWHxNy8dQdU5xE0k/G4cNkX8EcMvzIwswBmk3PPe1vENzvCIrxVKO6+ou3eAiOhPzmONlopWdOhJC1fFaY65x4BqA== 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-SenderADCheck; bh=A3n/J/hp2MhJKKI7mFhHao8mZKL81OCVWnSM8tEvGl0=; b=VriOT9P0NsdyDSh9/lcvrfFrB1J+LYLUIFyQmfTLzLFW+0SYvGnaYQvXeMjPaejAYCk48nBEDaFvrHEDummV89ZWcQgtoOAGNAjpAdZDe0hjMb1f08aPj4j17h9xVvvPoqnGuhTN2WDhEo2mHSmeyqXfAe0tiso4nz8LFV+wXHSHVdTBwkL6iiuRXT8yl+AUBmfomR8mPmLR6W/SE6qB499CZ755JaR9RdIAEkYU4JeHDBogUgjlTGtQN2uuyLuJjB7I5fzBNcLtA5NAoHW+rzjpAeJv9dGDUwzYGue0oFrs6ht6/3HANL1naE9aiPgSg1Hv+vLfjHuNsX1/KPhr/Q== 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=A3n/J/hp2MhJKKI7mFhHao8mZKL81OCVWnSM8tEvGl0=; b=OILxbq9gULWtSJ8GooLCAOb9b1fivlmOAHL8SjUa2d8SpyN0GDEzFmaedion9wZzA4hHPRj9pDFP17zHsVQJJVuZuXeHFr8u5Jq/IoG4xxxNuHP78pxQnhz/7PICo//SzpypDnYCIe5XdA7BD88CjYeAcEAN0/oROKQUIrw+wJE= Received: from MWHPR1101MB2254.namprd11.prod.outlook.com (2603:10b6:301:58::11) by MWHPR1101MB2159.namprd11.prod.outlook.com (2603:10b6:301:53::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19; Thu, 3 Sep 2020 06:49:37 +0000 Received: from MWHPR1101MB2254.namprd11.prod.outlook.com ([fe80::14cb:1c13:1787:6fd9]) by MWHPR1101MB2254.namprd11.prod.outlook.com ([fe80::14cb:1c13:1787:6fd9%12]) with mapi id 15.20.3348.015; Thu, 3 Sep 2020 06:49:37 +0000 From: "Xiao, QimaiX" To: "Xia, Chenbo" , "dev@dpdk.org" CC: "ajit.khaparde@broadcom.com" , "somnath.kotur@broadcom.com" , "kishore.padmanabha@broadcom.com" , "venkatkumar.duvvuru@broadcom.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/bnxt: fix variable size of port id Thread-Index: AQHWajyZsOY9Ft+jjUatlnlQFWKpralWqBLw Date: Thu, 3 Sep 2020 06:49:37 +0000 Message-ID: References: <20200804174147.64473-1-chenbo.xia@intel.com> In-Reply-To: <20200804174147.64473-1-chenbo.xia@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: dae1ea87-d5ff-4592-ccce-08d84fd5867b x-ms-traffictypediagnostic: MWHPR1101MB2159: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:353; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cIhs0KP1k7BYPxTSr1Mpr0KDcHGJBa57K0TeMieh+cD89z1yPw/+B3Su9EbgFL/LCzH5rT0PE+OznMqMWIAa/fi5b7xmzpl55rkYx59FlPg3IbgUL3R3AUlBDYNdsm9WX0yn+EL5Lu+IYjXA7ZW3oESYN8O6cGTeU97VJY979lEjPVyJeJHDbzCDPl/C9UAfDJVyWIiwWj4vvifv9ap4I+GtAJCD/WOBvWDOr7tix0BhSNbLUy+c3EkxBQLz8knVeH3VAvEgWbJd8yAWZGlOqoJhjB6z8p2HYwbR1N7iCrYv0JYOQQIu9NB7MWwJFxrk0QiqVfbW+lEydPnq0AaQPw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR1101MB2254.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(396003)(366004)(346002)(376002)(39860400002)(33656002)(5660300002)(52536014)(2906002)(8676002)(8936002)(71200400001)(478600001)(186003)(26005)(83380400001)(6506007)(110136005)(55016002)(54906003)(4326008)(66946007)(76116006)(66556008)(9686003)(66476007)(7696005)(66446008)(316002)(86362001)(53546011)(64756008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: VHSks4+Z+n85NwjzJJzVSxTCVT6RRgsvkKIMs1CFMINGLc76KbfvHsJIvsgbwzvLpDzmWnX/pCCtLCTEx56s+2s6rFtJ0dsNY8qyO4K1Lg5Q7aBf8kbV9IRz9eMUsn7fbEha+qbb70gAEqfb//OYaTviu7LPhJi8R+t+EIEIgFV2QBy8LHnMsDPJnANXswuRrd5WK7vUkICI1fzWdEjQHjGdCTc5Zrq/4CRfe7W45XUzjB5WI8xQr6AwFXBRjEYb9cP/p959zNDSwfLRMcg/jJCYVe8DQA6yxWWnzs6ZPBG941qx6tIP4KcwVouw5ouYgC+vSnan1SZA5tz399lAby+DCpKGnpqFX1IyKApCp3pzgI+I24P3ZJACiOT18AJhNRAOQW2sdmhTvGkX5bxC8pbGoiMqHjrTvTv7I1/dxBACP8YrAVjma5PgFT1lyOvotVmV6t/Iv++rcTFzgFA3eYXYXr0DdHQQuRdyBs52QwMN1lAuFTwgrVur73uxTKm4gyfr2jIhde/304o/K7n5CCat615C6/6PIWbrpHIWvmICkCokAbDwNJYUmnGBGKuJ6kAcUk9s6m/DS0GylANPwZZIPBl0tJDe4BGl78R+JVNjw8Sn/y0ZJzWwG2qcCFk4FQCyODDoIIBu0KBAgB3ojg== 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: MWHPR1101MB2254.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dae1ea87-d5ff-4592-ccce-08d84fd5867b X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Sep 2020 06:49:37.4194 (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: 77drBY1aR4CsmA8L0DK/GCZDzXX8pDTvxuke74WW9YKbNgIDNSvAV7KuGZoNfv5xSznxL5g1dtkbah7N05c7AQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2159 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/bnxt: fix variable size of port id X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" Tested-by: Xiao, Qimai Regards, Xiao Qimai > -----Original Message----- > From: dev On Behalf Of Chenbo Xia > Sent: Wednesday, August 5, 2020 1:42 AM > To: dev@dpdk.org > Cc: ajit.khaparde@broadcom.com; somnath.kotur@broadcom.com; > kishore.padmanabha@broadcom.com; > venkatkumar.duvvuru@broadcom.com; stable@dpdk.org > Subject: [dpdk-dev] [PATCH] net/bnxt: fix variable size of port id >=20 > Currenly the variable size of ethdev port id is 8 bits. This patch standa= rizes it > to 16 bits. >=20 > Fixes: 769de16872ab ("net/bnxt: fix port default rule create/destroy") > Cc: stable@dpdk.org >=20 > Reported-by: Yinan Wang > Signed-off-by: Chenbo Xia > --- > drivers/net/bnxt/tf_ulp/ulp_def_rules.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/bnxt/tf_ulp/ulp_def_rules.c > b/drivers/net/bnxt/tf_ulp/ulp_def_rules.c > index 9fb1a028f..ff5aed3d7 100644 > --- a/drivers/net/bnxt/tf_ulp/ulp_def_rules.c > +++ b/drivers/net/bnxt/tf_ulp/ulp_def_rules.c > @@ -397,7 +397,7 @@ void > bnxt_ulp_destroy_df_rules(struct bnxt *bp, bool global) { > struct bnxt_ulp_df_rule_info *info; > - uint8_t port_id; > + uint16_t port_id; >=20 > if (!BNXT_TRUFLOW_EN(bp) || > BNXT_ETH_DEV_IS_REPRESENTOR(bp->eth_dev)) > -- > 2.17.1