From patchwork Wed Mar 6 10:18:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Noa Osherovich X-Patchwork-Id: 10840789 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 44DD714DE for ; Wed, 6 Mar 2019 10:19:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 311C62C51C for ; Wed, 6 Mar 2019 10:19:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 252F52C51E; Wed, 6 Mar 2019 10:19:04 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,UNPARSEABLE_RELAY 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 A9A972C51C for ; Wed, 6 Mar 2019 10:19:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727106AbfCFKTC (ORCPT ); Wed, 6 Mar 2019 05:19:02 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:38117 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727133AbfCFKTC (ORCPT ); Wed, 6 Mar 2019 05:19:02 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from noaos@mellanox.com) with ESMTPS (AES256-SHA encrypted); 6 Mar 2019 12:19:00 +0200 Received: from reg-l-vrt-059-009.mtl.labs.mlnx (reg-l-vrt-059-009.mtl.labs.mlnx [10.135.59.9]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x26AJ0hC025423; Wed, 6 Mar 2019 12:19:00 +0200 From: Noa Osherovich To: dledford@redhat.com, jgg@mellanox.com, leonro@mellanox.com Cc: linux-rdma@vger.kernel.org, Noa Osherovich Subject: [PATCH rdma-core] pyverbs: Remove RESERVED entries Date: Wed, 6 Mar 2019 12:18:56 +0200 Message-Id: <20190306101856.23832-1-noaos@mellanox.com> X-Mailer: git-send-email 2.17.2 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 Clean RESERVED enum members as we don't expect real applications to use them. Signed-off-by: Noa Osherovich Reviewed-by: Maor Gottlieb --- pyverbs/libibverbs_enums.pxd | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pyverbs/libibverbs_enums.pxd b/pyverbs/libibverbs_enums.pxd index 2525e869a201..580252468e31 100644 --- a/pyverbs/libibverbs_enums.pxd +++ b/pyverbs/libibverbs_enums.pxd @@ -212,7 +212,6 @@ cdef extern from '': IBV_SRQ_INIT_ATTR_XRCD = 1 << 2 IBV_SRQ_INIT_ATTR_CQ = 1 << 3 IBV_SRQ_INIT_ATTR_TM = 1 << 4 - IBV_SRQ_INIT_ATTR_RESERVED = 1 << 5 cpdef enum ibv_mig_state: IBV_MIG_MIGRATED @@ -226,7 +225,6 @@ cdef extern from '': IBV_QP_INIT_ATTR_MAX_TSO_HEADER = 1 << 3 IBV_QP_INIT_ATTR_IND_TABLE = 1 << 4 IBV_QP_INIT_ATTR_RX_HASH = 1 << 5 - IBV_QP_INIT_ATTR_RESERVED = 1 << 6 cpdef enum ibv_qp_create_flags: IBV_QP_CREATE_BLOCK_SELF_MCAST_LB = 1 << 1 @@ -264,14 +262,12 @@ cdef extern from '': cpdef enum ibv_wq_init_attr_mask: IBV_WQ_INIT_ATTR_FLAGS = 1 << 0 - IBV_WQ_INIT_ATTR_RESERVED = 1 << 1 cpdef enum ibv_wq_flags: IBV_WQ_FLAGS_CVLAN_STRIPPING = 1 << 0 IBV_WQ_FLAGS_SCATTER_FCS = 1 << 1 IBV_WQ_FLAGS_DELAY_DROP = 1 << 2 IBV_WQ_FLAGS_PCI_WRITE_END_PADDING = 1 << 3 - IBV_WQ_FLAGS_RESERVED = 1 << 4 cpdef enum ibv_wq_state: IBV_WQS_RESET @@ -283,7 +279,6 @@ cdef extern from '': IBV_WQ_ATTR_STATE = 1 << 0 IBV_WQ_ATTR_CURR_STATE = 1 << 1 IBV_WQ_ATTR_FLAGS = 1 << 2 - IBV_WQ_ATTR_RESERVED = 1 << 3 cpdef enum ibv_rx_hash_function_flags: IBV_RX_HASH_FUNC_TOEPLITZ = 1 << 0