]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[fcoe] Request SPMA iff FIP advertisement indicates support for SPMA
authorMichael Brown <mcb30@ipxe.org>
Thu, 14 Oct 2010 22:56:28 +0000 (23:56 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 14 Oct 2010 23:04:11 +0000 (00:04 +0100)
commita9c799250faacd79e482be72f9f5bb0f8d4847d3
treef2ddcb04c4eec8457dd7d0b9b24a294a56e62f03
parentc9aff55320816277391e4379589d284c597c9c26
[fcoe] Request SPMA iff FIP advertisement indicates support for SPMA

We currently set both the FP and SP bits in our FIP FLOGI, to allow
the FCF the choice of selecting either a fabric-provided or a server-
provided MAC address.  This complies with the FCoE specification, but
has been observed to result in an FLOGI rejection from some FCFs.

Fix by recording whether or not the FCF supports SPMA, and requesting
only one of FPMA or SPMA in our FIP FLOGI.  We choose to prefer SPMA
where available, because many iPXE drivers will not be able to receive
unicast packets sent to a non-default MAC address.

Reported-by: Hadar Hen Zion <hadarh@mellanox.co.il>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/fcoe.c