[SCSI] libfc: update mfs boundry checking
commit93f90e5186053611fe93d889e99ee2852f4da250
authorVasu Dev <vasu.dev@intel.com>
Fri, 6 Apr 2012 22:52:51 +0000 (6 15:52 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 25 Apr 2012 07:46:29 +0000 (25 08:46 +0100)
tree8fd4e049872588c4f67b046efa036a4af9361b36
parentb4698d88585e23d815506f7f38c48192d944b2eb
[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