From patchwork Wed Jun 10 08:43:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Moni Shoua X-Patchwork-Id: 6577701 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D0861C0020 for ; Wed, 10 Jun 2015 08:45:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E895220595 for ; Wed, 10 Jun 2015 08:45:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 185B520592 for ; Wed, 10 Jun 2015 08:45:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754006AbbFJIpc (ORCPT ); Wed, 10 Jun 2015 04:45:32 -0400 Received: from [193.47.165.129] ([193.47.165.129]:50416 "EHLO mellanox.co.il" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753194AbbFJIpb (ORCPT ); Wed, 10 Jun 2015 04:45:31 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from monis@mellanox.com) with ESMTPS (AES256-SHA encrypted); 10 Jun 2015 11:44:49 +0300 Received: from rsws33.mtr.labs.mlnx (dev-r-vrt-064.mtr.labs.mlnx [10.212.64.1]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id t5A8j4IU004727; Wed, 10 Jun 2015 11:45:04 +0300 From: Moni Shoua To: Sean Hefty , Doug Ledford , Ira Weiny , Michael Wang Cc: linux-rdma@vger.kernel.org, Moni Shoua Subject: [PATCH] IB/core: Don't advertise SA in RoCE port capabilities Date: Wed, 10 Jun 2015 11:43:35 +0300 Message-Id: <1433925815-19725-1-git-send-email-monis@mellanox.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <5577F72A.2070008@mellanox.com> References: <5577F72A.2070008@mellanox.com> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Subnet Administrator (SA) is not a component of the RoCE spec. Therefore, it should not be a capability of a RoCE port. Signed-off-by: Moni Shoua --- include/rdma/ib_verbs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 7d78794..7725cee 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -381,7 +381,6 @@ union rdma_protocol_stats { #define RDMA_CORE_PORT_IBA_ROCE (RDMA_CORE_CAP_PROT_ROCE \ | RDMA_CORE_CAP_IB_MAD \ | RDMA_CORE_CAP_IB_CM \ - | RDMA_CORE_CAP_IB_SA \ | RDMA_CORE_CAP_AF_IB \ | RDMA_CORE_CAP_ETH_AH) #define RDMA_CORE_PORT_IWARP (RDMA_CORE_CAP_PROT_IWARP \