From patchwork Wed Feb 20 14:47:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 2167601 X-Patchwork-Delegate: hal@mellanox.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 0F7C4DFE75 for ; Wed, 20 Feb 2013 14:47:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935426Ab3BTOrR (ORCPT ); Wed, 20 Feb 2013 09:47:17 -0500 Received: from mail-ia0-f172.google.com ([209.85.210.172]:34362 "EHLO mail-ia0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933257Ab3BTOrP (ORCPT ); Wed, 20 Feb 2013 09:47:15 -0500 Received: by mail-ia0-f172.google.com with SMTP id l29so5244204iag.3 for ; Wed, 20 Feb 2013 06:47:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=/Rcl4yBV92dsFPYNx0CHPiAdPDI1kh5Gg9H3DB8I2EE=; b=TtZgEV2NZOebRD3mpw/pBrxaL18zsVlgRrcgLNHsqw5JmnoOa9NxNW29aPFQbOTrfu b4laEZGWzPbSArZFd5S1d9NK4ZftEyffLf+iXiVf4lZxh3kyzI0iQ/1oieDOAnOdyxRB WF96RUqs5zw10PCr6VJhqH5ErMyCY6uRe1AJIikdzF7sqVpwLXKL9WceVrIi8LlKTU3X c/DJPOje3GoKBWbRQG0iJ16JxbC/o+3wq/NYMQYw1lNsv1S8amanuUY2A+9pxceScgbe +6YWxVDZCzpWOA97f3GKkHl+memIS4Tu/HMrKYpU0hdJx1xDocn+drPh1EXX5dl4bAPC Zapg== X-Received: by 10.50.151.225 with SMTP id ut1mr11463955igb.110.1361371634263; Wed, 20 Feb 2013 06:47:14 -0800 (PST) Received: from [192.168.1.102] (c-71-234-225-85.hsd1.ct.comcast.net. [71.234.225.85]) by mx.google.com with ESMTPS id gy3sm5961684igc.10.2013.02.20.06.47.12 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 20 Feb 2013 06:47:13 -0800 (PST) Message-ID: <5124E1EE.3050503@dev.mellanox.co.il> Date: Wed, 20 Feb 2013 09:47:10 -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: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH] opensm/ib_types.h: Add missing IB_MPR_COMPMASK_SERVICEID define X-Gm-Message-State: ALoCoQmZOL88+ImV9wzT6gVpeyfDNGKvWUQRMZOS0A4w6eLZQlseQNSBdBJWCNHAzprY4aKcM3Kk 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/iba/ib_types.h b/include/iba/ib_types.h index 698418d..cc9460c 100644 --- a/include/iba/ib_types.h +++ b/include/iba/ib_types.h @@ -2797,6 +2800,9 @@ typedef struct _ib_path_rec { #define IB_MPR_COMPMASK_DGIDCOUNT (CL_HTON64(((uint64_t)1)<<20)) #define IB_MPR_COMPMASK_SERVICEID_LSB (CL_HTON64(((uint64_t)1)<<21)) +#define IB_MPR_COMPMASK_SERVICEID (IB_MPR_COMPMASK_SERVICEID_MSB | \ + IB_MPR_COMPMASK_SERVICEID_LSB) + /* SMInfo Record Component Masks */ #define IB_SMIR_COMPMASK_LID (CL_HTON64(((uint64_t)1)<<0)) #define IB_SMIR_COMPMASK_RESV0 (CL_HTON64(((uint64_t)1)<<1))