get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 57665,
    "url": "https://patches.dpdk.org/api/patches/57665/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1565709186-273340-1-git-send-email-vladimir.medvedkin@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": "<1565709186-273340-1-git-send-email-vladimir.medvedkin@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1565709186-273340-1-git-send-email-vladimir.medvedkin@intel.com",
    "date": "2019-08-13T15:13:01",
    "name": "[RFC,0/5] ipsec: add inbound SAD",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 1216,
        "url": "https://patches.dpdk.org/api/people/1216/?format=api",
        "name": "Vladimir Medvedkin",
        "email": "vladimir.medvedkin@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1565709186-273340-1-git-send-email-vladimir.medvedkin@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/57665/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/57665/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 89FA81BE3D;\n\tTue, 13 Aug 2019 17:13:11 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id 5F6601BDAE\n\tfor <dev@dpdk.org>; Tue, 13 Aug 2019 17:13:10 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t13 Aug 2019 08:13:09 -0700",
            "from silpixa00400072.ir.intel.com ([10.237.222.213])\n\tby fmsmga004.fm.intel.com with ESMTP; 13 Aug 2019 08:13:08 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.64,381,1559545200\"; d=\"scan'208\";a=\"200508158\"",
        "From": "Vladimir Medvedkin <vladimir.medvedkin@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "konstantin.ananyev@intel.com,\n\tbernard.iremonger@intel.com",
        "Date": "Tue, 13 Aug 2019 16:13:01 +0100",
        "Message-Id": "<1565709186-273340-1-git-send-email-vladimir.medvedkin@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [RFC 0/5] ipsec: add inbound SAD",
        "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": "According to RFC 4301 IPSec implementation needs an inbound SA database (SAD).\nFor each incoming inbound IPSec-protected packet (ESP or AH) it has to\nperform a lookup within it’s SAD.\nLookup should be performed by:\nSecurity Parameters Index (SPI) + destination IP (DIP) + source IP (SIP)\n  or SPI + DIP\n  or SPI only\nand an implementation has to return the “longest” existing match.\nThese series extend DPDK IPsec library with SAD table implementation that:\n- conforms to the RFC requirements above\n- can scale up to millions of entries\n- supports fast lookups\n- supports incremental updates\n\nInitial series provide an API to create/destroy SAD, and to\nadd/delete/lookup entries within given SAD table.\nUnder the hood it uses three librte_hash tables each of which contains\nan entries for a specific SA type (either it is addressed by SPI only\nor SPI+DIP or SPI+DIP+SIP) Also this patch series introduce test-sad\napplication to measure performance of the library. According to our\nmeasurements on SKX for 1M entries average lookup cost is ~80 cycles,\naverage add cost ~500 cycles.\n\nNext Steps:\n- integration with ipsec-secgw\n\nVladimir Medvedkin (5):\n  ipsec: add inbound SAD API\n  ipsec: add SAD create/free API\n  ipsec: add SAD add/delete/lookup implementation\n  test/ipsec: add ipsec SAD autotests\n  app: add test-sad application\n\n app/Makefile                           |   1 +\n app/meson.build                        |   3 +-\n app/test-sad/Makefile                  |  18 +\n app/test-sad/main.c                    | 420 ++++++++++++++++\n app/test-sad/meson.build               |   6 +\n app/test/Makefile                      |   1 +\n app/test/autotest_data.py              |   6 +\n app/test/meson.build                   |   1 +\n app/test/test_ipsec_sad.c              | 874 +++++++++++++++++++++++++++++++++\n lib/librte_ipsec/Makefile              |   4 +-\n lib/librte_ipsec/ipsec_sad.c           | 478 ++++++++++++++++++\n lib/librte_ipsec/meson.build           |   6 +-\n lib/librte_ipsec/rte_ipsec_sad.h       | 174 +++++++\n lib/librte_ipsec/rte_ipsec_version.map |   7 +\n 14 files changed, 1994 insertions(+), 5 deletions(-)\n create mode 100644 app/test-sad/Makefile\n create mode 100644 app/test-sad/main.c\n create mode 100644 app/test-sad/meson.build\n create mode 100644 app/test/test_ipsec_sad.c\n create mode 100644 lib/librte_ipsec/ipsec_sad.c\n create mode 100644 lib/librte_ipsec/rte_ipsec_sad.h",
    "diff": null,
    "prefixes": [
        "RFC",
        "0/5"
    ]
}