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 37347A0C43; Tue, 10 Aug 2021 06:46:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2582F40DDD; Tue, 10 Aug 2021 06:46:49 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id DAB0240DDD for ; Tue, 10 Aug 2021 06:46:47 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10070"; a="236837331" X-IronPort-AV: E=Sophos;i="5.84,309,1620716400"; d="scan'208";a="236837331" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2021 21:46:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,309,1620716400"; d="scan'208";a="570661689" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga004.jf.intel.com with ESMTP; 09 Aug 2021 21:46:46 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 9 Aug 2021 21:46:46 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 9 Aug 2021 21:46:46 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.2242.10 via Frontend Transport; Mon, 9 Aug 2021 21:46:46 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.44) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Mon, 9 Aug 2021 21:46:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QSedBJig8rOskbsEG7ybwo+JPM7djiOJAbue0QppLxS5hRbU7O02gj4+TrHxNJ4jyEdXYgRLIyCOm9lIngnkdxOy/SOU6bXc6+ijCd/u70scI6kjrJneoGYSDcjOT/4BmnmoOveEg9Fv4qBK56A1tef39W13hHnK/b5QKLkM2oKw/tyzHNnUvCqNULnC//3LMbiNjySvcT5qxl156BuJhWc3pRnHjilS7N8OCRv5cWGmyZPySPNZUB8Ga65NX4+DUq0fV15wmpTZ7xwXolkzK4GMM3kUsHB+/Sa7lb8tClzPTAqXv3QZ6aEq4kptOQ3L1ClbJA/pCtYLxl9bc7XWJQ== 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=WdKBmi2fPs0J15LQxFE8vIV4unpM2SFnnyEfJRovTLA=; b=Nb5q4SpFiIptWtlrh6kxyYGeP/HZpfNc5Ll2XCxr9dIT+pomGvu0x+4hpnNgwT9xPBePip77YZ+5Yd0pNbMt4c8lCV6XugJ1f9KAwuNomC+2kOTs4ehqgs7VGpfcKFQPrPCaTf8klBcGAXeMAREMnJdpQpqYubF5SeUukTP2JSuS6A4+SGLRuxBdFGSgClyzNx+naEhLikbrRlzbOQ/lWQTDmKGzVXrtG9gvKMTQuFh3MKSygOtXZQZF2otQND4MQz6yL2Qh2PwOyKn96uCA0S0YJFIKyhFT95c51+i1THaBh+bAUnck/wSEISV3N88AI+QNsNBrr7WefwjOM9If5A== 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=WdKBmi2fPs0J15LQxFE8vIV4unpM2SFnnyEfJRovTLA=; b=Lzj3o7g8l8lSeaRC7JK7220QVMI5emd2qLKqjHJlVvU9L1XcRhji8IRV6paGTeOZ7pGQ6DAfo+xtWjafb+nkHwaNcIQ4o2H2yCOJewuCnwHnCwoT3f5WdVQ7yjeLmF2mKoqa7f4NTBXRzOv+07MK1FQsZJNvs2nXIwykWhcb+hk= Received: from DM6PR11MB3723.namprd11.prod.outlook.com (2603:10b6:5:13f::25) by DM4PR11MB5389.namprd11.prod.outlook.com (2603:10b6:5:394::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.18; Tue, 10 Aug 2021 04:46:43 +0000 Received: from DM6PR11MB3723.namprd11.prod.outlook.com ([fe80::1c0c:7480:b096:196d]) by DM6PR11MB3723.namprd11.prod.outlook.com ([fe80::1c0c:7480:b096:196d%5]) with mapi id 15.20.4394.023; Tue, 10 Aug 2021 04:46:43 +0000 From: "Guo, Junfeng" To: "Zhang, Qi Z" , "Yang, Qiming" CC: "dev@dpdk.org" , "Venkataramanan, Anirudh" Thread-Topic: [PATCH 26/28] net/ice/base: rename and add a setter function Thread-Index: AQHXjZJhWz/Lsbp0I0Kup8Diazgv6qtsKieg Date: Tue, 10 Aug 2021 04:46:43 +0000 Message-ID: References: <20210810025140.1698163-1-qi.z.zhang@intel.com> <20210810025140.1698163-27-qi.z.zhang@intel.com> In-Reply-To: <20210810025140.1698163-27-qi.z.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9cd2357c-7be5-400f-638b-08d95bb9da2f x-ms-traffictypediagnostic: DM4PR11MB5389: 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:3044; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qRdl9/v4opHDb0dKavXePP6wM43l/koHiW1SYDWpUeqXxvVmEjiKiRwmJC7a1+69oYHwOGjkT9ONW5y3zLlqiiPyj48IZyMbV1psD3eKmt3l9wcL98SqaMPw5QJWFv0wA1UEjaByEFpW14Fs0NE2VxfckNRraWzLCW3t48hITSlnw2rXqtzuTgRMcFiHJkWSIm3Biso8G5YsxsnZHbXnYuYJ5xSXLuaKYrZ/5vaHL0bmPJ9gRFKpy3glR95oTn6ye8khQwVUZkqLlKCWfKV7z+eWKYgRqmEfEeRVzwN2saXXSKtxB7FPZ5iTHQm6NHOWQ08DZjnHpvSnjZPPcdQQMNoUX6gAhpYeVyQtIaX2pn0ZoNJ8oBgbmPw876HyAj+mKG7M33kLlqHI+1kRLteVMnzUTppi1FmSk/JyEqtU8Y1zSD4p74r1iUl7L+YUa+jphFItr9acv2O6VNMcErPBibdPq4NYlNv0vOtLkAhn5qq5Yt5Q2s0PCBysPfRxvdxkpxTA6+aXowvHuyP1FTA0aliMKa+4HiEm7JLr/zqEFQUmQMKKyeNb6e1Y8l6SEiEy9aB/sjEtkgqI49TovL+c77Kq4++Ax3AFLF1oxd/dkEiNDjcBkw03aRz4t7KA9eV2/pUPsrRebf2/EtNpqHVfCKUSrfLmbNu1X4F2Uxv38Xc5Qy1Ed5M2k62jw9ugZp8mgs+rq09zi+KW4vLrJEFw2w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3723.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(396003)(366004)(136003)(346002)(39850400004)(122000001)(110136005)(54906003)(38070700005)(7696005)(107886003)(186003)(38100700002)(316002)(8936002)(6636002)(71200400001)(4744005)(6506007)(5660300002)(478600001)(2906002)(53546011)(52536014)(66946007)(64756008)(66556008)(66476007)(33656002)(9686003)(86362001)(83380400001)(66446008)(76116006)(55016002)(26005)(4326008)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?VEEIfRrCMZIIRb78U7T679XycrMzm/WFuNPi9iSHgoDrg4QD8FVPHzk9GSu/?= =?us-ascii?Q?y8A1lyilvRTvp5JdAElwCgNJOxMd5YY97z1Di+Wy7wEkkob3t+6wGzo2gY4T?= =?us-ascii?Q?v4hvE10EUvF3cesT53efyrVMDPpmZW2Bd4bJJpEtuvHvm6pBpTLmLzDAxuxG?= =?us-ascii?Q?igEUEyPzrU+zVFbEW17OsF9U/PLpMGEvG5+tDw1bwr+a/cPmv0HE4BdHmyew?= =?us-ascii?Q?0lNP75AZZScT+M+BjQH1m4WWpffS0hsG1+ETIq6iLMeu1Nzltymz0+EfAUWW?= =?us-ascii?Q?gyo6igPSCVKd2q4TgWCl0JD7FVY7y6dPNEqyXC6Nl4cYf7UaraJ5Ycz7Al/Z?= =?us-ascii?Q?tZcQ1mbkAzZOeEg93Wm4aSbThJoxPi0yHYGLKOgzBYQsIRtTC7Fcaed34SeS?= =?us-ascii?Q?PcRM6bWHEvkEyvvbD0eAeGatyT4N25io8AKAtwOIVszQDdToCmC7cjyyQCkg?= =?us-ascii?Q?t0fqP7VEj5ECoS09TUkpcF/+VCPzTFfhcpaHMFqgKxoBImjIKGQkDqxqYwwm?= =?us-ascii?Q?Gk1KLjTBpoW0QHz/yRLrqkKux6iHSDg0MOTEo2t2I/LIPPPcr3jBu+5sylhH?= =?us-ascii?Q?LJXsTej6XHTIoBFLQKutjWJx6GuGgrzFJyxJQnCMd4rW/hj4UQLBkpsaIMac?= =?us-ascii?Q?A81juPLj371xdAAZVoa4Lxq7xgJpTvw8gihvnbiI50nYJRGmFWA8dvacbBbW?= =?us-ascii?Q?21HFLOlS/cLRw3SmpiyirQFxlGIeww7kdKOA8/QuLOAnJksRlj2GNRJoGqBt?= =?us-ascii?Q?PVZ8Tle/IMyZv6p4AfJewYQQeoaYcOawYTU3NtFOFotPk7ulQ21dTsat5I72?= =?us-ascii?Q?xt8IiDxnVgZ0Gy0yoIHyYdMEX2okVLMCkwaPUbydKihfZM2snKiHS9/xFUWk?= =?us-ascii?Q?mcfdDKsq+s9IJoN8CAP8KkJe9+myPWrA8VFSSQmTGdhE7i+8v6zZT9dtHxwy?= =?us-ascii?Q?c2ZFwnsVfDU7QWNYDu0Mii0VIED3fdnk4XlTtth2K6yLV4CHvlORjvkfxBpD?= =?us-ascii?Q?wSmmr7m+/odrM4k1d7PEGbO8KOu7IN1ZCs97izf1nZ/8wjqTKM43Ja35VPSZ?= =?us-ascii?Q?3uS1jVHjYvISh87/uyPLofEKvlxtLUzH6dd0Hs4jM2ZP1+wCZyQQx5yBr9/l?= =?us-ascii?Q?CbVuCW2fAi7S/6MRPtmNfcqSLQJCvZO1+v93LOv2iVONG69iAoooZ5zAUIXH?= =?us-ascii?Q?8Kj92Z13AD1maHUKEklEHlD4/2Vscv+b6278jNuOLJe9NoqsU/YR8Z7viakq?= =?us-ascii?Q?pnnnbvDF/AS1B2Axj3/xtaQodRVFAesvno1RuN1SdoZ/+Z1s2nRST6/RR1Kl?= =?us-ascii?Q?Xt+uo/7/CF3h3kljuVsXgXvN?= 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: DM6PR11MB3723.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9cd2357c-7be5-400f-638b-08d95bb9da2f X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Aug 2021 04:46:43.5742 (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: bs+BypLA+/TvWnFeAXTV0I1MFRAN+Y5Mx1b5h6CEO/rWQQpmClpinIC+D7sqSdp8WAmlLj/i7B6vxREp2SOVQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5389 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 26/28] net/ice/base: rename and add a setter function 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" > -----Original Message----- > From: Zhang, Qi Z > Sent: Tuesday, August 10, 2021 10:52 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > ; Venkataramanan, Anirudh > > Subject: [PATCH 26/28] net/ice/base: rename and add a setter function >=20 > Rename ucast_shared to umac_shared, as "umac" is a more widely > used shorthand for "unicast MAC". >=20 > Also add a helper function to set this flag. This helper is > expected to be called by core drivers. >=20 > Signed-off-by: Anirudh Venkataramanan > > Signed-off-by: Qi Zhang > --- > drivers/net/ice/base/ice_common.c | 11 +++++++++++ > drivers/net/ice/base/ice_common.h | 1 + > drivers/net/ice/base/ice_switch.c | 8 ++++---- > drivers/net/ice/base/ice_type.h | 3 ++- > 4 files changed, 18 insertions(+), 5 deletions(-) >=20 > -- > 2.26.2 Acked-by: Junfeng Guo Regards, Junfeng Guo