[OpenFCoE usr PATCH] Change the default FCoE protocol version to the T11 standard-track one.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Change the default FCoE protocol version to the T11 standard-track one.

The old version can still be selected using 'fcconf ethX fcoe_version old'.

Signed-off-by: Joe Eykholt <fcoe@xxxxxxxxxxx>

---
 usr/ofc/tools/fcconf/src/fcc_adapt.c |    1 +
 usr/ofc/tools/fcconf/src/fcc_eth.c   |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/usr/ofc/tools/fcconf/src/fcc_adapt.c b/usr/ofc/tools/fcconf/src/fcc_adapt.c
index eca2d1d..e0fae76 100644
--- a/usr/ofc/tools/fcconf/src/fcc_adapt.c
+++ b/usr/ofc/tools/fcconf/src/fcc_adapt.c
@@ -335,6 +335,7 @@ fcc_adapt_hba_get(void)
                 snprintf(pp->fp_name, sizeof (pp->fp_name), "%s",
                   pp->fp_attr.OSDeviceName);
                 pp->fp_fcoe = 1;
+                pp->fp_fcoe_t11 = 1;
             } else {
                 if (strstr(ap->fa_attr.Manufacturer, "QLogic") != NULL) {
                     pp->fp_fid_alt_format = 1;
diff --git a/usr/ofc/tools/fcconf/src/fcc_eth.c b/usr/ofc/tools/fcconf/src/fcc_eth.c
index f1d4bf9..863a4ba 100644
--- a/usr/ofc/tools/fcconf/src/fcc_eth.c
+++ b/usr/ofc/tools/fcconf/src/fcc_eth.c
@@ -231,6 +231,7 @@ fcc_eth_init_dev(struct dirent *dp, void *arg)
     }
 
     pp->fp_fcoe = 1;
+    pp->fp_fcoe_t11 = 1;
     snprintf(ap->fa_attr.Model, sizeof (ap->fa_attr.Model),
       "%s", FCC_FCOE_ADAPT_MODEL);
     ap->fa_attr.NodeWWN = pp->fp_attr.NodeWWN;


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux