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 5E8ABA0C46; Tue, 31 Aug 2021 09:05:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D650410E8; Tue, 31 Aug 2021 09:05:01 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 6EFE8406A2; Tue, 31 Aug 2021 09:04:59 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10092"; a="218460152" X-IronPort-AV: E=Sophos;i="5.84,365,1620716400"; d="scan'208";a="218460152" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2021 00:04:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,365,1620716400"; d="scan'208";a="577031300" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga004.jf.intel.com with ESMTP; 31 Aug 2021 00:04:58 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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.2242.12; Tue, 31 Aug 2021 00:04:58 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Tue, 31 Aug 2021 00:04:58 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.173) 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.2242.10; Tue, 31 Aug 2021 00:04:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qx7g96UwT73HndnwPQaKdOEejrm9oUbDKe1XmWqeQf7B4DGf1k4CE1eR5ZXN6ANtetuBWf8Cj35I1OhuLGa+Sn7aMm4ZyEYyqEFv4btSgbusLzNoprWYPehD/L6aGU2M5GDUiUJFQUMq2T49yl7tsWErnz5eF69iYqmSSrhsqc7ZTHKeVPEO+UfUBwYRr3LDMDCTkT2mxhD+jCAtZgnI8nm/CD0vSmZ9qbi8Pgr+eGrVQcXXrkONmwqFlg2kQBb3K6nqwRrFzHLLdKeafX2L8zwccSq2mLT07fXluFYboyt/kzHiRu4h9rXCYQxdnEw3nO+EJ8ghU6tAxA/pBdJOTw== 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=M3FKbtkeGunJ8ZY4RzfiihpQKkB+Xk0kSyGi0BKS73A=; b=AblAAqPbIdGNUxhPPBQODZKyxBkcrnz7tADeT4VJKl50PopA2Fno7jgZTx3QM/P06kyTCF1FvZcr6D6L0zpd0hujt2YfPfbGSuO5/R7JFW86G4dF9h6/RIBnwz5CxC6uQ0XOe9JeaQHBeWEYKzDLCk6IB2SzgjD++40t7qi3EfIWeiMTcWwZk9vf6G2hco4ojmJG+lyZXFHheaPQDDOa230HktfZ7SPlZibaWc/uW1oqeHGjKM2eKzvzWuC5qU57Ana/GgMB3YFEb435s8I5sYsMTyhE4Oz5cz6+t56X1nRk8POmX4GlNgxLlg3sdn7NFIAHUhXnNG4uZ9NYl+GhDQ== 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=M3FKbtkeGunJ8ZY4RzfiihpQKkB+Xk0kSyGi0BKS73A=; b=KJIGqKDZaxaisUtx1dcblVv7eWe1BbzkMcklHNM4InJgwEgujVJKW14BwdEI6bXKC7AsIUi926nmIilKgbtj1zQDlWXr2tCmsKZqtXnyxcfE38DmuvHOhi4Odn+Mdlv+tQcMWpez3/agwdwAdXwyaaAsXL4+7SFDyS1+j+DhVcc= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN6PR11MB1441.namprd11.prod.outlook.com (2603:10b6:405:b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.17; Tue, 31 Aug 2021 07:04:48 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::f93f:9c9f:be17:ba75]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::f93f:9c9f:be17:ba75%3]) with mapi id 15.20.4457.024; Tue, 31 Aug 2021 07:04:48 +0000 From: "Wang, Haiyue" To: "Yu, DapengX" , "Yang, Qiming" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/ice/base: get PF ID of VF's parent Thread-Index: AQHXnjUgNZpSA1zVE0aTlLOgSbmVAKuNMGvw Date: Tue, 31 Aug 2021 07:04:48 +0000 Message-ID: References: <20210818083226.795256-1-dapengx.yu@intel.com> <20210831065417.545339-1-dapengx.yu@intel.com> In-Reply-To: <20210831065417.545339-1-dapengx.yu@intel.com> Accept-Language: zh-CN, 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.6.0.76 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: aef167d0-f3b3-4600-b6e8-08d96c4d9edc x-ms-traffictypediagnostic: BN6PR11MB1441: 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:341; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: G822Vx9l62KK1zFypm1Ru8xcLYEC3KBccSNdiMwPLAm7h6MXOPEbSx3HCh6UROBYAt3ro8ZcxqU3qvk0NfES1EzJ0CrRosqK5lAwec0Tixp3Zhr8Iuv/sEHmQ/THBa9Shc5oLeZRCNkNSFep4aYEeqfE2G3pjOGxz0i0W1srNEz47RAgQbnuceg6gcqFyTtEdAmvqYm1011XI7UkeRck03h/RwNcCSHt0HyEbXc+6DgvvRiZa2mbgaVD1zslAsZOgfxY2rfLw9nLqChEYPtO4JC/588MbE6v2DzMklkoeyMqN5BdboEk6qK8ydTQq4xV1vdl2y159auCoAlbBfuQoR85gatZDPEWx27Cj1SLDIxAUvWNb4lfZCSsKkJ6qkqSxUqwEtOFlJQdpAdNjE/miMshZD9o+qKQlqtCp1vXNuBzv/+Fny5tasYoJSMh2r4m0NZwwtxUUqe8jt7mjjh7/FyjTwgjxZ/y1TY0njfMNqTUbsTzyaSruFGJEeIOiZYHEjAE1mtLpCv4Dugq/7ph1609NDhMfvdYHj1GnB0k/YBnLlreK7Fvfl7t1iJb4L4vjnLQM7/71d6C5PwNVJAeG/9sYDEFria60/AtRB62Jhn4ko6eO848vmbfsk4a4FozJJn7QvbFBZqlmaDa7tx9EjEXb1z9FpPc9kS8x8S+eP4Xzbh95o7/zW7TuB9uT9Y0hjOwlXCYCnxsdPjpmcTIHA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(136003)(346002)(366004)(39860400002)(2906002)(7696005)(53546011)(64756008)(33656002)(6506007)(55016002)(66556008)(9686003)(38070700005)(86362001)(71200400001)(66476007)(5660300002)(83380400001)(478600001)(4744005)(110136005)(450100002)(122000001)(316002)(26005)(66946007)(6636002)(52536014)(8936002)(38100700002)(76116006)(186003)(66446008)(4326008)(8676002)(54906003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?UlwXPFU4OunwOuEESR9kDYpnrNDbopSEHiecZTg8QI37STyveBP0jGEY0fvU?= =?us-ascii?Q?xwQhaHzPCa0L76Fv2UbLPvPXWfFYo48KD+gb6mJUL9WmnLPI0Eh3VnfwpO/Y?= =?us-ascii?Q?+bjzNuM7Z77lgzwbqcZPT2+LyC8qntBX5YS3ypTRBkstNBAbFy/HO4VK2YsP?= =?us-ascii?Q?0OwDI/ggY1hoOCwACvhpKFHvMQLhdZfhm75LwuJUdv2pqTrsjQMFHelGzDfZ?= =?us-ascii?Q?9lFydvg5wBLSWYZE3a1/0RfGlbl24dljpXRMOF3Y5zE3C9xzhT2JFpkXyRZE?= =?us-ascii?Q?yZezjvgNsg4ChItPNYhUkhn5EQ6MqZ+alXrlUof8REijG3Cgvhq8aPk99Js3?= =?us-ascii?Q?jMf8mN9jp44PP0/GBScvNejiKu9flRpwtVyBdrUeQpgqpsiJPl9tXuyR63yz?= =?us-ascii?Q?tivBLeQLcfdbXqMpQq9W5PTTnfy7vg0Lr8XlUGjN4/Rw6UivmDtN5xmV2Aen?= =?us-ascii?Q?IcPK6+iW4IeHgOlXuZNdIqMS0GA7DkkO3/XbtVRAfSKGNYMjMjPZXw7bV4ky?= =?us-ascii?Q?bqkCYpRKmZikvI8Sel7W2Ut7Z+P8mcOxegAZx0frym3ZIcxMTLY1hvVoDUXh?= =?us-ascii?Q?ZfkIOnLIr8c5G3HRIhZOMut/LhuB+w2dmB1e0UPsjrgH9GxlSXLrQaGuDwjj?= =?us-ascii?Q?FXLHAmC1eO+GFlv8hZoPXUPXItXCpk91O7rSa6JevCElZasUWXCzj0mHXuaE?= =?us-ascii?Q?Jl/DRN4Fml6tQwFpiekorxaJjQq+0mcpAGNeXT/Ig/nPNvawau+u1H/j3ZPU?= =?us-ascii?Q?UOfaCnwKvGC+O3QQLhDaughX0W8UxjuLPXT5cPCSDhLQlZeoU+au/aghj0Gq?= =?us-ascii?Q?xCloKSzbJdfZ7k4v/GCKsinkv3yUURQyu0lQPPt+H0iQS/qi/pSJfsYOLnhC?= =?us-ascii?Q?DBYm1KcJVRCWzpD3Jbu30MUQZu5IuMpYfd9DKec3C2uij744jiSHbRm3OcoE?= =?us-ascii?Q?ZqzuSoZ9fD0DHAheaHVAoi4N16evmaXpi8HpqaWod8gWMvtPR2STvpL8SVE0?= =?us-ascii?Q?DYvEZiuT5Qb/HiconCo+stDRvPUKXG9p9efA7vLOMZz4XujkCXlN/6KL1HN+?= =?us-ascii?Q?L7uyexSOKMjHEPOrNdS1HIWLw1d+mmJS1Ccve7rHhM2CxLSf45vtz4X5lAOO?= =?us-ascii?Q?Zcw+3CMhcWmAOy+u71I/rke/u4OYDXqWVdlVSTewINN9qKBiu4NSuQg+t0/8?= =?us-ascii?Q?2AD+IZX6oLKxCMGBVgCFKlyKV9taZXP8+ALjcwSYAPG7Q1KjCV1WafKg7z1G?= =?us-ascii?Q?ENvDEBrhXV8wc7HccuCY+z9t62mhkKiHwNVvg5Ji+6glTpGwPHhuQk4GPt58?= =?us-ascii?Q?z9DXs25wRVT57Wi8VV25zxZ9?= 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: BN8PR11MB3795.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aef167d0-f3b3-4600-b6e8-08d96c4d9edc X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Aug 2021 07:04:48.2212 (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: xMkRAJj/WWPaFQap0kcKGuxTVCPaAMqPuKBbhvexb5LqW0u3X6g59ZVqgbTnybeOIh6kq1TWYGSW1x4lkIor0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1441 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] net/ice/base: get PF ID of VF's parent 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: Yu, DapengX > Sent: Tuesday, August 31, 2021 14:54 > To: Yang, Qiming ; Zhang, Qi Z > Cc: dev@dpdk.org; Wang, Haiyue ; Yu, DapengX ; > stable@dpdk.org > Subject: [PATCH v2] net/ice/base: get PF ID of VF's parent >=20 > From: Dapeng Yu >=20 > In original implementation, if DCF is created on PF1, the PF ID is > still 0, but not 1. Without the right PF ID, the ACL will not work. >=20 > This patch makes VF to get its parent's physical function ID. >=20 > Fixes: 0b02c9519432 ("net/ice: handle PF initialization by DCF") > CC: stable@dpdk.org >=20 > Signed-off-by: Dapeng Yu > --- > V2: > * Simplify the code and commit message of V1 > --- > drivers/net/ice/base/ice_switch.c | 3 +++ > 1 file changed, 3 insertions(+) >=20 Acked-by: Haiyue Wang > -- > 2.27.0