Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/42164/?format=api
http://patchwork.dpdk.org/api/patches/42164/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20180703082222.24644-1-pablo.de.lara.guarch@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20180703082222.24644-1-pablo.de.lara.guarch@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180703082222.24644-1-pablo.de.lara.guarch@intel.com", "date": "2018-07-03T08:22:22", "name": "crypto/aesni_gcm: support IPsec Multi-buffer lib v0.50", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "c662fb29f3eed3169297c277067e843a4d888b8a", "submitter": { "id": 9, "url": "http://patchwork.dpdk.org/api/people/9/?format=api", "name": "De Lara Guarch, Pablo", "email": "pablo.de.lara.guarch@intel.com" }, "delegate": { "id": 22, "url": "http://patchwork.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": "http://patchwork.dpdk.org/project/dpdk/patch/20180703082222.24644-1-pablo.de.lara.guarch@intel.com/mbox/", "series": [ { "id": 378, "url": "http://patchwork.dpdk.org/api/series/378/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=378", "date": "2018-07-03T08:22:22", "name": "crypto/aesni_gcm: support IPsec Multi-buffer lib v0.50", "version": 1, "mbox": "http://patchwork.dpdk.org/series/378/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/42164/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/42164/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 A0AAF1BF50;\n\tTue, 3 Jul 2018 18:28:01 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id 90C8C1BF47\n\tfor <dev@dpdk.org>; Tue, 3 Jul 2018 18:28:00 +0200 (CEST)", "from fmsmga007.fm.intel.com ([10.253.24.52])\n\tby fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t03 Jul 2018 09:27:59 -0700", "from silpixa00399466.ir.intel.com (HELO\n\tsilpixa00399466.ger.corp.intel.com) ([10.237.223.220])\n\tby fmsmga007.fm.intel.com with ESMTP; 03 Jul 2018 09:27:58 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.51,304,1526367600\"; d=\"scan'208\";a=\"51727538\"", "From": "Pablo de Lara <pablo.de.lara.guarch@intel.com>", "To": "declan.doherty@intel.com", "Cc": "dev@dpdk.org,\n\tPablo de Lara <pablo.de.lara.guarch@intel.com>", "Date": "Tue, 3 Jul 2018 09:22:22 +0100", "Message-Id": "<20180703082222.24644-1-pablo.de.lara.guarch@intel.com>", "X-Mailer": "git-send-email 2.14.4", "Subject": "[dpdk-dev] [PATCH] crypto/aesni_gcm: support IPsec Multi-buffer lib\n\tv0.50", "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": "Adds support for the v0.50 of the IPsec Multi-buffer lib.\nThe library now exposes its version, with the idea\nof maintaining backwards compatibility in the future,\navoiding breaking the compilation of the PMD every time\nthere is a new version available.\n\nSigned-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>\n---\n doc/guides/cryptodevs/aesni_gcm.rst | 6 +++---\n drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 5 +++++\n 2 files changed, 8 insertions(+), 3 deletions(-)", "diff": "diff --git a/doc/guides/cryptodevs/aesni_gcm.rst b/doc/guides/cryptodevs/aesni_gcm.rst\nindex 01590e850..e0346080a 100644\n--- a/doc/guides/cryptodevs/aesni_gcm.rst\n+++ b/doc/guides/cryptodevs/aesni_gcm.rst\n@@ -36,8 +36,8 @@ Installation\n To build DPDK with the AESNI_GCM_PMD the user is required to download the multi-buffer\n library from `here <https://github.com/01org/intel-ipsec-mb>`_\n and compile it on their user system before building DPDK.\n-The latest version of the library supported by this PMD is v0.49, which\n-can be downloaded in `<https://github.com/01org/intel-ipsec-mb/archive/v0.49.zip>`_.\n+The latest version of the library supported by this PMD is v0.50, which\n+can be downloaded in `<https://github.com/01org/intel-ipsec-mb/archive/v0.50.zip>`_.\n \n .. code-block:: console\n \n@@ -57,7 +57,7 @@ and the external crypto libraries supported by them:\n 16.04 - 16.11 Multi-buffer library 0.43 - 0.44\n 17.02 - 17.05 ISA-L Crypto v2.18\n 17.08 - 18.02 Multi-buffer library 0.46 - 0.48\n- 18.05 Multi-buffer library 0.49\n+ 18.05+ Multi-buffer library 0.49+\n ============= ================================\n \n \ndiff --git a/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c b/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c\nindex d196826f0..e53891d5d 100644\n--- a/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c\n+++ b/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c\n@@ -515,6 +515,11 @@ aesni_gcm_create(const char *name,\n \tinternals->max_nb_queue_pairs = init_params->max_nb_queue_pairs;\n \tinternals->max_nb_sessions = init_params->max_nb_sessions;\n \n+#ifdef IMB_VERSION_NUM\n+\tAESNI_GCM_LOG(INFO, \"IPSec Multi-buffer library version used: %s\\n\",\n+\t\t\timb_get_version_str());\n+#endif\n+\n \treturn 0;\n }\n \n", "prefixes": [] }{ "id": 42164, "url": "