Hi, Ari

First we need to know whether you are using Ethernet or another network medium. 
The SNP driver doesn't check the Ipv6Supported from UNDI driver indeed, and 
it's not necessary on Ethernet. The "Ipv6Supported" in UNDI layer typically 
means the IPv6 to MAC address translate commands, and over Ethernet the address 
translation mechanism is defined in RFCs and implemented in EDKII MnpDxe 
driver. So I think EDKII IPv6 drivers can provide IPv6 support to PXE driver, 
even though the UNDI doesn't support IPv6. But if you are not using Ethernet, 
then the IPv6 support from UNDI driver is needed at least we need it to 
translate the multicast address.

Best Regards
Fu, Siyuan

From: Ari Zigler [mailto:a...@mellanox.com]
Sent: Monday, November 18, 2013 9:55 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Ipv6 support in DxePxeBaseCode driver

Hi all,

I have a UNDI driver that doesn't support Ipv6. I explicitly set Undi protocol 
structure's "Ipv6Supported" field to FALSE.
The UEFI spec (2.4) dictates that PxeBC shall set its "Ipv6Available" field 
according to its underlying SNP Ipv6 capability (p. 996):
"Ipv6AvailableTRUE if the Simple Network Protocol being used supports IPv6."

Nevertheless, it seems like all of the drivers being used by PxeBC ignores the 
UNDI's "Ipv6Supported" flag, especially DxeIpv6 driver which shall NOT support 
SNP driver if its UNDI driver doesn't support Ipv6. As a consequence, PxeBC 
display an option to boot over IPv6, even though it's impossible!
The problem gets even more complicated when we look at SNP spec as (and I say 
that humbly) there is actually no way of getting this information out of SNP.

Am I missing something? What is the proper way to inform PxeBC of Ipv6 support?

You help will be highly appreciated.

Thanks,

Ari
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to