Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/120354/?format=api
http://patches.dpdk.org/api/patches/120354/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20221130151159.1678917-1-ganapati.kundapura@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20221130151159.1678917-1-ganapati.kundapura@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221130151159.1678917-1-ganapati.kundapura@intel.com", "date": "2022-11-30T15:11:59", "name": "[v1] eventdev/crypto: wrong crypto enqueue count stats", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ed26d5ca8508375546b2a728507337f5ce1bd1d5", "submitter": { "id": 2287, "url": "http://patches.dpdk.org/api/people/2287/?format=api", "name": "Kundapura, Ganapati", "email": "ganapati.kundapura@intel.com" }, "delegate": { "id": 310, "url": "http://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20221130151159.1678917-1-ganapati.kundapura@intel.com/mbox/", "series": [ { "id": 25954, "url": "http://patches.dpdk.org/api/series/25954/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=25954", "date": "2022-11-30T15:11:59", "name": "[v1] eventdev/crypto: wrong crypto enqueue count stats", "version": 1, "mbox": "http://patches.dpdk.org/series/25954/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/120354/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/120354/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 1AA03A00C2;\n\tWed, 30 Nov 2022 16:12:08 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id AD48E40395;\n\tWed, 30 Nov 2022 16:12:07 +0100 (CET)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id E39B740151\n for <dev@dpdk.org>; Wed, 30 Nov 2022 16:12:05 +0100 (CET)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Nov 2022 07:12:04 -0800", "from txandevlnx322.an.intel.com ([10.123.117.44])\n by fmsmga005.fm.intel.com with ESMTP; 30 Nov 2022 07:12:01 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1669821126; x=1701357126;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=OpW657jh/mHaULiIk15OMfsvBdFSjxsILeSZLz6A58M=;\n b=KmS32tCVUc6xFUJgK7ESxERPjJ/7KkFXOOw0EaVzAkvMB6KEnXdXyLOm\n ErLtCPw4BkUDLDLfFu2uYwXp8ymxWSJGpWSZd45XABT+jkVYkIFospaIV\n bYybrOLQ7yztUJWJ2J4wFObz0oB12VdOdDqdEPh+NHx6M0TsSF6lS3SMk\n ty4PitsdCe0U54x1EKhGrN1bFWXb2hVY89WwxtHw5KzYNLKZgVrmfgWOm\n JBr53Gce9BcmZ/VxnBMs/RphRU8iYvyp/g+pa61z56fEbS/ynrHXkOlpt\n eH+nPMqSGRGb7WrmjI4+iOCkQlM3ZMmZsRzdNYtmyR4F3McpNRnS7JdRI A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10547\"; a=\"303019510\"", "E=Sophos;i=\"5.96,206,1665471600\"; d=\"scan'208\";a=\"303019510\"", "E=McAfee;i=\"6500,9779,10547\"; a=\"973134373\"", "E=Sophos;i=\"5.96,206,1665471600\"; d=\"scan'208\";a=\"973134373\"" ], "X-ExtLoop1": "1", "From": "Ganapati Kundapura <ganapati.kundapura@intel.com>", "To": "dev@dpdk.org, jerinj@marvell.com, s.v.naga.harish.k@intel.com,\n abhinandan.gujjar@intel.com", "Cc": "jay.jayatheerthan@intel.com", "Subject": "[PATCH v1] eventdev/crypto: wrong crypto enqueue count stats", "Date": "Wed, 30 Nov 2022 09:11:59 -0600", "Message-Id": "<20221130151159.1678917-1-ganapati.kundapura@intel.com>", "X-Mailer": "git-send-email 2.23.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "crypto_enq_count is updated on failure to enqueue ops to cryptodev.\n\nUpdated crypto_enq_count on successful enqueue of ops to cryptodev.\n\nSigned-off-by: Ganapati Kundapura <ganapati.kundapura@intel.com>", "diff": "diff --git a/lib/eventdev/rte_event_crypto_adapter.c b/lib/eventdev/rte_event_crypto_adapter.c\nindex c293a62..e1a0367 100644\n--- a/lib/eventdev/rte_event_crypto_adapter.c\n+++ b/lib/eventdev/rte_event_crypto_adapter.c\n@@ -485,6 +485,9 @@ eca_enq_to_cryptodev(struct event_crypto_adapter *adapter, struct rte_event *ev,\n \t\t\t\t\t\t\t\tcdev_id,\n \t\t\t\t\t\t\t\tqp_id,\n \t\t\t\t\t\t\t\t&nb_enqueued);\n+\t\t\tstats->crypto_enq_count += nb_enqueued;\n+\t\t\tn += nb_enqueued;\n+\n \t\t\t/**\n \t\t\t * If some crypto ops failed to flush to cdev and\n \t\t\t * space for another batch is not available, stop\n@@ -495,9 +498,6 @@ eca_enq_to_cryptodev(struct event_crypto_adapter *adapter, struct rte_event *ev,\n \t\t\t\t\t\t\t&qp_info->cbuf)))\n \t\t\t\tadapter->stop_enq_to_cryptodev = true;\n \t\t}\n-\n-\t\tstats->crypto_enq_count += nb_enqueued;\n-\t\tn += nb_enqueued;\n \t}\n \n \treturn n;\n", "prefixes": [ "v1" ] }{ "id": 120354, "url": "