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 8C694A00C2; Mon, 22 Aug 2022 07:35:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D9A341132; Mon, 22 Aug 2022 07:35:11 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 7A173410FA for ; Mon, 22 Aug 2022 07:35:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661146509; x=1692682509; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=qNiyZdkQhRH7imQr4MUDk20ClspmehPkH8S0jP2lvmg=; b=TgizY9185NSYedyAAviUcEtk6r3O4MJ3mIUNVS2PJI0YJRltIRYPRhvQ yn5buDDI2o7g/T2jb+Mnb6hye3O70sTtuPRQKCv/9rjcd771m/6MPYnWc OBiinFYtbPkkdXjsfmyBB8UEzS1+E9j1FPGWspGL+n5mia48rBVJk1b0P xP4adu/8ELcVIdNxegYWLk42SLT/QWNu3rE8uezsM+nVpmYIVIwQuSLAq apBEUPG1BkC86F2FauneA+8QzkCsRu4oScCKe1uharCpu3C3G3EGbGl+0 ZBJ4rbrF42r9gfWomwzloLAKF1u60ryJe+a04q20dUNidFEwErX3xbUU8 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10446"; a="293322604" X-IronPort-AV: E=Sophos;i="5.93,254,1654585200"; d="scan'208";a="293322604" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Aug 2022 22:34:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,254,1654585200"; d="scan'208";a="641891188" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga001.jf.intel.com with ESMTP; 21 Aug 2022 22:34:58 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sun, 21 Aug 2022 22:34:57 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sun, 21 Aug 2022 22:34:57 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Sun, 21 Aug 2022 22:34:57 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Sun, 21 Aug 2022 22:34:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dxgh4MgcPk9w6ywBRODIj61CTrCslv+BKVkMJEUwrApHhLH5ZdeAkuOUAEiGXQqiqx8RjgWdYOBchq4WCyI3LjTUSoJFbL6O7jv+EY7ACCiWY+uMrJDmuRARJc+tsA1w8WtR+hnbfenGHyBkMtCz51FGBnO/UeWyWsawF7dsM/3E0FRCpZH6WdKmK9F0tFdEwuPOISXAY0XYcfoGooCjz1daWRPNvtei7WSqLQWJwp8saEYS6PaDByTVlDdz2KwzlGeur+O77BP6F+WZgZ2lDOpMpNvIs3ZuoOc6OetNArBdz8GCvwkDe0erRLOZbVN79uviHakj3IOYC1jNdfP9XA== 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=lhjaSoKhd39enVSzdSgNlRqUQvkGQWxSGaKILc3VQ4Q=; b=RUaoS++idxVFsnz7PREq7tv/w0EUfRgQcLRmVYi2LhqSrZi4qGaUVmQDBD4mSoK/LTSdX6IVVlObHQJgOLtfI24kC4slBDlznQOnr4a8Mm4geRQc14Opg6WuHd7u+6Gpav+yo60sdzSjes/JUw85aNpHYoulGp2AhDxyxBpGkXJpfZyZh/H/4u5gloEEa9qbxT89IPP/ZRrD9zd+zwZyeadR7Chfto0Tw4Amp0Tfb/HDiT+bG63a2ofJ1G39Ei5HtZzpxuyF/Txb13qoNJwlAtGBc/ieYge02incZEZ6R8x7Q2VZUnV5DRM6fnhyR01r3zwootl6kWzcVqhKwHG+ZQ== 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 MWHPR11MB1886.namprd11.prod.outlook.com (2603:10b6:300:110::9) by PH8PR11MB6609.namprd11.prod.outlook.com (2603:10b6:510:1cc::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.22; Mon, 22 Aug 2022 05:34:55 +0000 Received: from MWHPR11MB1886.namprd11.prod.outlook.com ([fe80::bc82:3021:8eb2:ca83]) by MWHPR11MB1886.namprd11.prod.outlook.com ([fe80::bc82:3021:8eb2:ca83%10]) with mapi id 15.20.5546.022; Mon, 22 Aug 2022 05:34:55 +0000 From: "Yang, Qiming" To: "Zhang, Qi Z" CC: "dev@dpdk.org" , "Guo, Junfeng" Subject: RE: [PATCH v2 31/70] net/ice/base: move function to internal Thread-Topic: [PATCH v2 31/70] net/ice/base: move function to internal Thread-Index: AQHYsDTY1qndwPTGpE29Yit2EaXrfq26cS8w Date: Mon, 22 Aug 2022 05:34:55 +0000 Message-ID: References: <20220815071306.2910599-1-qi.z.zhang@intel.com> <20220815073206.2917968-1-qi.z.zhang@intel.com> <20220815073206.2917968-32-qi.z.zhang@intel.com> In-Reply-To: <20220815073206.2917968-32-qi.z.zhang@intel.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action 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: ce12612f-4be5-4943-f260-08da84000bb1 x-ms-traffictypediagnostic: PH8PR11MB6609:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +N12e9i2orP5vQuQtDJaxbZANP0jzhZ7qQZT98Vk/shair0a4iGLkVRW9678lwrTljePQ2M14wfugdg5ugfUX8slKDM+MTRffaqvWdny2GPoXPuF7U+aNb1wZzevhhHRQe3m5WOcLcZNd+vUMQQp2jnw4huX8NWesf+uC/Vkwxa7ZyAuBu/0M7rKndGfQr/4THpdJZ/WYl9hksOfXdB36tcpIEGe2gdieh+N43XMpGRkrz7IyrMe9+VTJsKpNNYn+OV5vJrdTrx8oBQ73lXOzK0auz1fyNFlkjmimCD6ft+4PNx6pK3Cx0+UyVbazGMkOlJGzmIcqldr3H/dGZmVcBB7kabHHcQruZaVSqoJF02p+vSGumlGul4COHwfFv/S+prIz9RJFTPOlRcPYOfTPH7frxvEarJgEHxt88SkvPuZtXllZzVMIMlM5I6SFP/CLDT8PTwVWfYGZiscYjL47/lZGt6PSYVCv9dQhY2pgbeIEtg6L+paOft8wFW0N81rwu3He0RSfi/6QJJrRp5DU7xnghaESBrCbWcAVrZHR20l9bVk7s0qSU8MxYrJplP0jmmewR0FUsash/j+hAfyT/bEhhF8r+AtdUZlegkbuJpZv+YUB1vNPU7XpSV7UkqmGLyGftBq+GWFhny4FmHrb4KTn+DRFLSNF8BnQYgwUuDm37h7f9jnwF9XBcnLf9VzcoHri180d5hX+aWuDMZ0SzloOzGDeLSDUoSSSJnn6YI3M2yk0Vxlv3JKLtOidYpknFL4qg/QN9EvYQLLN0DD5Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1886.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(346002)(136003)(366004)(376002)(396003)(39860400002)(55016003)(38100700002)(83380400001)(38070700005)(66556008)(76116006)(66476007)(66446008)(64756008)(6636002)(54906003)(71200400001)(316002)(4326008)(66946007)(8676002)(9686003)(26005)(107886003)(33656002)(86362001)(6506007)(5660300002)(2906002)(53546011)(7696005)(186003)(82960400001)(478600001)(41300700001)(122000001)(52536014)(6862004)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?wnCSH8cPXhU6qDuNl7sgqQcMRjI967Xl5W5FH1v69GNCCggzDjMk4bdZMH4k?= =?us-ascii?Q?9v1MfEWxlQAtJBASejXk0Z4JPtVf/MDqqeGXzdfAe87ZHyq1MHxfv7g/krZS?= =?us-ascii?Q?4fjpDRTduDjXZiB0qm/aDzEVaey6tzuvDgSbXudToKTKkY63KFL7iXowv7TP?= =?us-ascii?Q?FCNUnM2EXnkgSDBXPQxjIoq4VlQpFMNrHziVtYX10cNdTvoXD4f0Q5fkAvxP?= =?us-ascii?Q?iYiMcjvb9GNKEZR9/i1oBvOCJ1U1OFQuiU0J2TxsHF3/fK1N5/mMMprGJKub?= =?us-ascii?Q?1qEWbltK/8b5eXdWOIyd02FcazPidCtg3QRSs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O+NGBw4HnTePkUJ8RA4BLKP/9Twv2q8TGiSolXxatdCIgqVY3g5enMXc?= =?us-ascii?Q?gRH3q3ncCLWBrx3aCYRDqKcdeeUQ9iKNr1ctZ770+Ns1ji7fhlGFmzwsHaZH?= =?us-ascii?Q?vWg7IHRi8drc+XVZ8/g0E9pwzIGGck8ZcS/T/tZsSJcpEtEXEwNuVSLd+48O?= =?us-ascii?Q?vpFSU40SfPM26kSEWZ4ManNxJrhDu4KmnC13dghxYCIHgDGaQIXSq9GJ3KA6?= =?us-ascii?Q?taRHcEHa+od957uZ3ChWh7ofacMgujFDdkbRvIFHkMW2STLLVuYaMlOkjbJz?= =?us-ascii?Q?hCPFTfx1VdUN6kuuYzmhAoEnrbFpT3E8eY4bX7pPjsAXRrejrHiv0QwbpUxa?= =?us-ascii?Q?CgE8vbsENYNCv8K8O+cgsHB2oJW4jzO6LAG6TDEO?= 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: MWHPR11MB1886.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce12612f-4be5-4943-f260-08da84000bb1 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Aug 2022 05:34:55.6799 (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: HtHVPGJEEzLzgh3g3pGKWJn5OjSqbCfYZxcIomuzWashzADsVd5XjizyesEAJQagQZyAi76ZXagMLDMnX14bCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6609 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Zhang, Qi Z > Sent: Monday, August 15, 2022 3:31 PM > To: Yang, Qiming > Cc: dev@dpdk.org; Zhang, Qi Z ; Guo, Junfeng > > Subject: [PATCH v2 31/70] net/ice/base: move function to internal >=20 > The function ice_disable_fd_swap should be defined as static. >=20 > Signed-off-by: Junfeng Guo > Signed-off-by: Qi Zhang > --- > drivers/net/ice/base/ice_flex_pipe.c | 2 +- > drivers/net/ice/base/ice_flex_pipe.h | 1 - > 2 files changed, 1 insertion(+), 2 deletions(-) >=20 > diff --git a/drivers/net/ice/base/ice_flex_pipe.c > b/drivers/net/ice/base/ice_flex_pipe.c > index 0840b976aa..aea0d97b9d 100644 > --- a/drivers/net/ice/base/ice_flex_pipe.c > +++ b/drivers/net/ice/base/ice_flex_pipe.c > @@ -3133,7 +3133,7 @@ ice_add_prof_attrib(struct ice_prof_map *prof, u8 > ptg, u16 ptype, > * @hw: pointer to the HW struct > * @prof_id: profile ID > */ > -void ice_disable_fd_swap(struct ice_hw *hw, u16 prof_id) > +static void ice_disable_fd_swap(struct ice_hw *hw, u16 prof_id) > { > u8 swap_val =3D ICE_SWAP_VALID; > u8 i; > diff --git a/drivers/net/ice/base/ice_flex_pipe.h > b/drivers/net/ice/base/ice_flex_pipe.h > index 777790a9c0..8fde36dfa6 100644 > --- a/drivers/net/ice/base/ice_flex_pipe.h > +++ b/drivers/net/ice/base/ice_flex_pipe.h > @@ -38,7 +38,6 @@ bool ice_hw_ptype_ena(struct ice_hw *hw, u16 ptype); > /* XLT2/VSI group functions */ > enum ice_status > ice_vsig_find_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 *v= sig); > -void ice_disable_fd_swap(struct ice_hw *hw, u16 prof_id); enum ice_stat= us > ice_add_prof(struct ice_hw *hw, enum ice_block blk, u64 id, > ice_bitmap_t *ptypes, const struct ice_ptype_attributes *attr, > -- > 2.31.1 31/70 ~ 50/70 Acked-by: Qiming Yang