]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[fc] Do not use the command reference number in FCP_CMND IUs
authorMichael Brown <mcb30@ipxe.org>
Tue, 19 Oct 2010 17:35:46 +0000 (18:35 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 19 Oct 2010 17:41:50 +0000 (18:41 +0100)
commitb0e434280e03f83a611b8f710513b13dc0da00cf
treefa30590d9f66084a504c3462513e613fd216d792
parent4995ffa438d3bc9cd85a7622d0e2433efeb5b03f
[fc] Do not use the command reference number in FCP_CMND IUs

The FCP command reference number is intended to be used for
controlling precise delivery of FCP commands, rather than being an
essentially arbitrary tag field (as with iSCSI and SRP).

Use the Fibre Channel local exchange ID as the tag for FCP commands,
instead of the FCP command reference.  The local exchange ID does not
appear within the FCP IU itself, but does appear within the FC frame
header; debug traces can therefore still be correlated with packet
captures.

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