[SCSI] libfcoe: Fix FIP ELS encapsulation details for FLOGI responses
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 20 Jul 2010 22:20:35 +0000 (15:20 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:05:57 +0000 (09:05 -0500)
commit5554345bc5275afed760631277fdab0a5a19472e
treebef6ffe6cf1a0a8181247a3c3f6f0965bfcebf27
parente10f8c667b874a57512c936089092a3d1ef7ab8a
[SCSI] libfcoe: Fix FIP ELS encapsulation details for FLOGI responses

When sending a FLOGI LS_ACC, which we only do in point-to-multipoint
mode, the MAC descriptor should have the granted MAC set to
0x0efd00 || D_ID.

When sending an LS_RJT, there should be no MAC descriptor.

When sending either an LS_ACC or LS_RJT, the subcode should indicate
an reply, not a request.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/libfcoe.c