From patchwork Sun Dec 20 11:22:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 7891771 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4543D9F350 for ; Sun, 20 Dec 2015 11:24:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6ED9E2047D for ; Sun, 20 Dec 2015 11:24:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A5B042047B for ; Sun, 20 Dec 2015 11:24:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932552AbbLTLYG (ORCPT ); Sun, 20 Dec 2015 06:24:06 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:37997 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932506AbbLTLYF (ORCPT ); Sun, 20 Dec 2015 06:24:05 -0500 Received: by mail-wm0-f46.google.com with SMTP id l126so37369603wml.1 for ; Sun, 20 Dec 2015 03:24:05 -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=18QRZtNzhGNN5DllhY3+0awPBfOF6lQMSkaUmxMuo6U=; b=VN01mplPHI3lgd2bRKW53Gm2O9c6botyFxGV9C4BmB9NqUESgdEjVE6hA7awANBuGJ l++Ap8a6fs6qB5WRZ0SJJcy01FXEvr6V64NVyquBfWk+LsZfU0vnXMx9Wy7IYoS2z9Cu Szpl1MO9EtdqqgUgsFrqUQuuC4iQ8Mtlt+Zf8pi8Whz9PrP3PHRgb0tMpWA0Szf25VZs tMoQLBACxBJa/j4gDJHR96/TH3yoUyAKbHcL3ifnlmf0YWtfYErI80bsxPXIXEvcaN8E 0lkFe4ATGRmbf3gFGix1bHjp2p0qRJAtvYxwDTKiSotfdoVO+ib/U+DPhcUxgc5Sw0SB ViLg== 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=18QRZtNzhGNN5DllhY3+0awPBfOF6lQMSkaUmxMuo6U=; b=EiEs2QRlse24aA6RZNc3ZSyIJmFqIXkeIfdS8lZ4uHDZ6Bv2l4R70SBvzOnokhcBqp nf7MScdDDO8Ty+sxUURwQLGxLzJMA+vI9YzRat5kzeoZoQDP7gWGyDsXz+4o73hJwzw4 e9t+53yeSc2ZfYWO+ddttjV3++Ff4YBDDLGPhTDOyXAHKpERdoLodtfm5FNdz8YjWCii vS3e23R/2po6/N9JPsQtt5S5bSE403HE62u0RDRXvPr0OipfffMxKwZ7mv4VDtALcACe KH3NmGqWSXauFcaJAyZDMf9Buf1aLEVt6b36BlJxDOk2wQFoRLJ4im+1zx+Snw3dNzlF l8iQ== X-Gm-Message-State: ALoCoQlmeputD7CaU7gdvTmf2DIa1snxzQybezm5hcR149jOX9XGfJHfqUFFTRinKZ42oonLKC7qH7Gz0Iq7/pojLDX2pIMpCw== X-Received: by 10.194.104.130 with SMTP id ge2mr14355169wjb.111.1450610644855; Sun, 20 Dec 2015 03:24:04 -0800 (PST) Received: from localhost ([213.57.247.249]) by smtp.gmail.com with ESMTPSA id e9sm23065130wjp.18.2015.12.20.03.24.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Dec 2015 03:24:03 -0800 (PST) From: Leon Romanovsky To: dledford@redhat.com Cc: linux-rdma@vger.kernel.org, Leon Romanovsky Subject: [PATCH libibverbs 3/3] libibverbs: Export cross-channel capability flag Date: Sun, 20 Dec 2015 13:22:44 +0200 Message-Id: <1450610564-17279-4-git-send-email-leon@leon.nu> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1450610564-17279-1-git-send-email-leon@leon.nu> References: <1450610564-17279-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 The device implements capability to execute complex I/O operations across multiple I/O channels - synchronize execution of I/O operations on one I/O channel with execution of I/O operations on another channel(s). Cross-channel operations support is indicated by the HCA_CAP.cd. Signed-off-by: Leon Romanovsky --- include/infiniband/verbs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h index 2b9b50c87f45..879f4cca8173 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 };