From patchwork Thu Jun 10 10:49:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 12312641 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=-12.9 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 A0BADC47094 for ; Thu, 10 Jun 2021 10:50:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 78803613CB for ; Thu, 10 Jun 2021 10:50:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229935AbhFJKwU (ORCPT ); Thu, 10 Jun 2021 06:52:20 -0400 Received: from mail-pf1-f173.google.com ([209.85.210.173]:37570 "EHLO mail-pf1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbhFJKwT (ORCPT ); Thu, 10 Jun 2021 06:52:19 -0400 Received: by mail-pf1-f173.google.com with SMTP id y15so1280302pfl.4 for ; Thu, 10 Jun 2021 03:50:24 -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=F42rcIOa3RMJxwaYg704pUx5Nx64QC2cAlUvlrNfK5k=; b=KxH1F8Ve3RNJru1uIJFCKxiVrpODkLweFWjtzEk4JQd1nDKDiR1g7IOqvcZZBMuz+F KXmOrr6OTQlpIw1EvyCpeeToSOUV8+aTxUWe0Ojwq5l19sxgSkJN0Adw+yxcyNkriB/O c+w/UxMEpiPisLkiknNXAdB0KdVlwBFKX94DI= 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=F42rcIOa3RMJxwaYg704pUx5Nx64QC2cAlUvlrNfK5k=; b=cIg7WR0C8PTdP+0GGEHy6StsXPTQfg83gKQl4cF2/2hXnBpTtLKvI7rxdvebNs2AxP hH1t4SiimDUx18QG3a93CX6OrD3hEAxTe4JiOgya3j9tVNLsn9qdn041ctc6FfQ/0YX6 PjcEGcdJbcR9Qm2ZnrsXCTuLWELyLDwN6MA9V871wrx/NO0ImS8K6O6VPFZ34OSxIaRN qEJ05xEv63rI4RTln1/a0qB5J8NSRzsBfDs/i8EHbreug/LIzNi0Adg9dBRQ+tKPd2Q/ taoOD4JD93i+JHQ8Dp3JpsvWxAUKMndM0u309EgVGW0qLFJPHSh+TwMlotlplCn1hyM0 smBQ== X-Gm-Message-State: AOAM532UM/Co3rLzTxyXh0aXdyzXcELTev8QLLz4KWd7grvBQxv+QAs+ 1NtEsi65ODVbbYT3jlPkq3Ypvjhzmi3r/7QI/NpUKigL2ThlS99u/2vwV1JrgemkR1KpAe4kWHg 7POBhHNBTd8Jm47Jv06zuwcnFFBKLZif8MHYk+R3swb06CpgtdKUh0ezA2FQB/Yr3fOFB5vaFbM SZ+Wzw1Q== X-Google-Smtp-Source: ABdhPJzYAMeSZpB2HvOwLYUxTK/5EqQvvIrHvUHqCfhcTxTqQO4WM3HY6zD7Ku393srQQZ/kcEtjKA== X-Received: by 2002:a63:5d12:: with SMTP id r18mr4356918pgb.327.1623322163136; Thu, 10 Jun 2021 03:49:23 -0700 (PDT) Received: from dev01.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id r6sm7362564pjm.12.2021.06.10.03.49.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 03:49:22 -0700 (PDT) From: Devesh Sharma To: linux-rdma@vger.kernel.org Cc: Devesh Sharma Subject: [PATCH V4 rdma-core 0/5] Broadcom's user library update Date: Thu, 10 Jun 2021 16:19:05 +0530 Message-Id: <20210610104910.1147756-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. v3 -> v4 - fixed build warning 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 | 525 ++++++++++++++++++++---------- 7 files changed, 433 insertions(+), 179 deletions(-)