Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/24539/?format=api
https://patches.dpdk.org/api/patches/24539/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1495639634-74846-4-git-send-email-pablo.de.lara.guarch@intel.com/", "project": { "id": 1, "url": "https://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": "<1495639634-74846-4-git-send-email-pablo.de.lara.guarch@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1495639634-74846-4-git-send-email-pablo.de.lara.guarch@intel.com", "date": "2017-05-24T15:27:05", "name": "[dpdk-dev,03/12] cryptodev: rename device retrieval argument", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "457b4217ae1f72e6a3489aca954fc9a15f4a5ad4", "submitter": { "id": 9, "url": "https://patches.dpdk.org/api/people/9/?format=api", "name": "De Lara Guarch, Pablo", "email": "pablo.de.lara.guarch@intel.com" }, "delegate": { "id": 22, "url": "https://patches.dpdk.org/api/users/22/?format=api", "username": "pdelarag", "first_name": "Pablo", "last_name": "de Lara Guarch", "email": "pablo.de.lara.guarch@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1495639634-74846-4-git-send-email-pablo.de.lara.guarch@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/24539/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/24539/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 297A39131;\n\tWed, 24 May 2017 17:27:16 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 52ACC7D02;\n\tWed, 24 May 2017 17:27:02 +0200 (CEST)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t24 May 2017 08:26:59 -0700", "from silpixa00381631.ir.intel.com (HELO\n\tsilpixa00381631.ger.corp.intel.com) ([10.237.222.122])\n\tby fmsmga004.fm.intel.com with ESMTP; 24 May 2017 08:26:58 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.38,386,1491289200\"; d=\"scan'208\";a=\"265893642\"", "From": "Pablo de Lara <pablo.de.lara.guarch@intel.com>", "To": "declan.doherty@intel.com,\n\tthomas@monjalon.net", "Cc": "dev@dpdk.org, Pablo de Lara <pablo.de.lara.guarch@intel.com>,\n\tstable@dpdk.org", "Date": "Wed, 24 May 2017 16:27:05 +0100", "Message-Id": "<1495639634-74846-4-git-send-email-pablo.de.lara.guarch@intel.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1495639634-74846-1-git-send-email-pablo.de.lara.guarch@intel.com>", "References": "<1495639634-74846-1-git-send-email-pablo.de.lara.guarch@intel.com>", "Subject": "[dpdk-dev] [PATCH 03/12] cryptodev: rename device retrieval argument", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "rte_cryptodev_devices_get() function was parsing a crypto\ndevice name as an argument, but the function actually\nreturns device identifiers of devices that share the\nsame crypto driver, so the argument should be driver name, instead.\n\nFixes: 38227c0e3ad2 (\"cryptodev: retrieve device info\")\nCC: stable@dpdk.org\n\nSigned-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>\n---\n lib/librte_cryptodev/rte_cryptodev.c | 2 +-\n lib/librte_cryptodev/rte_cryptodev.h | 7 ++++---\n 2 files changed, 5 insertions(+), 4 deletions(-)", "diff": "diff --git a/lib/librte_cryptodev/rte_cryptodev.c b/lib/librte_cryptodev/rte_cryptodev.c\nindex a5a5c36..6880661 100644\n--- a/lib/librte_cryptodev/rte_cryptodev.c\n+++ b/lib/librte_cryptodev/rte_cryptodev.c\n@@ -523,7 +523,7 @@ rte_cryptodev_count_devtype(enum rte_cryptodev_type type)\n }\n \n uint8_t\n-rte_cryptodev_devices_get(const char *dev_name, uint8_t *devices,\n+rte_cryptodev_devices_get(const char *driver_name, uint8_t *devices,\n \tuint8_t nb_devices)\n {\n \tuint8_t i, count = 0;\ndiff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h\nindex f307b3b..89093f6 100644\n--- a/lib/librte_cryptodev/rte_cryptodev.h\n+++ b/lib/librte_cryptodev/rte_cryptodev.h\n@@ -464,9 +464,10 @@ extern uint8_t\n rte_cryptodev_count_devtype(enum rte_cryptodev_type type);\n \n /**\n- * Get number and identifiers of attached crypto device.\n+ * Get number and identifiers of attached crypto devices that\n+ * use the same crypto driver.\n *\n- * @param\tdev_name\tdevice name.\n+ * @param\tdriver_name\tdriver name.\n * @param\tdevices\t\toutput devices identifiers.\n * @param\tnb_devices\tmaximal number of devices.\n *\n@@ -474,7 +475,7 @@ rte_cryptodev_count_devtype(enum rte_cryptodev_type type);\n * Returns number of attached crypto device.\n */\n uint8_t\n-rte_cryptodev_devices_get(const char *dev_name, uint8_t *devices,\n+rte_cryptodev_devices_get(const char *driver_name, uint8_t *devices,\n \t\tuint8_t nb_devices);\n /*\n * Return the NUMA socket to which a device is connected\n", "prefixes": [ "dpdk-dev", "03/12" ] }{ "id": 24539, "url": "