From patchwork Wed Aug 1 13:58:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 1264361 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 516A3DF215 for ; Wed, 1 Aug 2012 13:58:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754155Ab2HAN6J (ORCPT ); Wed, 1 Aug 2012 09:58:09 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:55736 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753930Ab2HAN6I (ORCPT ); Wed, 1 Aug 2012 09:58:08 -0400 Received: by mail-bk0-f46.google.com with SMTP id j10so3792958bkw.19 for ; Wed, 01 Aug 2012 06:58:08 -0700 (PDT) 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=HeLTB/oqy061O8hxTJTLCAM+eVYOEBqFD/A5u2AZhGc=; b=kUDyCBTCiPRpuZzkaIqFZRiHROPQddlLoXb58kSXQuybyZp2q69WIb2pGQ9kq7tBYD jV9XgcYdeOufKZ4Wo2533Jah8W572AO6y+TCN3wKPL6EVUxMUAXZDiyKij6OvrNC+FKP to2d3S/qNZ7/1BXipf5E+HOQFnv+qmg1MXKxSX79/nk0lV0uLYEWs19ahWshcEX2B7QF GpPVfgmHjLF/1VTm3SePruEw4rwY4r0EsdzvWLlpTnq3kUTAF9rRhx+QAsFhzL6ofhr3 GPaRSZ672EnNp4ednkydEyK/8LnGgjDDbH4zmW5Q1uBEBAV5v0IgDNrEkQMHXo3Cso0d 8+tg== Received: by 10.204.154.141 with SMTP id o13mr6719072bkw.72.1343829487782; Wed, 01 Aug 2012 06:58:07 -0700 (PDT) Received: from [172.25.5.27] ([193.47.165.251]) by mx.google.com with ESMTPS id g6sm1813329bkg.2.2012.08.01.06.58.05 (version=SSLv3 cipher=OTHER); Wed, 01 Aug 2012 06:58:07 -0700 (PDT) Message-ID: <501935EC.5090108@dev.mellanox.co.il> Date: Wed, 01 Aug 2012 09:58:04 -0400 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 2/2] opensm/osm_sa_class_port_info.c: Indicate support for PortInfo CapMask2 matching in SA ClassPortInfo:CapabilityMask2 X-Gm-Message-State: ALoCoQngxyIb20lJuE9dH08CJnxMmrSnpxP1mfNxhu+GeW9iQgSCe72kEwWhrZOGKm7yyYeWtcDi Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Per MgtWG RefID #4858 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/opensm/osm_sa_class_port_info.c b/opensm/osm_sa_class_port_info.c index 8027ebc..31271b3 100644 --- a/opensm/osm_sa_class_port_info.c +++ b/opensm/osm_sa_class_port_info.c @@ -161,7 +161,8 @@ static void cpi_rcv_respond(IN osm_sa_t * sa, IN const osm_madw_t * p_madw) #endif cap_mask2 = OSM_CAP2_IS_FULL_PORTINFO_REC_SUPPORTED | OSM_CAP2_IS_EXTENDED_SPEEDS_SUPPORTED | - OSM_CAP2_IS_ALIAS_GUIDS_SUPPORTED; + OSM_CAP2_IS_ALIAS_GUIDS_SUPPORTED | + OSM_CAP2_IS_PORT_INFO_CAPMASK2_MATCH_SUPPORTED; if (sa->p_subn->opt.use_mfttop) cap_mask2 |= OSM_CAP2_IS_MCAST_TOP_SUPPORTED; if (sa->p_subn->opt.qos)