[openib-general] [PATCH] osm: support for trivial PKey manager

Ofer Gigi oferg at mellanox.co.il
Tue Jan 10 06:51:47 PST 2006


Hi Hal,

Removing redundant error in the log.
If the physical port is not valid, nothing is needed to be the done here.

Thanks

Ofer G.

Signed-off-by:  Ofer Gigi <oferg at mellanox.co.il>
Index: osm_pkey_mgr.c
===================================================================
--- osm_pkey_mgr.c	(revision 4867)
+++ osm_pkey_mgr.c	(working copy)
@@ -171,7 +171,7 @@ __osm_pkey_mgr_process_physical_port(
       {
          osm_log( p_mgr->p_log, OSM_LOG_ERROR,
                   "__osm_pkey_mgr_process_physical_port: ERR 0501: "
-                  "No empty block entry was found to insert IB_DEFAULT_PKEY for node "
+                  "No empty entry was found to insert IB_DEFAULT_PKEY for node "
                   "0x%016" PRIx64 " and port %u\n",
                   cl_ntoh64( osm_node_get_node_guid( p_node ) ), port_num );
       }
@@ -275,15 +275,6 @@ osm_pkey_mgr_process(
                result = OSM_SIGNAL_DONE_PENDING;
             }
          }
-         else
-         {
-            osm_log( p_mgr->p_log, OSM_LOG_ERROR,
-                     "osm_pkey_mgr_process: ERR 0502: "
-                     "Invalid physical port for node 0x%016" PRIx64
-                     " port %u\n",
-                     cl_ntoh64( osm_node_get_node_guid( p_node ) ),
-                     port_num );
-         }
       }
    }
 





More information about the general mailing list