From patchwork Sat Jan 16 15:53:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 8049201 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 4BF22BEEE5 for ; Sat, 16 Jan 2016 15:56:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7A11620364 for ; Sat, 16 Jan 2016 15:56:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CCFEC20361 for ; Sat, 16 Jan 2016 15:56:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752036AbcAPP4g (ORCPT ); Sat, 16 Jan 2016 10:56:36 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:33888 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751391AbcAPP4Z (ORCPT ); Sat, 16 Jan 2016 10:56:25 -0500 Received: by mail-wm0-f43.google.com with SMTP id u188so56314286wmu.1 for ; Sat, 16 Jan 2016 07:56:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leon-nu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+tZ6HApiaKkvG0XIS5igxGGHhPNXwWhaitmOFXynIiA=; b=qV1fQ9hCyxx7AyOkieOGOAMRJ5VdsjkfRY7Bv2RjdDTWk4I8UukvNyHtPNhS5Cvy0p PHI7V2NxLnuehcJYzTIJsezHuLMhei/QRBST6DtoujzZ67Pazgmpu5Tv46xT+2pUj4yJ XFwCESNTBTHHL0s5cEZHcVfrYQI3qnNHrozSz8BlR6pXTnfHFgyOazuSbNOpPE68X5Tt At3iqrMDl21DwGsG2L3v6tMiInc4BYQDn7OcD+qrAiosEMvPF7WEtLTMVNrxNP6Z+y8w CJuuyjXnazOLCCdoqPZIC40pzUzV7kTv6F6AUFfnLpnnvUS0dpO1nlE3dJYJZHt1WycI 4FUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+tZ6HApiaKkvG0XIS5igxGGHhPNXwWhaitmOFXynIiA=; b=V3O9JKMP/URqyeiqRDZTHYU445sFQmKJwLnv/uO/1zHrEE6aQqkGMGKPqx8n7bqqNO iYSPH7yjbgepv3buGONyIv3wOErriMmORDk2auYBvZmLDh0Lz47xQhFDhBKnygK9dMth hvv1jD2dlOPzzV2iaavXV9seUEyJOzegqV47hZIa8PymUDT7BTVRDlS87as1klWTI77C ok57S2BRnT4q985capLzBwQlYz5u30vZo3+qZx5XE5lWBrMKpP4ysX1jbeBwrEz4Fwp/ +JjBxtsowA677pTIZr5wRwyrjh+vd4nkQyZOlNv3vGh+U+ksu2go3VrerzOVQUdNSObL qfQg== X-Gm-Message-State: AG10YOS9XcTsspfYZKr4nJ58JM/7H8QUsH/Mkk5bdNnGetfwZhBs89QvJfed4E68UXx80A== X-Received: by 10.28.222.5 with SMTP id v5mr4656725wmg.94.1452959784772; Sat, 16 Jan 2016 07:56:24 -0800 (PST) Received: from localhost ([213.57.247.249]) by smtp.gmail.com with ESMTPSA id x10sm15485462wjx.8.2016.01.16.07.56.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Jan 2016 07:56:23 -0800 (PST) From: Leon Romanovsky To: dledford@redhat.com Cc: linux-rdma@vger.kernel.org, Leon Romanovsky Subject: [PATCH libibverbs V1 4/5] Export cross-channel capability flag Date: Sat, 16 Jan 2016 17:53:43 +0200 Message-Id: <1452959624-29454-5-git-send-email-leon@leon.nu> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1452959624-29454-1-git-send-email-leon@leon.nu> References: <1452959624-29454-1-git-send-email-leon@leon.nu> 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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 From: Leon Romanovsky Export device capability flag IB_DEVICE_CROSS_CHANNEL for the devices that can perform cross-channel operations. Signed-off-by: Leon Romanovsky Reviewed-by: Sagi Grimberg --- include/infiniband/verbs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h index d91dd8a1376e..0ad9be3c323f 100644 --- a/include/infiniband/verbs.h +++ b/include/infiniband/verbs.h @@ -121,6 +121,7 @@ enum ibv_device_cap_flags { IBV_DEVICE_XRC = 1 << 20, IBV_DEVICE_RC_IP_CSUM = 1 << 25, IBV_DEVICE_RAW_IP_CSUM = 1 << 26, + IBV_DEVICE_CROSS_CHANNEL = 1 << 27, IBV_DEVICE_MANAGED_FLOW_STEERING = 1 << 29 };