From patchwork Wed May 5 17:10:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 12240773 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.4 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 7F4B1C433ED for ; Wed, 5 May 2021 17:40:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 62EB461073 for ; Wed, 5 May 2021 17:40:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235009AbhEERlg (ORCPT ); Wed, 5 May 2021 13:41:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237292AbhEERiV (ORCPT ); Wed, 5 May 2021 13:38:21 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9424C0612B0 for ; Wed, 5 May 2021 10:11:13 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id e15so2437786pfv.10 for ; Wed, 05 May 2021 10:11:13 -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=rExriOypx9qGbixSdf47bLz8DiZhafPmDG80eWv0Tag=; b=gO11OxdgrQEkX7SHLG+Yq06Fvz8Xv4m5N4CRPORHxse3k3qzpZYC4TGBSW06mA3AYS 5oiasSw+D/ZLcWGKmexuGjdi90FFLVbt9lHypxSPoUXecVXVo5G41M/Zjq1QgB0If21D rVSgl8MEa2L7PDsKsk3VJQoNkvGFSoi+uKqjQ= 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=rExriOypx9qGbixSdf47bLz8DiZhafPmDG80eWv0Tag=; b=rRhZB+FAqzHIn3D13dJ+j0qKt7MbcoRZ5FcLeQN57GaNRBprS8pi4z1JgtJ5Gusg2B urMuWVM+U8Z/DuFHvm50OpJprJyJ7yTNWVDSHbjoSS9oPOfNzZiXuG+o7Kl+4789aihP 884sJf8qnAVSuOo4VLwsxUs8+/Ljq9HuhJEQNivropTFb66T9DJ7ftrePjyj0f8SHSWF 42AeCiuQCruuv8kICQ/+BG7WFf5dMYn2WW732C75r+85YtNl7dFoyhT25ejVQCQ29rTU PPD27SPsQYiVgMBJm1Cg/yozSn9S9AWTAusBRUFv6yP03SUqKt1XRGmMgjNGL2nqW0uQ THag== X-Gm-Message-State: AOAM5330P5p7Gji+xWQtuOfPqmC6yiX+IAQ3z6To7E6H8gZfvytJpWLh 7O7dR0dYm+Yu0ns+b8rudBSTfFqvH6ZFNUTaJxEPfjHvre/Ni/oU6hg4Qrcx8fqoW8LHEOiqRm3 JivpRt82dngWR1I4pdQtbKUR6i7lW3jT8H0pkG8gxL8vUIJcJNccsu8gaKKwTuvzlNPB+P0ROOt HQXxb3mMgJ X-Google-Smtp-Source: ABdhPJwfMlrM6MwiRsdRJKhIYUA8b5iSUZRgPqjcYof5/PoHmfkSWF2LSOIdlYCUz3HoZTaaPJLyfw== X-Received: by 2002:a62:7f84:0:b029:25f:b701:38e5 with SMTP id a126-20020a627f840000b029025fb70138e5mr53703pfd.5.1620234672511; Wed, 05 May 2021 10:11:12 -0700 (PDT) Received: from dev01.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id u21sm15381614pfm.89.2021.05.05.10.11.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 10:11:11 -0700 (PDT) From: Devesh Sharma To: linux-rdma@vger.kernel.org Cc: Devesh Sharma Subject: [V2 rdma-core 0/4] Broadcom's rdma provider lib update Date: Wed, 5 May 2021 22:40:52 +0530 Message-Id: <20210505171056.514204-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 This patch series is a part of bigger feature submission which changes the wqe posting logic. The current series adds the ground work in the direction to change the wqe posting algorithm. v1->v2 - added Fixes tag - updated patch description - dropped if() check before free. Devesh Sharma (4): bnxt_re/lib: Check AH handler validity before use bnxt_re/lib: align base sq entry structure to 16B boundary bnxt_re/lib: consolidate hwque and swque in common structure bnxt_re/lib: query device attributes only once and store providers/bnxt_re/bnxt_re-abi.h | 24 ++--- providers/bnxt_re/db.c | 6 +- providers/bnxt_re/main.c | 31 +++--- providers/bnxt_re/main.h | 15 ++- providers/bnxt_re/verbs.c | 182 +++++++++++++++++--------------- 5 files changed, 138 insertions(+), 120 deletions(-)