---
fcoemon.c | 62 -------------------------------------------------------------
1 files changed, 0 insertions(+), 62 deletions(-)
diff --git a/fcoemon.c b/fcoemon.c
index a019f07..50b57f9 100644
--- a/fcoemon.c
+++ b/fcoemon.c
@@ -1212,65 +1212,6 @@ validating_dcb_app_pfc(struct fcm_fcoe *ff)
}
/*
- * validating_llink_tlv - Validating Logical Link TLV requirements
- *
- * Logical Link TLV feature is configured correctly when
- * 1) The local configuration of the Logical Link TLV feature is
- * configured to Enable=TRUE, Advertise=TRUE, Willing=TRUE.
- * 2) The Opertional Mode of the Logical Link TLV feature must be TRUE,
- * 3) The Link Status of the Logical Link TLV feature must be TRUE (UP).
- *
- * Returns: 1 if succeeded
- * 0 if failed
- */
-static int
-validating_llink_tlv(struct fcm_fcoe *ff)
-{
- int error = 0;
-
- if (!ff->ff_llink_info.enable) {
- FCM_LOG_DEV(ff, "WARNING: LLINK:0 enable mode "
- "is false\n");
- error++;
- }
- if (!ff->ff_llink_info.advertise) {
- FCM_LOG_DEV(ff, "WARNING: LLINK:0 advertise mode "
- "is false\n");
- error++;
- }
- if (!ff->ff_llink_info.willing) {
- FCM_LOG_DEV(ff, "WARNING: LLINK:0 willing mode "
- "is false\n");
- error++;
- }
- if (!ff->ff_llink_info.op_mode) {
- FCM_LOG_DEV(ff, "WARNING: LLINK:0 operational mode "
- "is false\n");
- error++;
- }
- if (error) {
- FCM_LOG_DEV(ff, "WARNING: FCoE LLINK is "
- "configured incorrectly\n");
- return 0;
- }
-
- FCM_LOG_DEV_DBG(ff, "FCoE LLINK is configured correctly\n");
-
- /*
- * At this point, this should be the link status
- * reported by the switch.
- */
- if (!ff->ff_llink_status) {
- FCM_LOG_DEV(ff, "WARNING: Switch reports FCoE LLINK is DOWN\n");
- return 0;
- }
-
- FCM_LOG_DEV_DBG(ff, "Switch reports FCoE LLINK is UP\n");
-
- return 1;
-}
-
-/*
* validating_dcbd_info - Validating DCBD configuration and status
*
* Returns: 1 if succeeded
@@ -1282,9 +1223,6 @@ validating_dcbd_info(struct fcm_fcoe *ff)
int rc;
rc = validating_dcb_app_pfc(ff);
- if (!rc)
- return rc;
- rc = validating_llink_tlv(ff);
return rc;
}
_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel