From patchwork Tue Jul 31 08:24:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Netes X-Patchwork-Id: 1258531 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 00D5EDF26F for ; Tue, 31 Jul 2012 08:25:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754826Ab2GaIY7 (ORCPT ); Tue, 31 Jul 2012 04:24:59 -0400 Received: from mail-vb0-f46.google.com ([209.85.212.46]:56762 "EHLO mail-vb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754814Ab2GaIY5 (ORCPT ); Tue, 31 Jul 2012 04:24:57 -0400 Received: by vbbff1 with SMTP id ff1so5498214vbb.19 for ; Tue, 31 Jul 2012 01:24:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent:x-gm-message-state; bh=StdgG/QWIkH6XWf1OShC/Y0Se1Z1GUb8V9Lqc1G/saE=; b=OhpMB/KJ5vrOa7kfA3TLOob+1J6tpe2mJGrwdhaPF4JZeep1TyBkE1/hpZJTG+lkMP aDiTOWvvnpfnZxu3Fckoq5/FnGMzXNF1O/ERYLtP57hg8Nhx3FwWjdA/6h0fCkSBuJGQ RrqFno3ckt7su8zAGG/C1+rb8Bu6HThEwX+XF88+/LoceVaMzOi5RDTMfq1aF7rWZUPP n4peHBJbUbq+7MwLsZO37LEiRJA2rYTpPlfeJ1ZR4D5CEpTkyRrq1588FEgLjTIq4or2 wBTg9BTgYg9t9fzJdT2M/KTG2/iw38finKNc1vIiKd/0htgV5+XSmW8NGJWvgMTRdD2h cc9Q== Received: by 10.58.0.110 with SMTP id 14mr1781218ved.28.1343723095674; Tue, 31 Jul 2012 01:24:55 -0700 (PDT) Received: from localhost ([193.47.165.251]) by mx.google.com with ESMTPS id w11sm11669457vdt.16.2012.07.31.01.24.53 (version=SSLv3 cipher=OTHER); Tue, 31 Jul 2012 01:24:55 -0700 (PDT) Date: Tue, 31 Jul 2012 11:24:51 +0300 From: Alex Netes To: linux-rdma@vger.kernel.org Subject: [PATCH] opensm: Add per module logging FILE_ID define to osm_congestion_control.c Message-ID: <20120731082451.GB2077@calypso> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQmjt/AvP6nvLBSPGotuZ+h8yyNW6dypw9masnIBGPPg1P9CXBf3T7okuQhYgdsreDCdt5ia Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Signed-off-by: Alex Netes --- include/opensm/osm_file_ids.h | 1 + opensm/osm_congestion_control.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/opensm/osm_file_ids.h b/include/opensm/osm_file_ids.h index 713a0f9..7c45082 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_congestion_control.c b/opensm/osm_congestion_control.c index 640f3fa..0aa72fd 100644 --- a/opensm/osm_congestion_control.c +++ b/opensm/osm_congestion_control.c @@ -47,7 +47,8 @@ #include #include - +#include +#define FILE_ID OSM_FILE_CONGESTION_CONTROL_C #include #include #include