Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1300087imm; Wed, 19 Sep 2018 16:04:43 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYBClRL/bPAfODGij9cpP7r5F1/EAkv7V+tlMHAfgL7flbLHlLGjlBvofPKYwH1y5ASLvj6 X-Received: by 2002:a17:902:2f43:: with SMTP id s61-v6mr35562795plb.176.1537398283675; Wed, 19 Sep 2018 16:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537398283; cv=none; d=google.com; s=arc-20160816; b=QEMC8hwYxaHTVCpsH1kqleCia6PlLEDRAae0VwYT0DZrEZErW906bThbyNBRjoCnnN Oy/rFxUmWcC+tCEk//mdbl21eitl/2VDNIGZcDvcIpcAGGcHdBUI88N1tKE3zsbmWCS4 q7LmoLoeGGXsZ3YLh7LtHD6zU9hQBZq1qZx53wiLvgO1Ei9ZXBD9dZiB0CF0DjbPprJf ytYP1CE0gQiDMx8vmfOw7zCzKTtBlTJWz3GrRjOcGz+BPj+3juRuQzAZx92VNoJZsFva x1VpJBbVH5+5ax/mfSCQNthTMa7kkVZYv45sN3Mv2DJ/ZQofJufuZoMe67E1QZJs3X5K cTmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=+wVxSu9HdS/WJIKtNiaRDDKw55CZON9h74LX11HG5JM=; b=SjBQAEvygwFP5Qb0k+YoQOa2TvvAbY0pUVDonVoWLXWcSjsxmQaDXa16qAXt3TqXXZ Q4I345pkr+Is5DhXwZxpW3PTnf2bs4UlgZuxU2PO6jO7aXcXl8NXJ6M+etcFCZAKNkAO O+/9XbdB4iFdK9JdztiQwZYKj422CFHP96SLDqfKCukkBRfboY+0HsZcQ8WpjQhVwiTE gSp1wt98QYiQRHMf/Ws0tGMb2CXuTT+GWHmRvi0jHNq5vqu4QKcwPZd1ckIcSaCeWur2 7djf8n5budD/6C6Id5/lV7Jv2826/NWK0WA8IWhYf8/yenTVIgeuQvyAS2EhFWlG0M0Z FuWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x10-v6si21440476pgl.567.2018.09.19.16.04.28; Wed, 19 Sep 2018 16:04:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731940AbeITEod convert rfc822-to-8bit (ORCPT + 99 others); Thu, 20 Sep 2018 00:44:33 -0400 Received: from mga14.intel.com ([192.55.52.115]:40832 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725790AbeITEod (ORCPT ); Thu, 20 Sep 2018 00:44:33 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2018 16:04:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,395,1531810800"; d="scan'208";a="91595756" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga001.fm.intel.com with ESMTP; 19 Sep 2018 16:03:05 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 19 Sep 2018 16:03:05 -0700 Received: from fmsmsx103.amr.corp.intel.com ([169.254.2.126]) by FMSMSX152.amr.corp.intel.com ([169.254.6.159]) with mapi id 14.03.0319.002; Wed, 19 Sep 2018 16:03:04 -0700 From: "Nikolova, Tatyana E" To: Jason Gunthorpe , "Walker, Benjamin" CC: "Howell, Seth" , "linux-kernel@vger.kernel.org" , "monis@mellanox.com" , "linux-rdma@vger.kernel.org" , "dledford@redhat.com" Subject: RE: [PATCH] rdma: move the ib_wr_opcode enum to include/uapi Thread-Topic: [PATCH] rdma: move the ib_wr_opcode enum to include/uapi Thread-Index: AQHUNB7dduKd6+3bL0SrpYoBIoJutKTB4cuAgAAKaQCAATczAIAGhGQAgCvyCACAAAhrAIAAFpsAgAAFJYCAArEDwA== Date: Wed, 19 Sep 2018 23:03:04 +0000 Message-ID: <13AA599688F47243B14FCFCCC2C803BB4BDC4DE4@FMSMSX103.amr.corp.intel.com> References: <20180814223303.83556-1-seth.howell@intel.com> <20180815225021.GB31799@ziepe.ca> <20180816180126.GB10507@ziepe.ca> <11f85f780435a5ded567bc8559d7c770d3bc4464.camel@intel.com> <20180917210824.GF11367@ziepe.ca> <0df4e4958250fd6cdb978005ace970c877269535.camel@intel.com> <20180917224743.GG11367@ziepe.ca> In-Reply-To: <20180917224743.GG11367@ziepe.ca> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTM4N2ExYTktMmE3ZS00MmJiLWFjODctMGFjZWRkNDk2ZGFmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWjRhYzZOWGdDRjRmTktuMVlYN3drVGxEcHNhRVY4SjZ3QTlpMURJZmhxRlBEazFTbWIwSVFCUnBpSGhmK2lcL1MifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.1.200.108] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jason, > > What is the correct way for a user space application to check whether > > a NIC supports SEND_WITH_INVAL? We are currently examining the > > device_cap_flags in the structure returned by ibv_query_device. > > Specifically, we're looking at IBV_DEVICE_MEM_MGT_EXTENSIONS. > However, > > for i40iw, that flag is set. I'm concerned that the feature support > > flags are common between user space and the kernel, but the actual > support differs in this case. > > That is the correct thing to do. Sadly the i40iw driver is broken, it should be > fixed to either mask those flags or implement the functionality. > A fix to add SEND_WITH_INVAL support to the user space i40iw is coming. It is currently in regression testing. Thank you, Tatyana > Jason