From patchwork Wed Jul 6 23:28:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chautru, Nicolas" X-Patchwork-Id: 113762 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6A422A0540; Thu, 7 Jul 2022 01:42:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02E1940A7B; Thu, 7 Jul 2022 01:42:45 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 75B0440691 for ; Thu, 7 Jul 2022 01:42:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657150963; x=1688686963; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=WknHZnnAz3jw+FD3N8H1Y3m9Up1MokYc6N2hsm8jBU0=; b=gDsaDkj/BG0tNuETwTTbKjQaXdgJ4rOayK4OaodP/7DbOdvBlCEdkNIc cToeSuCUngNJb5wk9G60NpE/G++DccNn90OsyjLJY8HCP42GQa4crnOev 4+x3t5ZMSudZ2QdZkvHmO9YNavmv8yU9YMVRu6jE9VxnqYrg2mmT7xwxO irtIPc3WHU+AWKiijol34wl3J2rEJY7a/tZQqPsTjK+uO4WejD7G4L6O3 fqqQ2opZMtuPW5ulc517K04gfnHedOdvMau5SgwtYb/G3dkNRWhMmMwzk gDoKUh7GmTbV9D4NZ7WH3LKri3eTf36XHKXkubDPISae25irvZXyOQ/eS g==; X-IronPort-AV: E=McAfee;i="6400,9594,10400"; a="370210629" X-IronPort-AV: E=Sophos;i="5.92,251,1650956400"; d="scan'208";a="370210629" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2022 16:42:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,251,1650956400"; d="scan'208";a="770221906" Received: from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210]) by orsmga005.jf.intel.com with ESMTP; 06 Jul 2022 16:42:41 -0700 From: Nicolas Chautru To: dev@dpdk.org, thomas@monjalon.net, gakhil@marvell.com, hemant.agrawal@nxp.com Cc: maxime.coquelin@redhat.com, trix@redhat.com, mdr@ashroe.eu, bruce.richardson@intel.com, david.marchand@redhat.com, stephen@networkplumber.org, Nicolas Chautru Subject: [PATCH v5 0/7] bbdev changes for 22.11 Date: Wed, 6 Jul 2022 16:28:23 -0700 Message-Id: <1657150110-69957-1-git-send-email-nicolas.chautru@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1655491040-183649-6-git-send-email-nicolas.chautru@intel.com> References: <1655491040-183649-6-git-send-email-nicolas.chautru@intel.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org v5: update base on review from Tom Rix. Number of typos reported and resolved, removed the commit related to rw_lock for now, added a commit for code clean up from review, resolved one rebase issue between 2 commits, used size of array for some bound check implementation. Thanks. v4: update to the last 2 commits to include function to print the queue status and a fix to the rte_lock within the wrong structure v3: update to device status info to also use padded size for the related array. Adding also 2 additionals commits to allow the API struc to expose more information related to queues corner cases/warning as well as an optional rw lock. Hemant, Maxime, this is planned for DPDK 21.11 but would like review/ack early is possible to get this applied earlier and due to time off this summer. Thanks Nic