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 A7119A00C3; Mon, 8 Jun 2020 04:51:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A31141BEE1; Mon, 8 Jun 2020 04:51:16 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 82D551BEE0; Mon, 8 Jun 2020 04:51:14 +0200 (CEST) IronPort-SDR: BNZkP1QmYp/YXdbJbK1knw1lyBP+mi6rJuGNS0A+iWxQ446VdX0zMAxbVqgfYeFrallP9erDiV ZdBW6IhtFsOQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2020 19:51:13 -0700 IronPort-SDR: IJA2ARuHzbUTSxnHvNpvCTtp91X9Mx/UfW36zInRXkfDoeUB/WJtSgIFh38Y8+2erPKwnwDg0x qiSrJC4LhLVg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,486,1583222400"; d="scan'208";a="305796906" Received: from orsmsx102.amr.corp.intel.com ([10.22.225.129]) by orsmga008.jf.intel.com with ESMTP; 07 Jun 2020 19:51:13 -0700 Received: from orsmsx122.amr.corp.intel.com (10.22.225.227) by ORSMSX102.amr.corp.intel.com (10.22.225.129) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 7 Jun 2020 19:51:12 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX122.amr.corp.intel.com (10.22.225.227) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 7 Jun 2020 19:51:06 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.108) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 7 Jun 2020 19:51:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PrrU2BhwDMkEYnt9JV+mr5Y2pEQnsNaRbPpZivZQYS5a5xkINlDzASEx6Ba8TaICvLdTVtxhUd18oLI+XxY1qgB2WnhjxwItfWQEs0QH62zTqvs9YxOdspJf9IlPzoeWsb0hcfXu64Ttibt/Y8m7IyFXuUwAPbXnIdBfkgUk4sDHScqnf3wCYb4Ii0k7TSP0j1NUGo0QssYN3VHwn0iY2W+2IJTK63XzkBWtDp9DDkaZB3jPtVWimkfUDV5YYesOzYQ3ESP3W4QuYHzkFIrJsGBhtltMnpXgs/qaQvlCeLO8bEyFL4oFpbae0HAhrfN20+JYwRyPQxRs9s+43twmMQ== 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=DOfpj1XqjJDdBLO6AD+sbCOKgW6kiJ3jlK04lEmXnNs=; b=n8G3teU3PgvxLkautoP3neQvNokmD1iIzG2rSPYmwUY3E8smFE8nxD0DmFFW8Q6PrsdrX4wu3OFH3sPYxaVVriR4u78+l3mSdrI71RQh89N6OJV4buIONmZPq3VqsIdt3hBjQljfwf0LyQTL2rBc48TRKO+9ok96Agpv82v5OrbsnlZZoQ7ibyuKRsBxnJts19h3Do6iqXWTQ7ga6CYpyY14fWIdacEPCtJj8ohM0ti00EU4BgoSsFW91V4UF3V8bwIRgqvK+7zjZeTiciB5nFpw8XiStpqlKRdIMRNkGHx20u+U9BaTP14WXQ9qWILEWqMd2wWNHRk6yMdPgjQgmQ== 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=DOfpj1XqjJDdBLO6AD+sbCOKgW6kiJ3jlK04lEmXnNs=; b=m/peHLo9r3xhLyl8rsoOJ3u9g6sAdUep7vV/QX17/zMegUzOjQ+Ciud7LE0wvChTyG6qB7HiTwt/lql94/EsfwAjEBkQK0V5BxafeYTuedDkAK0ND/UGUFOjma02PxzGuk4FY+eSxuDxtSs1zt+Q6vAtfHYifpcRp0f5Fi0yCn0= Received: from BN6PR11MB0017.namprd11.prod.outlook.com (2603:10b6:405:6c::34) by BN6PR11MB3857.namprd11.prod.outlook.com (2603:10b6:405:79::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18; Mon, 8 Jun 2020 02:51:04 +0000 Received: from BN6PR11MB0017.namprd11.prod.outlook.com ([fe80::c8eb:f4c9:5b58:3120]) by BN6PR11MB0017.namprd11.prod.outlook.com ([fe80::c8eb:f4c9:5b58:3120%6]) with mapi id 15.20.3066.023; Mon, 8 Jun 2020 02:51:04 +0000 From: "Yang, Qiming" To: "Zhang, Qi Z" CC: "dev@dpdk.org" , "Ye, Xiaolong" , "stable@dpdk.org" , "Zhao1, Wei" , "Stillwell Jr, Paul M" Thread-Topic: [PATCH 49/52] net/ice/base: fix uninitialized flag Thread-Index: AQHWOVAOy6Nr9iQoRUSLkZtZQNCGR6jOC5PQ Date: Mon, 8 Jun 2020 02:51:04 +0000 Message-ID: References: <20200603024016.30636-1-qi.z.zhang@intel.com> <20200603024016.30636-50-qi.z.zhang@intel.com> In-Reply-To: <20200603024016.30636-50-qi.z.zhang@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.55.46.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 67f52283-e939-45f7-2f2e-08d80b56c967 x-ms-traffictypediagnostic: BN6PR11MB3857: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-forefront-prvs: 042857DBB5 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /2IL6XSaFmfMcXbgV5O1ewQvygJdyGk+cukkQv9ifoxi1tv9Xj0T6TR+fOuihtOmNFG1QOMOadHGGYDkNwGeuoRaSQ2eYPRO5pr+JrpgRTOMZXaSeGNuwJhsy2Mx3rj9I98Gys2ToR+1E+Q+Uvz63UL7FFCI4BSKa+5/dSP/DtszOYcHa5AUWncYPp+4yG/s6rpZIw8YMijD5mfFh4IhvBSUzRT6JLwMSbTXxzlHHsgNXpCS2a/O2z77+k8U2obeRsjFIcPsvKZLDPaYBDDtCpKVgPaOLExwbAls7xzM+An1JQwDmTlNbUp7r03IpaJh x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB0017.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(396003)(346002)(376002)(136003)(39860400002)(366004)(52536014)(2906002)(33656002)(8676002)(71200400001)(76116006)(86362001)(8936002)(5660300002)(55016002)(186003)(26005)(53546011)(450100002)(6862004)(107886003)(6506007)(7696005)(66946007)(6636002)(478600001)(66556008)(316002)(66446008)(66476007)(64756008)(54906003)(9686003)(4326008)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: PNDwZgT5FO6uLlrWkX26jrai3/QMkydB/CUORL3PCl0PkflcwQSdtZ1oYH5ayeUk5+YXzf+620uIg9YTF0xTlQfTZ9alzdlO232hWB+8gvH7ct8R1K9zVpOj9LYly6BsoH8+VSDu7hsK3BBNiKapnCVN0NrOnnW4hbGxv/PNydbrfEd7c1dy17TkCq1FFOHxToTKPpAylmOkAF8NXWVNPAyeR9N33+EXTb1Q0SeS18ynIqojPj4TnypVx7HNsLliixmS2Be69RiEGBF7tpZJpJLLqaeD3jBARJJmxcqx794wiuYrFBCJtganvZefRE4Ouqh8d1aknAq8EAwfAfPhO9QtDIi5qS4IODPiYsrOqWXU0gpzLsB/87uHYf8bhjwiHQBKJcLjZ9Qj0/7TywaWDhjliZKgiYFbx27StkH8W+IEY0aewH85mu/TZwMJqt6npk7MR4ho5iezWZR8lEbQCMHZgKciJF/S7anDq+2/Krk= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 67f52283-e939-45f7-2f2e-08d80b56c967 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2020 02:51:04.4922 (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: 2NT3tpLoWW4jWJfiUQO2NXUAizp8KEGlHZOW7qYYBDo08NJ6nhy2Sf0+rzsbGBNdIYsNrYnvgAz6BzeWhydnCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB3857 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 49/52] net/ice/base: fix uninitialized flag X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Hi, Qi > -----Original Message----- > From: Zhang, Qi Z > Sent: Wednesday, June 3, 2020 10:40 > To: Yang, Qiming > Cc: dev@dpdk.org; Ye, Xiaolong ; Zhang, Qi Z > ; stable@dpdk.org; Zhao1, Wei > ; Stillwell Jr, Paul M > Subject: [PATCH 49/52] net/ice/base: fix uninitialized flag >=20 > This patch add initialization for prof_res_bm_init flag to zero in order = that the > possible resource for fv in the files can be initialized. What's the 'fv' means? =20 >=20 > Fixes: 453d087ccaff ("net/ice/base: add common functions") > Cc: stable@dpdk.org >=20 > Signed-off-by: Wei Zhao > Signed-off-by: Paul M. Stillwell Jr > Signed-off-by: Qi Zhang > --- > drivers/net/ice/base/ice_common.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/net/ice/base/ice_common.c > b/drivers/net/ice/base/ice_common.c > index 54112e8f2..baaeee321 100644 > --- a/drivers/net/ice/base/ice_common.c > +++ b/drivers/net/ice/base/ice_common.c > @@ -536,6 +536,7 @@ enum ice_status ice_init_fltr_mgmt_struct(struct > ice_hw *hw) > return ICE_ERR_NO_MEMORY; >=20 > INIT_LIST_HEAD(&sw->vsi_list_map_head); > + sw->prof_res_bm_init =3D 0; >=20 > status =3D ice_init_def_sw_recp(hw, &hw->switch_info->recp_list); > if (status) { > -- > 2.13.6