]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfc: update mfs boundry checking
authorVasu Dev <vasu.dev@intel.com>
Fri, 6 Apr 2012 22:52:51 +0000 (15:52 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 25 Apr 2012 07:46:29 +0000 (08:46 +0100)
commit3203a4323b3bde2d4623bc50f9656ad999e9d836
tree8fd4e049872588c4f67b046efa036a4af9361b36
parentd8d523cd748905dd2e54868aaba2c1c72dc7114f
[SCSI] libfc: update mfs boundry checking

A previous commit changed the mfs checking to ensure the new
mfs is less or equal to the mfs supported by the FCF. This
doesn't work for BRDCM cards as they set an mfs of 2048 regardless
of whether the switch returns a larger mfs.

This patch validates the new mfs against the upper and lower spec
defined boundries for a FCoE mfs.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libfc/fc_lport.c