From: "Michael Brown" <mcb30@ipxe.org>
To: Laszlo Ersek <lersek@redhat.com>,
devel@edk2.groups.io, maciej.rabeda@linux.intel.com
Cc: Jiaxin Wu <jiaxin.wu@intel.com>, Siyuan Fu <siyuan.fu@intel.com>,
Seven.ding@lcfuturecenter.com
Subject: Re: [edk2-devel] [PATCH v1] NetworkPkg/UefiPxeBcDxe: Fix PXE_BOOT_SERVERS usage in boot info parse flow
Date: Sun, 23 Aug 2020 17:24:26 +0100 [thread overview]
Message-ID: <2d049486-372c-ed7d-ab41-2300211868aa@ipxe.org> (raw)
In-Reply-To: <93ed808c-8414-310d-c065-36a92ebea2e7@redhat.com>
On 21/08/2020 12:19, Laszlo Ersek wrote:
> On 08/19/20 20:46, Michael Brown wrote:
>> FWIW, iPXE's equivalent logic (based on a combination of what the PXE
>> spec says and what the Intel reference PXE implementation actually does,
>> which is not necessarily the same thing) is to *ignore* PXE_BOOT_SERVERS
>> if a DHCP filename is available and option 43 tag 6 bit 3 is *set*.
>
> Sorry, I expressed my concern incorrectly (I think I was tripped up by
> the typo in Maciej's commit message).
My fault; I should have read more closely.
> It's about bit#2 in PXE_DISCOVERY_CONTROL.
>
> The question is whether bit#2 is *equivalent* to adhering to
> PXE_BOOT_SERVERS ("if, and only if").
>
> When bit#2 is set, the spec says we must. OK.
>
> When bit#2 is clear, the spec doesn't say anything. So two
> interpretations are possible, "we still may consider PXE_BOOT_SERVERS",
> and "we must not consider PXE_BOOT_SERVERS".
iPXE's interpretation is:
- if bit 2 is set then the subsequent boot server discovery will ignore
replies from any servers not mentioned (for the selected boot server
type) in PXE_BOOT_SERVERS
- if bit 2 is clear then the subsequent boot server discovery will
accept replies from any server
This seems consistent with the spec paragraph stating:
"If PXE_DISCOVERY_CONTROL bit 2 is set, the client may still use
multicast and broadcast discovery (if it is permitted by bits 0
and 1); but the client may only accept replies from servers that
are identified in the PXE_BOOT_SERVERS option."
> Anyway -- I'm sending this just to explain my earlier email. My main
> point remains:
>
> http://mid.mail-archive.com/11640b08-6f42-e4d8-356d-91d4bdf86c2c@redhat.com
>
> (alt link: https://edk2.groups.io/g/devel/message/64530)
Resolving as INVALID seems appropriate to me.
Thanks,
Michael
next prev parent reply other threads:[~2020-08-23 16:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-19 16:53 [PATCH v1] NetworkPkg/UefiPxeBcDxe: Fix PXE_BOOT_SERVERS usage in boot info parse flow Maciej Rabeda
2020-08-19 18:13 ` [edk2-devel] " Laszlo Ersek
2020-08-19 18:46 ` Michael Brown
2020-08-21 11:19 ` Laszlo Ersek
2020-08-23 16:24 ` Michael Brown [this message]
2020-08-19 19:20 ` Laszlo Ersek
2020-08-20 10:44 ` Maciej Rabeda
2020-08-20 13:41 ` Michael Brown
2020-08-21 9:11 ` Laszlo Ersek
2020-08-21 10:57 ` 回复: " Ding, Seven
2020-08-21 11:15 ` Maciej Rabeda
2020-08-20 3:35 ` Siyuan, Fu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2d049486-372c-ed7d-ab41-2300211868aa@ipxe.org \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox