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 7BD03A0C4F; Thu, 15 Jul 2021 04:15:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F0B440689; Thu, 15 Jul 2021 04:15:46 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id DE0FB4014D; Thu, 15 Jul 2021 04:15:43 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10045"; a="271570009" X-IronPort-AV: E=Sophos;i="5.84,240,1620716400"; d="scan'208";a="271570009" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jul 2021 19:15:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,240,1620716400"; d="scan'208";a="505544908" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga002.fm.intel.com with ESMTP; 14 Jul 2021 19:15:42 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) 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.10; Wed, 14 Jul 2021 19:15:42 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Wed, 14 Jul 2021 19:15:42 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.48) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Wed, 14 Jul 2021 19:15:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EymGXR6LAovczfFtZSAg0VBnZD78aMU06Ua+3sX3dHc8nf7WWoHoLrWTgowFgN6+nGxB1lGd58dwZU9pPzaDOyqaeYFRDnbyTOujAbn/Z4SaytIS1iJfvWOTtJYe3LIKRMLoeq84RDWDjavIuAWobkq+57eEwqPPuJbnDlOrScVppqBNQ0k4BEEH3iN82a+ngwrW135r8QlpL2qekl6YzsjISsrBdSCw4yKgD/zuZlrW6aEeMtodbpD3IRqtNRASKfaZHnXGXLBidenM2C1Yl2jnvUs3WGcMlfAkJz1re7mb3J+AVvKuyMC93pZGBeVIsDkufIoCI3D0fPB79mVItQ== 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=b4nhV8pm+MjOcQLyT73q8OvZTKg/n8jLyyqKeGJXR0I=; b=O1HHFQl4X7e3cBkbg1GQ+P0GHcod7zAfQLcBwETafJ0xSKnSZRIXk+VQ/oGwtPQTDSx/bwzQyKvK7uDBWIxVz3wvc06ZnGgsowLNNFz3pfEZSubYi34x+rAd9Foi8XnuxASeS6azoe/LjiAEprcIZ+1r1gXXJuKQBaPs8a0Mq2zBkqgg/PLSjijyruis9wrJkf92mZ0lx/hcHDBR4eJSkHQm7h0KUKFQh6iJQ6EsZ49ydb+rfMZDIutA8Ofwe3dxxtWPufhvzk+NOoiytAwSjcdK510dh/2p5OGjltxFPztuhF6co5ErPaHEGS9a1quPHfJs8R5FBmeV722RlGVG5g== 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=b4nhV8pm+MjOcQLyT73q8OvZTKg/n8jLyyqKeGJXR0I=; b=mu4+dxUAucaCe1jdUfKn2/SOgnL8JEhFScdQLZHuJtCLwBa0PpWUir7MHysI+VGY9IAdGL2E8Cn8IwSQVu1RnxjtDpqXEaAY4HDxZUdZ8tj+43mdUSFCgtVjzaXud4zthTt5Clh7Jljee7RPYCaEds+q6Q7PJuaPPWC2JejtCqs= Received: from DM4PR11MB5534.namprd11.prod.outlook.com (2603:10b6:5:391::22) by DM6PR11MB4185.namprd11.prod.outlook.com (2603:10b6:5:195::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.21; Thu, 15 Jul 2021 02:15:37 +0000 Received: from DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::87d:1217:a7cc:dd72]) by DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::87d:1217:a7cc:dd72%9]) with mapi id 15.20.4308.027; Thu, 15 Jul 2021 02:15:37 +0000 From: "Li, Xiaoyun" To: "Zhang, Yuying" , "dev@dpdk.org" , "Zhang, Qi Z" CC: "stable@dpdk.org" Thread-Topic: [PATCH v1] app/testpmd: fix port MAC address after resetting port Thread-Index: AQHXeFjEfHd/RgRf7k2Q0I0tn6WB0KtDTUhg Date: Thu, 15 Jul 2021 02:15:37 +0000 Message-ID: References: <20210714022027.940655-1-yuying.zhang@intel.com> In-Reply-To: <20210714022027.940655-1-yuying.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-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1bfcbae3-6dae-45bf-c8e0-08d947366fa2 x-ms-traffictypediagnostic: DM6PR11MB4185: 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-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DfHhxkr/nWdtnm2vSZqlHcNH9aN0eMAmmilBkHDr51UQvII9jHvNYcH1bTkcrcRS2O2R5v8EazpoOn5Uav32KXannzIEIi1V4Xkt4DmJ2BTKcq2SCSNl2t5nkxQEPbwY0qOpNuMdGXiBeR1L3/ZG3BUZCBa5fMbC+PXVAcn8KVKrJJN/hXYqshWdighu4Jq2Zw8SJEOgWRrPhCncFfhBYQ+7lMN6uhxHHIjAPW9WfwMiegtuTLYXFEEOIUmkVchGXrL8YvYKeASPUqNpcJ8NwpfLe9ZQwYwjbtx2H2sCC+/hphakU2i0ufblaZc1687sm3lX4Q5p+lc5d6N1dXC+6hvkY6cCu0qv6oe1Hm6B8UgXAINvuICdbAkarsJv9oYwgbT1fvcZhVfF7wdLai1ckacBQTeqoOuYvyZAww8yeeu2hlwMPbQ7dllHL1MwEInPmPuO6LdRudd8b7zx9NizLNAewQ7guYBCVwmznNlg0GJ5dwKuNKE2HD4ertPY1EtFmQgAUbGAVy9JQIJ8tA5qYJmnmu/6DUsAlGShj0tVIbG4ZRBQJb9ACkRiajpU5TH3AqJ4lr7l9wNZODAsKAtNzjeMVWEvyVyS9XHChWPJXJVqfOwJUwiyS/UgiTc/tZ+mfEXlkHw1BXD3EeqTCSR0Y1ErhN8BqI7LC2C0ctyF/yAgL40zODPw1sdvfm2UTsDAPGbXeCeAeagw04XIublyTQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5534.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(478600001)(53546011)(6636002)(9686003)(4744005)(38100700002)(8676002)(83380400001)(4326008)(86362001)(122000001)(8936002)(6506007)(450100002)(26005)(66446008)(66476007)(110136005)(76116006)(66556008)(316002)(52536014)(64756008)(5660300002)(55016002)(71200400001)(7696005)(33656002)(2906002)(66946007)(186003)(38070700004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?a/M/9P1IZOPZSKemyk/niLj++1onQEMQRA6c/CPLh4CsFCv4GuZv743Mdn4I?= =?us-ascii?Q?fqbeER764yCY6jRmMIHDXbtnrrnjeyc0TDDB1XU0Sb244y7I/n+X8JxYgUtP?= =?us-ascii?Q?UmOX0E+I0qTQU9IM1kdO5VHibZziWwwxTFQulqQqyvb16ebJLA6xAEAdYRGD?= =?us-ascii?Q?rP5cUsKnKpsxGY59AhZ6q1LSH/oy5X0/8ghctpLStcWnRnCzsS7GSoMM7dd2?= =?us-ascii?Q?HYSgvMI1j6i1cU3sgKJZmaZQQPU/zG3eqMgyqYnnDyriJPqrIMC0fShlSN2j?= =?us-ascii?Q?h/DzZDuwBvQx6anlQoch5jSJLOB9Hy6qB6paLnY9qiqxaMXsIR8l8HOaW7Gz?= =?us-ascii?Q?yCudXeiFEUWTUtVByuiq8fv3W8UoklpqPlEW0DCTHlqTGBJicqTm9odU6Lvg?= =?us-ascii?Q?gPNIGWkU3a82h8Iuon/n8bc3CM6+fxLztR4NtEilTYfsYRQKS94iaHC3IMn3?= =?us-ascii?Q?HBJ5kD0N/deHVIbJs561nwx3gCD1M0jjmZO/QR1bvo7gE7ApbOIbx8eNJJIY?= =?us-ascii?Q?/lnEnErfFz01sW2sCGU0XiTo/5Ct2ngPneb0SceM5VhyY0qEEXScSe3tnGfE?= =?us-ascii?Q?zo6gUs5xpgT5j3U3dNJB96IoQdjG0wQH9axg+T280GnWJMho4JJjuuBoQ8aG?= =?us-ascii?Q?zHhyS7UrqkBqY+eYUeoXuJg6W/juw+3wks1fgHDF5gzxQ7fdXYyZE6/SwMDI?= =?us-ascii?Q?Q5f33s5MVv3zopsAIH7YM2JzcxD/mr8GsGyspUQ168mxOjfFQ0vEtPd4gHtv?= =?us-ascii?Q?DUifbnXJmpe17/6S3354hma6L6JjlEeiTbUR/9t8o5luWKrPRhPr1fPNTTTi?= =?us-ascii?Q?ofOfIYVoarZcLxi6e9J8/3dJCJ7KCl8tQ5e2jeQQokXE7xou02AOqF1bc0Hp?= =?us-ascii?Q?jSy+MWYhuG8lu3H3PIpOKR9+YBq3R27Rn4OxCCFQYynveDWkTm9kD4hz8eR3?= =?us-ascii?Q?tOFmwClj6//bFcdiqi6pP8Ub5BRfWbcZCIWm2GRVVPODBTmHUFogKPg56A9z?= =?us-ascii?Q?60ViJTozZu3XoZfo6cFKMnUMRTI/GUKVdkFYV56cl1aAxS6VqRIMLhOs8B3Q?= =?us-ascii?Q?dkYYWtf8xYflVOxQFeOz6rRyJGY947b3EyQHBN5ef4qgZ0Ykc16FrN7MQNSc?= =?us-ascii?Q?tGWPu++LsSlp9EEmjfYc2FP/8qubhNlrepNThcye9CeUtvOmTtG4Yk5qXdxF?= =?us-ascii?Q?oAUDPR9DM4pWu2blR3FQBeOkJg65KKQZ8o25p5B5uRoWr2U6QvURzJEl0ORQ?= =?us-ascii?Q?3pY15GURrm85oJE3a1rj1CXs1j8dihFdhv21EVg03zuBfFiytmctUbJ/eD/m?= =?us-ascii?Q?plhafPFrjiRtAAt3ADJljouR?= 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: DM4PR11MB5534.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1bfcbae3-6dae-45bf-c8e0-08d947366fa2 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jul 2021 02:15:37.5505 (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: NWV6k2DwHm/1MT62DMCN1t5KIxZMuMZKhuPFGJlT1Fu0iDvDqAAMfdEIhwAjkd5MklXbwKrqUk1siJW1ThDeFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4185 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1] app/testpmd: fix port MAC address after resetting port 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, Yuying > Sent: Wednesday, July 14, 2021 10:20 > To: dev@dpdk.org; Li, Xiaoyun ; Zhang, Qi Z > > Cc: Zhang, Yuying ; stable@dpdk.org > Subject: [PATCH v1] app/testpmd: fix port MAC address after resetting por= t >=20 > MAC address of each port in global variable ports hasn't been updated aft= er > resetting. It was the initial one after resetting VF MAC address. > This patch gets correct port MAC address when starting port. >=20 > Fixes: a5279d25616d ("app/testpmd: check status of getting MAC address") > Cc: stable@dpdk.org >=20 > Signed-off-by: Yuying Zhang > --- > app/test-pmd/testpmd.c | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) >=20 Acked-by: Xiaoyun Li