From patchwork Wed Jun 16 20:25:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 12325863 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9A8CC48BE6 for ; Wed, 16 Jun 2021 20:25:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9FF686023D for ; Wed, 16 Jun 2021 20:25:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233449AbhFPU1t (ORCPT ); Wed, 16 Jun 2021 16:27:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233390AbhFPU1s (ORCPT ); Wed, 16 Jun 2021 16:27:48 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84DB1C061574 for ; Wed, 16 Jun 2021 13:25:41 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id q15so2948392pgg.12 for ; Wed, 16 Jun 2021 13:25:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version; bh=jrowcMZCIkOjNBOe2XBEyWufSuwQXDXkPduU0EA4QNY=; b=DdOWoMD+GWdfCsr4FVevSBrz52sBNC6CutJweJDu9VySXZ9A0PazSY4StIDKXkbhsT cY32GprY+X4BAzF/c7AvdYJCraZ6qpej7fCK2KSJR8G5mTb4yrNkzeYj0ALqUj75HYTa orDFQNUoNVJwLBMHQ0RB1y/kCWtzCc+59zGs0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version; bh=jrowcMZCIkOjNBOe2XBEyWufSuwQXDXkPduU0EA4QNY=; b=iHIyXXJINr/FzFh2pOvG82Q4v52HtP3v3KcojPmYrMVOLN+5IzsJJeKCtQHhOF2VgQ hbSYwG+qmMHnZ3DHJZIRYVap6ON0mnA/8cxNCGV+1L+OQdTds/qorzegwExRZIpfOAfz AK8xyN8ZKmNdV+mA+9vuh80aEmyxx3hLzoswVh6tfQEsbWnTyqIetndmMBTi36udpN8h CKv8OTwnzphG8fNP8YRPO6wOPy7w1ifJ6EQwQc7c761OpPUNqmzXnipoN4PhVsXDo2UP VNOFVqAPZCUHgjuQn3ML1952K1W3utCo7eBJypks6h6Ld3u5Ix93MAaV9xWNvLTdZt75 viqQ== X-Gm-Message-State: AOAM531HrnEf3oZCPqmyqsvv0V4QjfA38kSmFC57jCmMZFk4t646nGXQ x5xabkro1nPoQacz/Slsjpit2EP6zJnpAZ0OM5YuMhR1x5ku2iuEh/cZ94tD/2YnQnfD4QX1T89 ADTCwxH0PQSKPqo+xsHnrqSx8kTJj7SERLLqJZXug1huiccWu1Dk7kchIGvFB6pMaCbXX8fIMR+ ol7Qp4Sg== X-Google-Smtp-Source: ABdhPJwR67SA1dSITFxDb915aMO4QT/imm5RDH8gdtkIYIkysNWGfIzPGppta1w6vBrkW2yRz/VCbw== X-Received: by 2002:a63:e958:: with SMTP id q24mr1403342pgj.438.1623875140404; Wed, 16 Jun 2021 13:25:40 -0700 (PDT) Received: from dev01.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id s24sm6236561pju.9.2021.06.16.13.25.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 13:25:40 -0700 (PDT) From: Devesh Sharma To: linux-rdma@vger.kernel.org Cc: Devesh Sharma Subject: [PATCH V6 rdma-core 1/5] Update kernel headers Date: Thu, 17 Jun 2021 01:55:20 +0530 Message-Id: <20210616202524.1185195-2-devesh.sharma@broadcom.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210616202524.1185195-1-devesh.sharma@broadcom.com> References: <20210616202524.1185195-1-devesh.sharma@broadcom.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org To commit ?? ("RDMA/bnxt_re: update ABI to pass wqe-mode to user space"). Signed-off-by: Devesh Sharma --- kernel-headers/rdma/bnxt_re-abi.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/kernel-headers/rdma/bnxt_re-abi.h b/kernel-headers/rdma/bnxt_re-abi.h index dc52e3cf..b1de99bf 100644 --- a/kernel-headers/rdma/bnxt_re-abi.h +++ b/kernel-headers/rdma/bnxt_re-abi.h @@ -49,7 +49,14 @@ #define BNXT_RE_CHIP_ID0_CHIP_MET_SFT 0x18 enum { - BNXT_RE_UCNTX_CMASK_HAVE_CCTX = 0x1ULL + BNXT_RE_UCNTX_CMASK_HAVE_CCTX = 0x1ULL, + BNXT_RE_UCNTX_CMASK_HAVE_MODE = 0x02ULL, +}; + +enum bnxt_re_wqe_mode { + BNXT_QPLIB_WQE_MODE_STATIC = 0x00, + BNXT_QPLIB_WQE_MODE_VARIABLE = 0x01, + BNXT_QPLIB_WQE_MODE_INVALID = 0x02, }; struct bnxt_re_uctx_resp { @@ -62,6 +69,8 @@ struct bnxt_re_uctx_resp { __aligned_u64 comp_mask; __u32 chip_id0; __u32 chip_id1; + __u32 mode; + __u32 rsvd1; /* padding */ }; /*