From patchwork Wed Feb 13 13:31:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 2136081 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 6008BDFE75 for ; Wed, 13 Feb 2013 13:31:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934024Ab3BMNbx (ORCPT ); Wed, 13 Feb 2013 08:31:53 -0500 Received: from mail-ee0-f45.google.com ([74.125.83.45]:63879 "EHLO mail-ee0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759301Ab3BMNbx (ORCPT ); Wed, 13 Feb 2013 08:31:53 -0500 Received: by mail-ee0-f45.google.com with SMTP id b57so583891eek.32 for ; Wed, 13 Feb 2013 05:31:52 -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:cc :subject:content-type:content-transfer-encoding:x-gm-message-state; bh=IphIVnIsoNram8C3NUDLEIX78B3Akuq2eo8DvlcLkjI=; b=W8DpYhKkio738HX0g8RQnzvqSSEKVrZq8WWBtuLoKFdoIyw3xWsZ6JCtugvnP80fA+ uEAdMGxuSksNy5uVj5X5RXfWgu82t1XmpQPXfF/LPenaYMAgqAHwhr8ilyjC+f1H8QOE rIPpNxzwiy5ztRO0lTnbcHdiHRS4H/1cF/YfqhuYvY2IZ6Q/F8RndDjZ5sT/LFrZuSBQ /kFOAGBjIpM4X2Pj1sAVY/WSEYvdXcZYsNbkDEDVHuziiNprccyONTp1uTJTrN5Rn8LH lyHAzqzf1AI7NOHu/kLifHNO1RTL2BSG49T4sACwlYrUUTI/3teC8isymNBqdB3h5nXE iMtg== X-Received: by 10.14.183.67 with SMTP id p43mr74792710eem.10.1360762311854; Wed, 13 Feb 2013 05:31:51 -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 o3sm73168208eem.15.2013.02.13.05.31.50 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 05:31:51 -0800 (PST) Message-ID: <511B95C5.6040404@dev.mellanox.co.il> Date: Wed, 13 Feb 2013 08:31:49 -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: Hal Rosenstock CC: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH] opensm/ib_types.h: Add missing IB_PR_COMPMASK_SERVICEID define X-Gm-Message-State: ALoCoQnPaXMFcX2x6YKTl8ZS02Mk/OK3Tzo4zgtqAvx9QhtDrdynNg/Blfo/FP9KVUspjm+5xOXm 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..2bb87d3 100644 --- a/include/iba/ib_types.h +++ b/include/iba/ib_types.h @@ -2586,6 +2586,9 @@ typedef struct _ib_path_rec { #define IB_PR_COMPMASK_PKTLIFETIMESELEC (CL_HTON64(((uint64_t)1)<<20)) #define IB_PR_COMPMASK_PKTLIFETIME (CL_HTON64(((uint64_t)1)<<21)) +#define IB_PR_COMPMASK_SERVICEID (IB_PR_COMPMASK_SERVICEID_MSB | \ + IB_PR_COMPMASK_SERVICEID_LSB) + /* Link Record Component Masks */ #define IB_LR_COMPMASK_FROM_LID (CL_HTON64(((uint64_t)1)<<0)) #define IB_LR_COMPMASK_FROM_PORT (CL_HTON64(((uint64_t)1)<<1))