From mboxrd@z Thu Jan 1 00:00:00 1970
Received: from mga01.intel.com (mga01.intel.com [192.55.52.88])
by mx.groups.io with SMTP id smtpd.web10.98941.1679657431844468247
for ;
Fri, 24 Mar 2023 04:30:32 -0700
Authentication-Results: mx.groups.io;
dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=PSVm8Cr7;
spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: maciej.rabeda@intel.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
t=1679657431; x=1711193431;
h=from:to:subject:date:message-id:references:in-reply-to:
mime-version;
bh=MrFGLHv27nqIOGt+HYaGrOMO5uGg6mzN3rqYFHS+PYg=;
b=PSVm8Cr7ZSV0GTHPhHKZeRX9bXfqtoCDLLOElXtfkZ6SzSn5Wf3yQnit
2yOiRGMSu4fy9bJXsnIj9vRPNToBay73rSHTCMGngLcNBCrax2bzfkRSq
qTTbkHyKkrlkk4m8V9DRBnvcwDRWO6SOKUJT6MC8xaR0LmILq1cj1I72w
NCfjpoJt36tlmDK0WLY1KTmZcXLUgaL6VotWpJOVXlN0xWrzUwe9JxAku
zLKjitYFhVKvAq8YueTYc+OTyJRSslKiBckE+K1BFF5xxqTseoYvlMCIz
K9DXXFGMuUT1b3ql1Vzi5qBmtU1550foRPTgooDDZW7GRi1PP1OPimoAh
A==;
X-IronPort-AV: E=McAfee;i="6600,9927,10658"; a="367490508"
X-IronPort-AV: E=Sophos;i="5.98,287,1673942400";
d="scan'208,217";a="367490508"
Received: from fmsmga006.fm.intel.com ([10.253.24.20])
by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2023 04:30:31 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=McAfee;i="6600,9927,10658"; a="928637658"
X-IronPort-AV: E=Sophos;i="5.98,287,1673942400";
d="scan'208,217";a="928637658"
Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82])
by fmsmga006.fm.intel.com with ESMTP; 24 Mar 2023 04:30:30 -0700
Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by
fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server
(version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id
15.1.2507.21; Fri, 24 Mar 2023 04:30:30 -0700
Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.2507.21 via Frontend Transport; Fri, 24 Mar 2023 04:30:30 -0700
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.175)
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.2507.21; Fri, 24 Mar 2023 04:30:11 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=HXAxueWDj+Bw03wU1J4kC3YZPEQGQvK0AYrk8ItX3ttypjTSfwpVEloNYhemEzL50QuXP6mLQ6vmdNDZARfMb/FBCAAy/P29YDn2IP90C8eBRL8D94DIaxSae9EIzPWjrTlc5s5FdcH+GoZdtDXJSGlTFC722AJqoFeDp6wz/+OAyAqwLNXwzqYebiNC5OPGT4vrlwFks9XYjvslXtj6eFrqw3cP/wL/NNmscH4ay8aq8hNBHVjx3DJuDQKyypFic7He3LlJaz8w/YT0ZoPkBKpvtFvol4ww7UoyOE+eZ0IMTEPRHyDHcaaaavEXjoHE70sO1WZgLSilXk12F/k19g==
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=L484Xj9QOrmivs0KXQ1PjRQ21BJaDKxwcRcrJ2b5KmY=;
b=eL+vnX3LeciydaLiRgzxHSzDE81WQQF8STV6HNMh1p58jBvQPhbopL965yyIKCHmAvqGTgRiB4SSs1p+pNt+jDNsKGkO1TtNMoKTyHtD3LeY0M18NRu+2I2sA2Ysep8f91bNQWudCf/09CbgmIjrVUTrPrNHeaiQS5g9t9mj2Bf7CsgCFpDnZceBZoFkxNajwdmQ5cDhT+F9QuyenRQaghdxW+Wgc2wbCsMLVLCUstGJdXSkKVnfU8xsu9sps9vqw/vuBlmDFko7akGTmRConCFoMfb1ZRswMe9mwXH5zpKV9Hs1tMn2MdD8ynYRa0Zb5sTJitqVr7rKOWB+Q2jADg==
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 PH0PR11MB4773.namprd11.prod.outlook.com (2603:10b6:510:33::7)
by SN7PR11MB8264.namprd11.prod.outlook.com (2603:10b6:806:26c::17) with
Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Fri, 24 Mar
2023 11:30:10 +0000
Received: from PH0PR11MB4773.namprd11.prod.outlook.com
([fe80::e3c:c0ae:fca7:3950]) by PH0PR11MB4773.namprd11.prod.outlook.com
([fe80::e3c:c0ae:fca7:3950%5]) with mapi id 15.20.6178.038; Fri, 24 Mar 2023
11:30:10 +0000
From: "Rabeda, Maciej"
To: Sivaraman Nainar , "devel@edk2.groups.io"
, Maciej Rabeda ,
Santhosh Kumar V , Raj V Akilan
Subject: Re: reg: MAC address could not change on pre-boot environment and failed to PXE boot.
Thread-Topic: reg: MAC address could not change on pre-boot environment and
failed to PXE boot.
Thread-Index: AQHZXgW3WVUskiZ4jkyhuOnEx/ZPRa8JygfQ
Date: Fri, 24 Mar 2023 11:30:09 +0000
Message-ID:
References:
In-Reply-To:
Accept-Language: pl-PL, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed)
header.d=none;dmarc=none action=none header.from=intel.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH0PR11MB4773:EE_|SN7PR11MB8264:EE_
x-ms-office365-filtering-correlation-id: 384c57cd-b576-437b-5c48-08db2c5b2046
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: VTJUAsULKBd2kd5OS+sK/qq1/ztdVVizJRTuJTlg17BKVzcud7TPdq1eCEbZ7Y+2tuRygEXxfyaUk0K1LPHjJF2afQTu1fPH9ssbPnrHr8oNc7mXzTAM6y276MRji9E/1OJ/vdZhJHFumXKHmclRjVJU8gLm1azM20rvL50mx4XUdDjfqXR+VkzANfwMBHoQ6liFJP7jJmNblWwLcjQoQ1i9dxgARMLT6K5CMoMPQ4isVnCHbCXR+8Cw0D7Z3lhHLQnk5Ai9APZxXmN2HrfwBQKyw8/XxEDYTOUWJOlv40gQwoLI2yvp/Ve4kH7dZ90uKY0HEPEqpk9yCpTCNu57af7rXhplwiONBHpWDQaKwEP1D7cfogTqGHGBZe/0NCc+iY2LVOuvgCqyFpfoTbvxhZH1aExKiK45lCcl4q8YZ+vwN3lm5YtFFJbn8voWgMHVZNxdb/sXB8k1JJkJY0pjpBlbzxf1vnpJsvQxq1aodkDzbwqw7tzLCVubjbPyPIRfUKcBmKypDa799tubiWyzNj5aa3kv5D2Mhlamdqtg3YmAAByicM5N1Uu4VcFqh/5RZWT4bfcnHfX53DEqO7XcavOTOBRvDgkKRq1qG3iS3GdBPOJ69RoBtJvMee3wIUv3jOrj0gEsy2p606gZ6ijPgHFkFVK+X5meq/ovy4zwYVNCuoM8d//QS5W3lMkSEgC0c+iXUQ2pQzxKrzpueIf6UA==
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB4773.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(396003)(366004)(136003)(39860400002)(346002)(376002)(451199018)(33656002)(86362001)(40140700001)(38070700005)(64756008)(82960400001)(66476007)(122000001)(71200400001)(7696005)(38100700002)(41300700001)(2906002)(5660300002)(52536014)(66446008)(8676002)(55016003)(66556008)(8936002)(9326002)(6506007)(9686003)(186003)(53546011)(26005)(66946007)(83380400001)(316002)(110136005)(76116006)(478600001);DIR:OUT;SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?tzvRRPEoYSTmLItXB9VhOZ0dct8B/6BzYcPHaObGQL6oUOgasx2hPniOmZ/Y?=
=?us-ascii?Q?vXZfDcbN3Pma1HoBFJ6f+g5Lto5gubaCx/jcv60Tnm4HW1ZVooJTeNbGXLSe?=
=?us-ascii?Q?b+Fb7d5cvIXTi9tXRR42+hOYw3uN0x73NiMzmbB/P5QlfSKGQajP+QUx12Lu?=
=?us-ascii?Q?AgM88git22U0O40FYzl5Tq9lZQ5zzAaKWgXIpJn+khvxB7gp+FgeyDh8mruS?=
=?us-ascii?Q?ofARuBxejbXNQrl14MuIJLA2ba+Cys+u+AL0X0Ny7+zrLOgiB/vMNCgkWUYo?=
=?us-ascii?Q?DQQYxF5AVBP9GJDqFBbW3OP7u+6Yik4/wt/qJngrBzBwl0L9jp8Mg2erwBak?=
=?us-ascii?Q?FFuNSJdr2yCgrskfXNS/++qVxMvO1deuvPN15AowICRRGglAVAon7UgLv6UF?=
=?us-ascii?Q?rpU7FvbsumVo50gSPvZ4mQo7HoJ9sEzhzwLWXb71IYRR6dG1B6HLhn5aXkio?=
=?us-ascii?Q?JSk3EXCCKvF0Cj9cW6MWAjGsMVK7d80Hxmp10ER2ECA2ZF5Whm/x0b0oVwKB?=
=?us-ascii?Q?UJPfxfMMg5SETJmYIXTCz9WKGI5nPR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ascii?Q?RSXkSNXhyBUA4sFoZ+m8lwtCvbsvZTf5FO/MitWbdx/51ehKGE3fIS9pZpkY?=
=?us-ascii?Q?hcQ69R7YXcTs63P3wgnrI5w9Z0A+VfSna8TRpazTRuWzwtYHRDQK6SliX6oE?=
=?us-ascii?Q?+YynJ48d3H3Hr1dfMDkGpzlQGW7idDoWz7NZ1I7u?=
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB4773.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 384c57cd-b576-437b-5c48-08db2c5b2046
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Mar 2023 11:30:09.8029
(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: cxILENX/W7HVgO+99wqpyLTZJtm1ogoMkR14ffCckLg9mleKMCKEN/F95JainZG11NIwCtc4RvMFCtzXdvvOcg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB8264
Return-Path: maciej.rabeda@intel.com
X-OriginatorOrg: intel.com
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_PH0PR11MB4773C3FEC4DED8FECDDA3DE9F9849PH0PR11MB4773namp_"
--_000_PH0PR11MB4773C3FEC4DED8FECDDA3DE9F9849PH0PR11MB4773namp_
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Hi Nainar,
1. Snp->StationAddress() calls UNDI->StationAddress(). Is there a guaran=
tee that the UNDI driver you are using will persist the configuration acros=
s driver reloads / platform reboots? If there is no such guarantee, you sho=
uld not reconnect UNDI driver - else the setting is lost.
2. Ipconfig interfaces with Ip4Config2 protocol to obtain MAC address to=
display.
Check "HwAddress" field in "EFI_IP4_CONFIG2_INTERFACE_INFO" structure.
It is initialized in the Ip4Dxe driver, in Ip4Config2InitIfInfo(). If you f=
ollow Ip4Config2InitIfInfo() upwards the stack, you will see that it gets c=
alled in Ip4Dxe DriverBinding->Start() function.
What I would suggest is to only reconnect SNP driver.
Thanks,
Maciej
From: Sivaraman Nainar
Sent: Friday, March 24, 2023 5:22 AM
To: devel@edk2.groups.io; Maciej Rabeda ; Ra=
beda, Maciej ; Santhosh Kumar V ; Raj V Akilan
Subject: reg: MAC address could not change on pre-boot environment and fail=
ed to PXE boot.
Hello :
We are writing a application to program the MAC from UEFI shell and with th=
e updated MAC address trying to do the PXE Boot which failed.
The application uses the Simple Network Protocols StationAddress() to updat=
e the MAC. After update the Current Address in the Mode of SimpleNetwork In=
terface updated to new MAC address. If we performed IfConfigl -l command th=
e updated MAC not showing. Also in this environment PXE boot also got faile=
d.
To bind the updated MAC, tried giving "reconnect -r" from UEFI shell after =
running test application and performed PXE boot. With On board Network cont=
roller (Intel I219), the MAC address updated in Snp->Mode->CurrentAddress i=
s reverted back to older MAC address. If reconnect not performed, the MAC =
Address changing but PXE Failed to boot.
Can someone comment if the method to update the MAC is correct or we missin=
g something.
Thanks
Siva
-The information contained in this message may be confidential and propriet=
ary to American Megatrends (AMI). This communication is intended to be read=
only by the individual or entity to whom it is addressed or by their desig=
nee. If the reader of this message is not the intended recipient, you are o=
n notice that any distribution of this message, in any form, is strictly pr=
ohibited. Please promptly notify the sender by reply e-mail or by telephone=
at 770-246-8600, and then delete or destroy all copies of the transmission.
---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydz=
ial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-31=
6 | Kapital zakladowy 200.000 PLN.
Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu usta=
wy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w trans=
akcjach handlowych.
Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata=
i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wi=
adomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiek=
olwiek przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the s=
ole use of the intended recipient(s). If you are not the intended recipient=
, please contact the sender and delete all copies; any review or distributi=
on by others is strictly prohibited.
--_000_PH0PR11MB4773C3FEC4DED8FECDDA3DE9F9849PH0PR11MB4773namp_
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Hi Nainar,
- Snp->StationAddress() calls UNDI->StationAddress(). Is there a =
guarantee that the UNDI driver you are using will persist the configuration=
across driver reloads / platform reboots?
If there is no such guarantee, you should not reconnect UNDI driver –=
; else the setting is lost.
- Ipconfig interfaces with I=
p4Config2 protocol to obtain MAC address to display.
Check “HwAddress” field in “=
;EFI_IP4_CONFIG2_INTERFACE_INFO” structure.
It is initialized in the Ip4Dxe driver, in Ip=
4Config2InitIfInfo(). If you follow Ip4Config2InitIfInfo() upwards the stac=
k, you will see that it gets called in Ip4Dxe DriverBinding->Start() fun=
ction.
What I would suggest is to only reconnect SNP driver=
.
Thanks,
Maciej
From: Sivaraman Nainar <sivaramann@ami.com=
>
Sent: Friday, March 24, 2023 5:22 AM
To: devel@edk2.groups.io; Maciej Rabeda <maciej.rabeda@linux.inte=
l.com>; Rabeda, Maciej <maciej.rabeda@intel.com>; Santhosh Kumar V=
<santhoshkumarv@ami.com>; Raj V Akilan <rajva@ami.com>
Subject: reg: MAC address could not change on pre-boot environment a=
nd failed to PXE boot.
Hello :
We are writing a application to program the MAC from=
UEFI shell and with the updated MAC address trying to do the PXE Boot whic=
h failed.
The application uses the Simple Network Protocols St=
ationAddress() to update the MAC. After update the Current Address in the M=
ode of SimpleNetwork Interface updated to new MAC address. If we performed =
IfConfigl -l command the updated MAC
not showing. Also in this environment PXE boot also got failed.=
To bind the updated M=
AC, tried giving "reconnect -r" from UEFI shell after running tes=
t application and performed PXE boot. With On board Network
controller (Intel I219), the MAC address updated in Snp->Mode->Curre=
ntAddress is reverted back to older MAC address. If reconnect not per=
formed, the MAC Address changing but PXE Failed to boot.<=
/p>
Can someone comment i=
f the method to update the MAC is correct or we missing something.
Thanks
Siva
-The information contained in this message may be co=
nfidential and proprietary to American Megatrends (AMI). This communication=
is intended to be read only by the individual or entity to whom it is addr=
essed or by their designee. If the
reader of this message is not the intended recipient, you are on notice th=
at any distribution of this message, in any form, is strictly prohibited. P=
lease promptly notify the sender by reply e-mail or by telephone at 770-246=
-8600, and then delete or destroy
all copies of the transmission.
Intel =
Technology Poland sp. z o.o.
ul. Słowackiego 173 | 80-298 Gdańsk | Sąd Rejonowy G=
dańsk Północ | VII Wydział Gospodarczy Krajowego Rejest=
ru Sądowego - KRS 101882 | NIP 957-07-52-316 | Kapitał zakła=
dowy 200.000 PLN.
Spółka oświadcza, że posiada status du=
80;ego przedsiębiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o prz=
eciwdziałaniu nadmiernym opóźnieniom w transakcjach handlowy=
ch.
Ta wiadomość wraz z załącznikami jest przeznacz=
ona dla określonego adresata i może zawierać informacje pouf=
ne. W razie przypadkowego otrzymania tej wiadomości, prosimy o powiado=
mienie nadawcy oraz trwałe jej usunięcie; jakiekolwiek przegl=
1;danie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material f=
or the sole use of the intended recipient(s). If you are not the intended r=
ecipient, please contact the sender and delete all copies; any review or di=
stribution by others is strictly prohibited.
--_000_PH0PR11MB4773C3FEC4DED8FECDDA3DE9F9849PH0PR11MB4773namp_--