[ipxe-devel] [ipxe/ipxe] [snp] try to enable promiscuous multicast receive filter if the regular one fails (#99)

Ignat Korchagin notifications at github.com
Fri Dec 13 16:57:49 UTC 2019


Currently, if the snp driver for whatever reason fails to enable receive filters
for multicast frames, it falls back to enabling just unicast and broadcast
filters. This breaks some IPv6 functionality as the network card does not
respond to neighbour solicitation requests.

Some cards refuse to enable EFI_SIMPLE_NETWORK_RECEIVE_MULTICAST filter, but
support enabling EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS_MULTICAST, so try it
before falling back to just unicast+broadcast.

Additionally, according to UEFI specification 2.8 p 24.1 we must set
EFI_SIMPLE_NETWORK_RECEIVE_MULTICAST bit in the "Disable" mask, when
"ResetMCastFilter" is TRUE.

Signed-off-by: Ignat Korchagin <ignat at cloudflare.com>
You can view, comment on, or merge this pull request online at:

  https://github.com/ipxe/ipxe/pull/99

-- Commit Summary --

  * [snp] try to enable promiscuous multicast receive filter if the regular one fails

-- File Changes --

    M src/drivers/net/efi/snpnet.c (5)

-- Patch Links --

https://github.com/ipxe/ipxe/pull/99.patch
https://github.com/ipxe/ipxe/pull/99.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ipxe/ipxe/pull/99
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20191213/a213af93/attachment.htm>


More information about the ipxe-devel mailing list