From patchwork Fri Nov 9 13:36:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 1720491 X-Patchwork-Delegate: alexne@voltaire.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 7252ADF264 for ; Fri, 9 Nov 2012 13:36:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752877Ab2KINgw (ORCPT ); Fri, 9 Nov 2012 08:36:52 -0500 Received: from mail-bk0-f46.google.com ([209.85.214.46]:54938 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752723Ab2KINgw (ORCPT ); Fri, 9 Nov 2012 08:36:52 -0500 Received: by mail-bk0-f46.google.com with SMTP id jk13so1646782bkc.19 for ; Fri, 09 Nov 2012 05:36:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=5G9f4hHoryghvfK3cYzKxPL5TwqwZKZ1HDIJatOQOZQ=; b=mEy6ZF8eIi0obzL+3/TwBFcPCmonCOia+6yPH/lOvIX7hSK7aRIasjTHylugNOGAYi zu1CVqvGZUMOlCiqaE4Do80o2hJ55rkR6YuYFa0HmaQ6WWp91Lw4r5kAPH4jR3GmQMIt 8U9xt9WhmJQYC5mvWefLhy1f00faEfskB9IPZAQNeuWw8+ZgJaIUtxqiJSuzi06ENNRw apsspsLzgMVpXQ1XwRkzueKulahI+pJAUalAmGOjxTwLDXwY0LobEecZdPGS7ABHktnp tkRfxyPOaWU5xPkvv1F/FWDbvIzCQcRq8QXTWUe0orP4DsYMBxUIAC8sjBmYhD1SnsdV euXQ== Received: by 10.205.123.147 with SMTP id gk19mr3659184bkc.90.1352468210033; Fri, 09 Nov 2012 05:36:50 -0800 (PST) Received: from [192.168.1.102] (c-71-192-10-85.hsd1.ma.comcast.net. [71.192.10.85]) by mx.google.com with ESMTPS id x13sm19311945bkv.16.2012.11.09.05.36.48 (version=SSLv3 cipher=OTHER); Fri, 09 Nov 2012 05:36:49 -0800 (PST) Message-ID: <509D06EE.4070507@dev.mellanox.co.il> Date: Fri, 09 Nov 2012 08:36:46 -0500 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Alex Netes CC: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH][MINOR] Add Per Module Logging support for Congestion Manager X-Gm-Message-State: ALoCoQkDKKRdLspdD7blFfIAUNdI8zQoYjzugp/yiu8Y5IFkBU71bzf0F7P6lMUr4d9x7ZjMgi44 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Signed-off-by: Hal Rosenstock --- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/opensm/osm_file_ids.h b/include/opensm/osm_file_ids.h index 713a0f9..e23710c 100644 --- a/include/opensm/osm_file_ids.h +++ b/include/opensm/osm_file_ids.h @@ -149,6 +149,7 @@ typedef enum _osm_file_ids_enum { OSM_FILE_VL_ARB_RCV_C, OSM_FILE_ST_C, OSM_FILE_UCAST_DFSSSP_C, + OSM_FILE_CONGESTION_CONTROL_C, } osm_file_ids_enum; /***********/ diff --git a/opensm/osm_subnet.c b/opensm/osm_subnet.c index b9a491b..0056049 100644 --- a/opensm/osm_subnet.c +++ b/opensm/osm_subnet.c @@ -184,9 +184,10 @@ static const char *module_name_str[] = { "osm_vl_arb_rcv.c", "st.c", "osm_ucast_dfsssp.c", + "osm_congestion_control.c", /* Add new module names here ... */ /* FILE_ID define in those modules must be identical to index here */ - /* last FILE_ID is currently 88 */ + /* last FILE_ID is currently 89 */ }; #define MOD_NAME_STR_UNKNOWN_VAL (ARR_SIZE(module_name_str))