From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1dUplg-0004QF-El for mharc-grub-devel@gnu.org; Tue, 11 Jul 2017 03:39:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUpld-0004N2-RS for grub-devel@gnu.org; Tue, 11 Jul 2017 03:39:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUplZ-0002jo-TL for grub-devel@gnu.org; Tue, 11 Jul 2017 03:39:33 -0400 Received: from g2t2352.austin.hpe.com ([15.233.44.25]:47116) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dUplZ-0002iZ-L1 for grub-devel@gnu.org; Tue, 11 Jul 2017 03:39:29 -0400 Received: from G1W8108.americas.hpqcorp.net (g1w8108.austin.hp.com [16.193.72.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2352.austin.hpe.com (Postfix) with ESMTPS id 967E742; Tue, 11 Jul 2017 07:39:20 +0000 (UTC) Received: from G1W8108.americas.hpqcorp.net (2002:10c1:483c::10c1:483c) by G1W8108.americas.hpqcorp.net (2002:10c1:483c::10c1:483c) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Tue, 11 Jul 2017 07:39:20 +0000 Received: from NAM01-BN3-obe.outbound.protection.outlook.com (15.241.52.12) by G1W8108.americas.hpqcorp.net (16.193.72.60) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Tue, 11 Jul 2017 07:39:20 +0000 Received: from DF4PR84MB0106.NAMPRD84.PROD.OUTLOOK.COM (10.162.192.16) by DF4PR84MB0042.NAMPRD84.PROD.OUTLOOK.COM (10.162.192.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Tue, 11 Jul 2017 07:39:18 +0000 Received: from DF4PR84MB0106.NAMPRD84.PROD.OUTLOOK.COM ([10.162.192.16]) by DF4PR84MB0106.NAMPRD84.PROD.OUTLOOK.COM ([10.162.192.16]) with mapi id 15.01.1240.020; Tue, 11 Jul 2017 07:39:17 +0000 From: "Lin, Keng-Yu" To: The development of GNU GRUB CC: "Knippers, Linda" , "arvidjaar@gmail.com" , "Chang, Clay (HPS OE-Linux TDC)" , "Ruan, Michael (HPS OE-Linux/VMware TDC)" , "phcoder@gmail.com" Subject: RE: [PATCH v2 0/9] Add UEFI HTTP Boot support for IPv4 and IPv6 Thread-Topic: [PATCH v2 0/9] Add UEFI HTTP Boot support for IPv4 and IPv6 Thread-Index: AQHSXPo1yqL0JOJdi0qAsCD/4Vu29KE69FEQgAATxICBDIR1sIAGgwsAgAFkp4A= Date: Tue, 11 Jul 2017 07:39:16 +0000 Message-ID: References: <1482483252-8710-1-git-send-email-kengyu@hpe.com> <20170116101219.GO23864@olila.local.net-space.pl> <20170710101034.GE26571@linux-9gqx.suse.de> In-Reply-To: <20170710101034.GE26571@linux-9gqx.suse.de> Accept-Language: en-US, zh-TW Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=keng-yu.lin@hpe.com; x-originating-ip: [16.242.247.131] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DF4PR84MB0042; 7:ZLb+UMqG6JJez/erHfSg3xkSWTzCg7WADIWlSJrNDkjZ/VtxJDVHxqh00OwOaTffPh40lxPBtaa8uq7FS4/fI7pL84rs3EfOth0K8IgVNNESK5S8LXh4qNDnl8H2c2WjlnjcUjppCU0u9SaeCfSzri4xP/qHXpjitVAUBEMqZsIu8Dsad2ym8tr+9VA5ZN4I84TmSmwAich4Otu0JHJAZ/id+kNSlYKkItOuROfy98C9Hv0DROIt815mEy+P2iMC/xk3ufcxtjVlgY3ClFIbhJI+hERIQuvGPoNatQ2J9eZuMjSO0u+iRjF3IQHLDfYz0yFdXdA0xu6cb6D9uFM5viUm3kP63RzQ2pZFKGl61s1AP5A/F0DDLILxqFwX7WSEKtjnmSw/6o3dI7OG8rNC8aw9bw7t0azkTd/dRRlQyCnlx+myRkmkgFqDlbFjaK5OoaNYIWuAda2/4GZVLLlG91BgmJvjHiw8+kFxfNPzaJvZ1vAFFzkihwEb+Ho0tJvA1QIdr3byXuweue1LpULeeu0Pc1r0+c7DetiEPK+iVkujmsQZwjsmFFVFqZMrt6MOT/QENK/lh9gHm89zxSxAljCtjgAAGtaRcsVRz1Of0HS+CFlllRUVrQXbcxldFlbSU6H8LXeE+UalYSv0mpzr4gAWJYxDVD8EsD35pZMuBRP6Y9XAOJoOMSApm6bIKiKCB3073CMMSRJDpWcNsHy/rlveqHnnqas0S0XxA1zJdkOJkptOTL5x0zv6hrzT2E1N383M67ZSGopGX+LhMr8wfrPPoNrx5kcAnAX/UKbTEuA= x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10019020)(6009001)(39450400003)(39410400002)(39400400002)(39850400002)(39860400002)(39840400002)(51914003)(74316002)(6246003)(14454004)(966005)(93886004)(478600001)(305945005)(38730400002)(86362001)(39060400002)(7736002)(5660300001)(8936002)(77096006)(229853002)(110136004)(6506006)(2906002)(55016002)(25786009)(53936002)(189998001)(33656002)(81166006)(6436002)(54906002)(54356999)(6306002)(4326008)(9686003)(6916009)(8676002)(3660700001)(2950100002)(3280700002)(3846002)(50986999)(102836003)(76176999)(7696004)(2900100001)(66066001)(6116002)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:DF4PR84MB0042; H:DF4PR84MB0106.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; x-ms-office365-filtering-correlation-id: 5cb924d5-e665-4b16-6c4a-08d4c82fef61 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(48565401081)(2017052603031)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DF4PR84MB0042; x-ms-traffictypediagnostic: DF4PR84MB0042: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(250305191791016)(158342451672863)(133145235818549)(22074186197030)(236129657087228)(247924648384137); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(2017060910075)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123560025)(20161123555025)(20161123558100)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DF4PR84MB0042; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DF4PR84MB0042; x-forefront-prvs: 0365C0E14B received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jul 2017 07:39:17.0146 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR84MB0042 X-OriginatorOrg: hpe.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 15.233.44.25 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2017 07:39:35 -0000 > How many test case did you perform on this patch. More specifically, did = you > verify how does it work with existing network commands >=20 > https://www.gnu.org/software/grub/manual/grub.html#Networking- > commands >=20 > And also environment variables related to network >=20 > https://www.gnu.org/software/grub/manual/grub.html#Network >=20 > I think the patch is good at running grub booted directly by UEFI http lo= ad file > protocol, assuming the UEFI Handle has configured network protocol down > the road before handing over to grub. But that may not satisfied the user= as > they get used to have more than that already. >=20 > Practically grub can work out more (sophisticated) scenario by exercising= the > network commands to configure the network interface one way or the other, > and obviously the patch did not route the same commands to UEFI network > stack, which is regarded as functional regression as it did not apply on = UEFI > protocol. Hi Michael: Thanks for the comments.=20 Are you saying that for this patchset, the following environment variable= s should be supported in the UEFI HTTP Boot mode too? * 'net__ip' *'net__mac' * 'net__hostname' * 'net__domain' * 'net__rootpath' * 'net__extensionspath' * 'net__boot_file' * 'net__dhcp_server_name' * 'net__next_server' * 'net_default_interface' * 'net_default_ip' * 'net_default_mac' * 'net_default_server' And the following commands: * net_add_addr: Add a network address =20 * net_add_dns: Add a DNS server =20 * net_add_route: Add routing entry =20 * net_bootp: Perform a bootp autoconfiguration =20 * net_del_addr: Remove IP address from interface =20 * net_del_dns: Remove a DNS server =20 * net_del_route: Remove a route entry =20 * net_get_dhcp_option: Retrieve DHCP options =20 * net_ipv6_autoconf: Perform IPv6 autoconfiguration =20 * net_ls_addr: List interfaces =20 * net_ls_cards: List network cards =20 * net_ls_dns: List DNS servers =20 * net_ls_routes: List routing entries =20 * net_nslookup: Perform a DNS lookup =20