From patchwork Tue Mar 13 22:25:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10281055 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CADEA6038F for ; Tue, 13 Mar 2018 22:25:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB0662856E for ; Tue, 13 Mar 2018 22:25:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D39F2856D; Tue, 13 Mar 2018 22:25:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5A442856D for ; Tue, 13 Mar 2018 22:25:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932397AbeCMWZu (ORCPT ); Tue, 13 Mar 2018 18:25:50 -0400 Received: from mail-he1eur01on0066.outbound.protection.outlook.com ([104.47.0.66]:62275 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932372AbeCMWZt (ORCPT ); Tue, 13 Mar 2018 18:25:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=u6OL1+fQOjm/DejoedOeKNsgZLyQY3LVzrXFPRHhnWI=; b=WkPy+QHPwxTyLdbSJNhcTWwpMyDn6Q6Djgrr6UsVDShyJfMuPO1jjXf2Y5QLwVrnID5n3r2GIKMYQANeKyQqGR4+j2SMA/kmWjFnT0+w1pYbacwgzFcZQNsfcfDxnKPnnD9cg+cv+gB+jvARPHiUGaQlxgbDlmkSRfVIBOZZsWA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jgg@mellanox.com; Received: from mlx.ziepe.ca (174.3.196.123) by VI1PR0501MB2863.eurprd05.prod.outlook.com (10.172.12.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Tue, 13 Mar 2018 22:25:46 +0000 Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1evsMG-0002pX-Sx; Tue, 13 Mar 2018 16:25:24 -0600 Date: Tue, 13 Mar 2018 16:25:24 -0600 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Faisal Latif , Shiraz Saleem Subject: [PATCH] RDMA/i40iw: Move uapi header to include/uapi Message-ID: <20180313222524.GA10837@ziepe.ca> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [174.3.196.123] X-ClientProxiedBy: MWHPR08CA0041.namprd08.prod.outlook.com (10.173.236.15) To VI1PR0501MB2863.eurprd05.prod.outlook.com (10.172.12.8) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: fa934b36-fdd2-4324-c3a1-08d589315dc8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0501MB2863; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2863; 3:kFnXpVUFR9a6E17yWGqCe7VUkPlI9+X2lafgoqOUJXkYu2Sdlkj15w5E4qR0HH0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XxhRKtJvTBXUqV4jmsQTFHL7NqvevhgNHq3MhPXnPpR4eo3PO3cSZxK66mjjYD73vj6InNjRfBSAv+tim60dhUPMkv3mm+0KJOgIZQnVdbLLhm0bhoY2ZPBgUrIfI3rkfHamXp/p02+PE9Owor1rAZBYvadBXMtn5qlNMuwmYTyzbaNdRLHeYC0oYEWiLvV6Y2CMTWiMc7TO9CbhcxekPNQ1CXS2f07LSPP0LaEgkdbbe7gJw9j5bmxSOXZTmVir8/rHeAE0K12kiKlCOD2/uMe6zM; 4:d4a3wOoUuET3f5RhaD28qjUoookgOQ1CekCTAj3zpAgRN+km1P05lfJV0gd3rPpSgoSk/YmDLQuWlUctf2PEtBs1tiFxHhlFUXTfhYqKmMjQL/oBCqXuTn42pywbFb1T6kFrcyUvwSab63cDthOcX/XHieK/mwX7XoAwQNLMlLLtSP0Wquw+mG5w2oK0zZfLkUtsjFPRr9yH4nTZIwZjZi3WYV4DQRmuOSmtCL7JtM9jr8UXwXfxWn3LvsjXl9ZPn08VpzAkZc6cgFTnYrt4Tg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231221)(944501244)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041310)(20161123558120)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:VI1PR0501MB2863; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0501MB2863; X-Forefront-PRVS: 0610D16BBE X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(366004)(346002)(376002)(39860400002)(39380400002)(199004)(189003)(4326008)(26005)(97736004)(54906003)(36756003)(186003)(105586002)(386003)(57986006)(83796002)(33896004)(33656002)(8936002)(47776003)(122856001)(9686003)(2351001)(66066001)(46656002)(1857600001)(53936002)(7736002)(6116002)(50466002)(1076002)(478600001)(2361001)(305945005)(23726003)(316002)(5660300001)(81156014)(58126008)(8676002)(86362001)(52116002)(69596002)(6916009)(68736007)(16586007)(9786002)(9746002)(106356001)(81166006)(3846002)(2906002)(18370500001)(24400500001)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2863; H:mlx.ziepe.ca; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0501MB2863; 23:CmEAR0xovp4OtezYjkw3vo+d+OUmT+uGi0aNBaD?= =?us-ascii?Q?VnsOiz6BfTKKx3mwzq7NPfdbz3kf4intPkJ3Y4CnmKOepCE0x0iYZbT4Lhsv?= =?us-ascii?Q?vkL7Vofur6KeSU+x3BEWsPnqsnRJuSBLloys8rgkvadPJQOGS58ua+gAFUc3?= =?us-ascii?Q?jiD8QGrlVv+4ZxOrkU+u/AT/+CAOH5LvYdZNNOJrNq6GcQowR5ZqOgnA0nZz?= =?us-ascii?Q?G16SHKq9liqwzLt6dw0dIhLUXqn7YX2aiLNhy2KoJABLFGGTtqMmcH/m/sOK?= =?us-ascii?Q?9WBFgAGfsSV1e9eBsdFoqbHXKgdKlIc9WeZj4NfaB2dl2UdTk2/yWeuZZ6Mc?= =?us-ascii?Q?R5/VrwOamo6aw9rG0cjH6og9qzdJFL7V6RtXDUY86+EwQbx4NdUz02TsJEg+?= =?us-ascii?Q?65ZQB37PxMGSjvCI1Pno2XtsXJXiPH1TIM2wBR+TXvVKefcR4ThfQhRHNF03?= =?us-ascii?Q?rdMZYTl4zBE2GNen2pLkpEJDwoHcgADw5bj/1ARkZUZh9RgEBDhGObEqSw2y?= =?us-ascii?Q?yW8HNT+yhd6c58NGe9uhy5Qhvzc5VJOp4YcxQ/GCBzjqxpXJC1SlgH+4BkkA?= =?us-ascii?Q?JblDiZxT9y9/as2aHYdHFVEol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nuzTD6az66x9T8Dsea9zaUbnTAEP X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2863; 6:bBe+tuqJf0sFoqo/wSrzWyp9aFhfs1LgOCHp7Z3rPOMAuCvrWZZriCD3gXEbJe28DHKJ1V4Qy5rb6YLpaVopIEEC1pWavTNMfewq9CKiLqUpd7d7PQJqPUGMg863NTKcKmK+Z7qqo1ux+j13KSzRTaqdrjTekLM9Ipnupm8wfm31ySENIPE2Y5jCrv33RGdSCd815cnwy1ShVFDlkHOH5po7jjF0fPMeIBtQeOPfsPl4cffKcAwgrpAvk9MCHZHCP6bfZ6aa4+wkiUL6996xP+O6CR2l9KEsXpBLkmnzHGLC61Q0vsGl7JEEpbOvdZ+QpCMYi6QXRmN2TxlvUn7rxKqFxraeMliQKp5/2sp1mC8=; 5:EmIUz6LY2B6H13bY1I1SuDDVlISXmtPk35NY9zALRnd9k74kIi1wqVqynqj1E/sl9+95ZwCQrIN4szs9Ht+QbnkoOnwOyMtsNYUW5x9wKDLLQOd4sQnpGPmucxWYqv2/nAu+W8oc71GrZNc3rxFKMDe6zxJ7a6tKgFHJ8p8WubE=; 24:Ew14z2H6dmxGwe7kum1P3nBjJyc6uOV7PtwxZY7S5kbmSQShfxjD8OWxe6AOtOSMWYIEgFLMylhVS9bGc6sLRsOVQPOfcpvDc5AUowAea5g=; 7:9ibMYgkRRVFGIkp0N/PvdDY1rxGcdfXaMkRVJRG2EDWVAwWARO0iU7tFQoNq5ZHpE9i8p3xtr2s/sunGYbmEn0oBR7NTivNCclvdOeONylQKMMrFSa6ip1DWaPJeKPQg+9OBsKyQOLSYSb2Is9lrDYtpf//h3dpYkk/pKLcTryWt9fcOsk5Y92ZnYu/C/wWSaiwnVNwrFO5jRiT7HiHcn+XMUVX0acGL3l/V7jBSJ3yegrCgka+fekEaA0unN0lP SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Mar 2018 22:25:46.0603 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fa934b36-fdd2-4324-c3a1-08d589315dc8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2863 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP All of these defines are part of the uABI for the driver, this header duplicates providers/i40iw/i40iw-abi.h in rdma-core. Signed-off-by: Jason Gunthorpe --- .../hw/i40iw/i40iw_ucontext.h => include/uapi/rdma/i40iw-abi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename drivers/infiniband/hw/i40iw/i40iw_ucontext.h => include/uapi/rdma/i40iw-abi.h (98%) diff --git a/drivers/infiniband/hw/i40iw/i40iw_ucontext.h b/include/uapi/rdma/i40iw-abi.h similarity index 98% rename from drivers/infiniband/hw/i40iw/i40iw_ucontext.h rename to include/uapi/rdma/i40iw-abi.h index 57d3f1d11ff1f5..bfc3aaf2e56a5b 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_ucontext.h +++ b/include/uapi/rdma/i40iw-abi.h @@ -34,8 +34,8 @@ * */ -#ifndef I40IW_USER_CONTEXT_H -#define I40IW_USER_CONTEXT_H +#ifndef I40IW_ABI_H +#define I40IW_ABI_H #include