From patchwork Fri May 28 09:39:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 12286555 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=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,MIME_NO_TEXT,SPF_HELO_NONE,SPF_PASS, 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 C8FC1C4708C for ; Fri, 28 May 2021 09:40:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AE74F61059 for ; Fri, 28 May 2021 09:40:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233627AbhE1Jlg (ORCPT ); Fri, 28 May 2021 05:41:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234226AbhE1Jlf (ORCPT ); Fri, 28 May 2021 05:41:35 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23633C061574 for ; Fri, 28 May 2021 02:39:59 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id q67so2821419pfb.4 for ; Fri, 28 May 2021 02:39:59 -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:mime-version; bh=veZ/fWlwBr7ikm+fUgLc+vhvRgHGz0giCXExcnkyi10=; b=dim/jLmrtGZt/rWA9DtfNweqWcDQalkjw5GRb/ilLDpa7NvnyIOvP6GZcpIR/KYELy kRZZ4xSFLGg8dXLdpp9ikOdeRo48xRyxne9u4JNB/XgPiRVCkShN4+iSl5KrcNfHFDG2 g/M4lC8B7eXqb2o6GRaUweq1MAHTmEXxLJlkc= 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:mime-version; bh=veZ/fWlwBr7ikm+fUgLc+vhvRgHGz0giCXExcnkyi10=; b=QrGg9NhvOuk0AF0+j/8nZj4xMpXxFdEQa3fCbgnGww9ngM2pPi52zftSMWX3rV9Wt/ GzFgBO+2gcdpQv3LsY/Qi1Yp2Nxqcz5epqxnt8o5QvbZJbmPSsTlWgmW3lP0mZY6itNN o2W7wGXYoLwzd2x/1ahNUnXAZanRYkDxBGudjPm2MRjn4tzLWytLR7xg3u9NjMc4Dzrm y8QSIlRiSxUo4xIfY5vm2l9h1CM3n0IXrovhw8BtRaqy8JM4UFdim0l3Qh+VbaZdBcWT jVZTHdK5eFC3jnoaUURjoFQ5zdv3fkVWy6I6p7SttyVwcWzbXLgTjD94OqnQdtgG4QLF GCbg== X-Gm-Message-State: AOAM532psqSB/vWW55VS9eX+WFHry6dU97DFybAND7PPUQHnnvPhW8s5 XS3cOfFJfE/HbtUlwelYMoDpmV8spZN1gObShr3Pz1R3p55VjjpqCNDCzimFXABku+OwwYkJZAs mLt0v+F67ThYlyh0NKWxS9U29AfdvIBJ0dnDe3cwjHRdiEWSn0ykj17kA1WnaDfGwUbtj8xATI8 k8dclnT8C2 X-Google-Smtp-Source: ABdhPJyqG8a8Y6sdFOGt0YvwKqevRi5b/aea0ai798ZeOXCGcHMG9sQ+Ip1Pv+/x8ccD4K5y3m+5Lg== X-Received: by 2002:a63:a709:: with SMTP id d9mr7951133pgf.143.1622194798086; Fri, 28 May 2021 02:39:58 -0700 (PDT) Received: from dev01.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id s140sm3913216pfs.73.2021.05.28.02.39.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:39:57 -0700 (PDT) From: Devesh Sharma To: linux-rdma@vger.kernel.org Cc: Devesh Sharma Subject: [PATCH V3 rdma-core 0/5] Broadcom's user library update Date: Fri, 28 May 2021 15:09:41 +0530 Message-Id: <20210528093946.900940-1-devesh.sharma@broadcom.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org The focus of this patch series is to move SQ and RQ wqe posting indices from 128B fixed stride to 16B aligned stride. This allows more flexibility in choosing wqe size. v2 -> V3 - Split the ABI change into separate patch - committed ABI patch using standard rdma-core script. Devesh Sharma (5): Update kernel headers bnxt_re/lib: Read wqe mode from the driver bnxt_re/lib: add a function to initialize software queue bnxt_re/lib: Use separate indices for shadow queue bnxt_re/lib: Move hardware queue to 16B aligned indices kernel-headers/rdma/bnxt_re-abi.h | 5 +- providers/bnxt_re/bnxt_re-abi.h | 5 + providers/bnxt_re/db.c | 10 +- providers/bnxt_re/main.c | 4 + providers/bnxt_re/main.h | 26 ++ providers/bnxt_re/memory.h | 37 ++- providers/bnxt_re/verbs.c | 522 ++++++++++++++++++++---------- 7 files changed, 431 insertions(+), 178 deletions(-)