[SCSI] libfcoe: Set fip_flags according to fcf and lport's capability of SPMA support
authorYi Zou <yi.zou@intel.com>
Thu, 30 Jul 2009 00:03:55 +0000 (17:03 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 22 Aug 2009 22:52:02 +0000 (17:52 -0500)
commit5a84baeaf7b8bb4188219140cb326a3e859b2312
treeb584fcb403ed3332be39b85faef2bc0cd25633d7
parent7a7f0c7f7a0cbda062d1ff2ff1d3f99d0e41d2af
[SCSI] libfcoe: Set fip_flags according to fcf and lport's capability of SPMA support

When encap the els for FIP, set the fip_flags according to the FCF and lport's
capability of supporting SPMA or FPMA or both.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/libfcoe.c