mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[SCSI] fcoe, fnic, libfc: increased CDB size to 16 bytes for fcoe.
No reason to restrict CDB size to 12 bytes in fcoe, so increased to 16 so that 16 bytes SCSI CDB doesn't fail. Uses common define to set max_cmd_len for fcoe and fnic, fnic is already setting max_cmd_len to 16. sg_readcap -l fails without this fix. Signed-off-by: Vasu Dev <vasu.dev@intel.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
8ba00a4bbb
commit
da87bfab8a
4 changed files with 6 additions and 2 deletions
|
@ -29,6 +29,8 @@
|
|||
#include <scsi/fc/fc_fcoe.h>
|
||||
#include <scsi/libfc.h>
|
||||
|
||||
#define FCOE_MAX_CMD_LEN 16 /* Supported CDB length */
|
||||
|
||||
/*
|
||||
* FIP tunable parameters.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue