Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/52957/?format=api
http://patches.dpdk.org/api/patches/52957/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190419100113.31284-1-bruce.richardson@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": "<20190419100113.31284-1-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190419100113.31284-1-bruce.richardson@intel.com", "date": "2019-04-19T10:01:12", "name": "[1/2] crypto/aesni_gcm: add dependency version check", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "6b287c0719a9a8eb73df3b278eb702f5bbe8c5ff", "submitter": { "id": 20, "url": "http://patches.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@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/20190419100113.31284-1-bruce.richardson@intel.com/mbox/", "series": [ { "id": 4395, "url": "http://patches.dpdk.org/api/series/4395/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4395", "date": "2019-04-19T10:01:12", "name": "[1/2] crypto/aesni_gcm: add dependency version check", "version": 1, "mbox": "http://patches.dpdk.org/series/4395/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/52957/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/52957/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 439131BB21;\n\tFri, 19 Apr 2019 12:01:27 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id 0F2031B9A3\n\tfor <dev@dpdk.org>; Fri, 19 Apr 2019 12:01:25 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n\tby orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t19 Apr 2019 03:01:25 -0700", "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.222.236])\n\tby orsmga007.jf.intel.com with ESMTP; 19 Apr 2019 03:01:23 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.60,369,1549958400\"; d=\"scan'208\";a=\"132688549\"", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "pablo.de.lara.guarch@intel.com, declan.doherty@intel.com,\n\tBruce Richardson <bruce.richardson@intel.com>", "Date": "Fri, 19 Apr 2019 11:01:12 +0100", "Message-Id": "<20190419100113.31284-1-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.20.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 1/2] crypto/aesni_gcm: add dependency version\n\tcheck", "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": "The aesni_mb driver and the aesni_gcm driver both require the same version\nof the IPSec_MB library, but only the former has a check of the library\nfound to see if it's the correct version. Add a similar check to the\naesni_gcm library's meson.build file, so that the auto-detection of\ndependencies works correctly.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n drivers/crypto/aesni_gcm/meson.build | 11 +++++++++++\n 1 file changed, 11 insertions(+)", "diff": "diff --git a/drivers/crypto/aesni_gcm/meson.build b/drivers/crypto/aesni_gcm/meson.build\nindex 70f57ad73..7183cfcba 100644\n--- a/drivers/crypto/aesni_gcm/meson.build\n+++ b/drivers/crypto/aesni_gcm/meson.build\n@@ -1,11 +1,22 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n+IMB_required_ver = '0.52.0'\n lib = cc.find_library('IPSec_MB', required: false)\n if not lib.found()\n \tbuild = false\n else\n \text_deps += lib\n+\n+\t# version comes with quotes, so we split based on \" and take the middle\n+\timb_ver = cc.get_define('IMB_VERSION_STR',\n+\t\tprefix : '#include<intel-ipsec-mb.h>').split('\"')[1]\n+\n+\tif (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver))\n+\t\tmessage('IPSec_MB version >= @0@ is required, found version @1@'.format(\n+\t\t\t\tIMB_required_ver, imb_ver))\n+\t\tbuild = false\n+\tendif\n endif\n \n allow_experimental_apis = true\n", "prefixes": [ "1/2" ] }{ "id": 52957, "url": "