Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/47505/?format=api
http://patches.dpdk.org/api/patches/47505/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1540599234-17310-1-git-send-email-fiona.trahe@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": "<1540599234-17310-1-git-send-email-fiona.trahe@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1540599234-17310-1-git-send-email-fiona.trahe@intel.com", "date": "2018-10-27T00:13:54", "name": "lib/compressdev: clarify usage of op structure", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "eccd0905552111105a231a4223e74484f4eb1f2e", "submitter": { "id": 423, "url": "http://patches.dpdk.org/api/people/423/?format=api", "name": "Fiona Trahe", "email": "fiona.trahe@intel.com" }, "delegate": { "id": 6690, "url": "http://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1540599234-17310-1-git-send-email-fiona.trahe@intel.com/mbox/", "series": [ { "id": 2128, "url": "http://patches.dpdk.org/api/series/2128/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=2128", "date": "2018-10-27T00:13:54", "name": "lib/compressdev: clarify usage of op structure", "version": 1, "mbox": "http://patches.dpdk.org/series/2128/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/47505/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/47505/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 48EFCB62;\n\tSat, 27 Oct 2018 02:14:07 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id DDCA291;\n\tSat, 27 Oct 2018 02:14:04 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t26 Oct 2018 17:14:03 -0700", "from sivswdev01.ir.intel.com (HELO localhost.localdomain)\n\t([10.237.217.45])\n\tby orsmga002.jf.intel.com with ESMTP; 26 Oct 2018 17:14:01 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.54,429,1534834800\"; d=\"scan'208\";a=\"103670496\"", "From": "Fiona Trahe <fiona.trahe@intel.com>", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, akhil.goyal@nxp.com, tomaszx.jozwiak@intel.com,\n\tlee.daly@intel.com, sabyasg@hpe.com, shally.verma@caviumnetworks.com, \n\tFiona Trahe <fiona.trahe@intel.com>, stable@dpdk.org", "Date": "Sat, 27 Oct 2018 01:13:54 +0100", "Message-Id": "<1540599234-17310-1-git-send-email-fiona.trahe@intel.com>", "X-Mailer": "git-send-email 1.7.0.7", "Subject": "[dpdk-dev] [PATCH] lib/compressdev: clarify usage of op structure", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add note on usage of op structure and when it can be\naccessed and freed.\n\nFixes: 63f4bfd5328b (\"compressdev: add enqueue/dequeue functions\")\nCc: stable@dpdk.org\n\nSigned-off-by: Fiona Trahe <fiona.trahe@intel.com>\n---\n lib/librte_compressdev/rte_compressdev.h | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/lib/librte_compressdev/rte_compressdev.h b/lib/librte_compressdev/rte_compressdev.h\nindex 5b4fca4..7b68170 100644\n--- a/lib/librte_compressdev/rte_compressdev.h\n+++ b/lib/librte_compressdev/rte_compressdev.h\n@@ -408,6 +408,13 @@ rte_compressdev_dequeue_burst(uint8_t dev_id, uint16_t qp_id,\n * @note All compression operations are Out-of-place (OOP) operations,\n * as the size of the output data is different to the size of the input data.\n *\n+ * @note The rte_comp_op contains both input and output parameters and is the\n+ * vehicle for the application to pass data into and out of the PMD. While an\n+ * op is inflight, i.e. once it has been enqueued, the private_xform or stream\n+ * attached to it and any mbufs or memory referenced by it should not be altered\n+ * or freed by the application. The PMD may use or change some of this data at\n+ * any time until it has been returned in a dequeue operation.\n+ *\n * @note The flush flag only applies to operations which return SUCCESS.\n * In OUT_OF_SPACE cases whether STATEFUL or STATELESS, data in dest buffer\n * is as if flush flag was FLUSH_NONE.\n", "prefixes": [] }{ "id": 47505, "url": "