<p>Currently, if the snp driver for whatever reason fails to enable receive filters<br>
for multicast frames, it falls back to enabling just unicast and broadcast<br>
filters. This breaks some IPv6 functionality as the network card does not<br>
respond to neighbour solicitation requests.</p>
<p>Some cards refuse to enable EFI_SIMPLE_NETWORK_RECEIVE_MULTICAST filter, but<br>
support enabling EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS_MULTICAST, so try it<br>
before falling back to just unicast+broadcast.</p>
<p>Additionally, according to UEFI specification 2.8 p 24.1 we must set<br>
EFI_SIMPLE_NETWORK_RECEIVE_MULTICAST bit in the "Disable" mask, when<br>
"ResetMCastFilter" is TRUE.</p>
<p>Signed-off-by: Ignat Korchagin <a href="mailto:ignat@cloudflare.com">ignat@cloudflare.com</a></p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/ipxe/ipxe/pull/99'>https://github.com/ipxe/ipxe/pull/99</a></p>
<h4>Commit Summary</h4>
<ul>
<li>[snp] try to enable promiscuous multicast receive filter if the regular one fails</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/ipxe/ipxe/pull/99/files#diff-0">src/drivers/net/efi/snpnet.c</a>
(5)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/ipxe/ipxe/pull/99.patch'>https://github.com/ipxe/ipxe/pull/99.patch</a></li>
<li><a href='https://github.com/ipxe/ipxe/pull/99.diff'>https://github.com/ipxe/ipxe/pull/99.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ipxe/ipxe/pull/99?email_source=notifications&email_token=AAFNGVAS2ATEB6AD7P4G6E3QYO5I3A5CNFSM4J2QJJ32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IAL4YQQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAFNGVD3CO5XQ4IPLEU5FXDQYO5I3ANCNFSM4J2QJJ3Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAFNGVABGLLB5I7G3W4LKHDQYO5I3A5CNFSM4J2QJJ32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IAL4YQQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ipxe/ipxe/pull/99?email_source=notifications\u0026email_token=AAFNGVAS2ATEB6AD7P4G6E3QYO5I3A5CNFSM4J2QJJ32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IAL4YQQ",
"url": "https://github.com/ipxe/ipxe/pull/99?email_source=notifications\u0026email_token=AAFNGVAS2ATEB6AD7P4G6E3QYO5I3A5CNFSM4J2QJJ32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IAL4YQQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>