get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/45113/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 45113,
    "url": "https://patches.dpdk.org/api/patches/45113/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1537541639-22764-6-git-send-email-amo@semihalf.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": "<1537541639-22764-6-git-send-email-amo@semihalf.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1537541639-22764-6-git-send-email-amo@semihalf.com",
    "date": "2018-09-21T14:53:58",
    "name": "[v2,5/6] crypto/mvsam: support for crypto/auth NULL algorithms",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "9f30c59c79e65bc138117540144918d5dc1d6fd0",
    "submitter": {
        "id": 1112,
        "url": "https://patches.dpdk.org/api/people/1112/?format=api",
        "name": "Andrzej Ostruszka",
        "email": "amo@semihalf.com"
    },
    "delegate": {
        "id": 6690,
        "url": "https://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1537541639-22764-6-git-send-email-amo@semihalf.com/mbox/",
    "series": [
        {
            "id": 1442,
            "url": "https://patches.dpdk.org/api/series/1442/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1442",
            "date": "2018-09-21T14:53:53",
            "name": "crypto/mvsam: add new features and fixes",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/1442/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/45113/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/45113/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 3033C5911;\n\tFri, 21 Sep 2018 16:54:14 +0200 (CEST)",
            "from mail-lj1-f196.google.com (mail-lj1-f196.google.com\n\t[209.85.208.196]) by dpdk.org (Postfix) with ESMTP id 664C54F9B\n\tfor <dev@dpdk.org>; Fri, 21 Sep 2018 16:54:07 +0200 (CEST)",
            "by mail-lj1-f196.google.com with SMTP id x16-v6so5485491ljd.12\n\tfor <dev@dpdk.org>; Fri, 21 Sep 2018 07:54:07 -0700 (PDT)",
            "from amok.semihalf.local (31-172-191-173.noc.fibertech.net.pl.\n\t[31.172.191.173]) by smtp.googlemail.com with ESMTPSA id\n\td13-v6sm2268744lfi.74.2018.09.21.07.54.05\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 21 Sep 2018 07:54:06 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=semihalf-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=JFMsxv3Ue6TvCgiPbLm8fVO7197LpDc77a4WTFL8/Ic=;\n\tb=LmIw88C3B3KZRry+0iZoCjM2jIEVabGmS6dXN6APQm/teY76Oip2I3dvet7nR4wzGr\n\tDmSSLyExwevuSzZR5a30iAnx075L+rWSx9XsCnl1ubtzg4p9ZhmEgvDMVPahb7zqVqD1\n\tUzA4o542XIn4jBzyndV9jsKia7+je4Dxa8UkuW9AB4PC3KjuSf6W9EExgxXl2pI8q3ge\n\t4870A/5pZXWJDGRMfVzYz3RQPZZEA7R04JfHgs5emRZ0/R+7F8NgkkaFoUvu3ATQqrxC\n\tYyCALH9/9uNXI4Sety9WNIeiki+0mBnqhhHrqK3ZGp5FuTTYftErvAB0YHpDVtMZ5G9U\n\tVRcA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=JFMsxv3Ue6TvCgiPbLm8fVO7197LpDc77a4WTFL8/Ic=;\n\tb=DGe/WKByzOcvQiYPDRdcG/eqQMMxNoweSLPFsyJ18M5hT8eYxNsQYE+PvP4d3Xjtfh\n\tIDYcvIeMWSe0xDvcI8rG5zoj+C1ocyFaGqRgxPXNJeSozJoX2GdBiQzGpMZpu37GY/5G\n\toy9DTDm6KBaN58AJ2iYs3etQdXWFLChyGP1MWhE9KTJUBQ2XL9nIu34mz5PBXYETSiFK\n\tK9L29Sly80fsdZDgjgNrELCNnGa/qEYXCeiTg/e8ymU9WDvqmZaKs5idYfdwKYQrHvLZ\n\tGvyqFJJklxBdtgKJwqhhqMMvACcs62yBxf+o+bNYydcuNYKbVCwwTLbuXLCc332Znn21\n\tANwQ==",
        "X-Gm-Message-State": "ABuFfojc2VgfrXJsh9AteV7iNwzdhMiwCS9la//N8nAiD2bcTT4QRtKU\n\tdWZl9WLzPadwdtc2OTqjuYnzgkEKfHI=",
        "X-Google-Smtp-Source": "ACcGV60ScyO+gpJUKcs9WnsS/+/Rfd9fKTT131i4QzPyMCzMWhLk0ocGn5IeNQ7Ma+SXv2zIoaYGXg==",
        "X-Received": "by 2002:a2e:5d57:: with SMTP id\n\tr84-v6mr2082302ljb.89.1537541646848; \n\tFri, 21 Sep 2018 07:54:06 -0700 (PDT)",
        "From": "Andrzej Ostruszka <amo@semihalf.com>",
        "To": "dev@dpdk.org",
        "Cc": "mw@semihalf.com, nadavh@marvell.com, Tomasz Duszynski <tdu@semihalf.com>",
        "Date": "Fri, 21 Sep 2018 16:53:58 +0200",
        "Message-Id": "<1537541639-22764-6-git-send-email-amo@semihalf.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1537541639-22764-1-git-send-email-amo@semihalf.com>",
        "References": "<1535118895-6505-1-git-send-email-tdu@semihalf.com>\n\t<1537541639-22764-1-git-send-email-amo@semihalf.com>",
        "Subject": "[dpdk-dev] [PATCH v2 5/6] crypto/mvsam: support for crypto/auth\n\tNULL algorithms",
        "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": "From: Tomasz Duszynski <tdu@semihalf.com>\n\nAdd support for both cipher and auth NULL algorithms.\n\nSigned-off-by: Tomasz Duszynski <tdu@semihalf.com>\nReviewed-by: Natalie Samsonov <nsamsono@marvell.com>\n---\n drivers/crypto/mvsam/rte_mrvl_pmd.c     |  6 +++++\n drivers/crypto/mvsam/rte_mrvl_pmd_ops.c | 45 +++++++++++++++++++++++++++++++++\n 2 files changed, 51 insertions(+)",
    "diff": "diff --git a/drivers/crypto/mvsam/rte_mrvl_pmd.c b/drivers/crypto/mvsam/rte_mrvl_pmd.c\nindex 08d4a23..961802e 100644\n--- a/drivers/crypto/mvsam/rte_mrvl_pmd.c\n+++ b/drivers/crypto/mvsam/rte_mrvl_pmd.c\n@@ -69,6 +69,9 @@ __rte_aligned(32);\n  */\n static const\n struct cipher_params_mapping cipher_map[RTE_CRYPTO_CIPHER_LIST_END] = {\n+\t[RTE_CRYPTO_CIPHER_NULL] = {\n+\t\t.supported = ALGO_SUPPORTED,\n+\t\t.cipher_alg = SAM_CIPHER_NONE },\n \t[RTE_CRYPTO_CIPHER_3DES_CBC] = {\n \t\t.supported = ALGO_SUPPORTED,\n \t\t.cipher_alg = SAM_CIPHER_3DES,\n@@ -106,6 +109,9 @@ struct cipher_params_mapping cipher_map[RTE_CRYPTO_CIPHER_LIST_END] = {\n  */\n static const\n struct auth_params_mapping auth_map[RTE_CRYPTO_AUTH_LIST_END] = {\n+\t[RTE_CRYPTO_AUTH_NULL] = {\n+\t\t.supported = ALGO_SUPPORTED,\n+\t\t.auth_alg = SAM_AUTH_NONE },\n \t[RTE_CRYPTO_AUTH_MD5_HMAC] = {\n \t\t.supported = ALGO_SUPPORTED,\n \t\t.auth_alg = SAM_AUTH_HMAC_MD5 },\ndiff --git a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c\nindex 3d3bbf1..f3251aa 100644\n--- a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c\n+++ b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c\n@@ -413,6 +413,51 @@ static const struct rte_cryptodev_capabilities\n \t\t\t}, }\n \t\t}, }\n \t},\n+\t{\t/* NULL (AUTH) */\n+\t\t.op = RTE_CRYPTO_OP_TYPE_SYMMETRIC,\n+\t\t{.sym = {\n+\t\t\t.xform_type = RTE_CRYPTO_SYM_XFORM_AUTH,\n+\t\t\t{.auth = {\n+\t\t\t\t.algo = RTE_CRYPTO_AUTH_NULL,\n+\t\t\t\t.block_size = 1,\n+\t\t\t\t.key_size = {\n+\t\t\t\t\t.min = 0,\n+\t\t\t\t\t.max = 0,\n+\t\t\t\t\t.increment = 0\n+\t\t\t\t},\n+\t\t\t\t.digest_size = {\n+\t\t\t\t\t.min = 0,\n+\t\t\t\t\t.max = 0,\n+\t\t\t\t\t.increment = 0\n+\t\t\t\t},\n+\t\t\t\t.iv_size = {\n+\t\t\t\t\t.min = 0,\n+\t\t\t\t\t.max = 0,\n+\t\t\t\t\t.increment = 0\n+\t\t\t\t}\n+\t\t\t}, },\n+\t\t}, },\n+\t},\n+\t{\t/* NULL (CIPHER) */\n+\t\t.op = RTE_CRYPTO_OP_TYPE_SYMMETRIC,\n+\t\t{.sym = {\n+\t\t\t.xform_type = RTE_CRYPTO_SYM_XFORM_CIPHER,\n+\t\t\t{.cipher = {\n+\t\t\t\t.algo = RTE_CRYPTO_CIPHER_NULL,\n+\t\t\t\t.block_size = 1,\n+\t\t\t\t.key_size = {\n+\t\t\t\t\t.min = 0,\n+\t\t\t\t\t.max = 0,\n+\t\t\t\t\t.increment = 0\n+\t\t\t\t},\n+\t\t\t\t.iv_size = {\n+\t\t\t\t\t.min = 0,\n+\t\t\t\t\t.max = 0,\n+\t\t\t\t\t.increment = 0\n+\t\t\t\t}\n+\t\t\t}, },\n+\t\t}, }\n+\t},\n \n \tRTE_CRYPTODEV_END_OF_CAPABILITIES_LIST()\n };\n",
    "prefixes": [
        "v2",
        "5/6"
    ]
}