get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 41071,
    "url": "http://patches.dpdk.org/api/patches/41071/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1528892062-4997-39-git-send-email-tomaszx.jozwiak@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": "<1528892062-4997-39-git-send-email-tomaszx.jozwiak@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1528892062-4997-39-git-send-email-tomaszx.jozwiak@intel.com",
    "date": "2018-06-13T12:14:22",
    "name": "[v3,38/38] crypto/qat: remove configurable max number of sessions",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "335fb7d64bc7daf2981a1abe5991ade5367d9c13",
    "submitter": {
        "id": 949,
        "url": "http://patches.dpdk.org/api/people/949/?format=api",
        "name": "Tomasz Jozwiak",
        "email": "tomaszx.jozwiak@intel.com"
    },
    "delegate": {
        "id": 22,
        "url": "http://patches.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://patches.dpdk.org/project/dpdk/patch/1528892062-4997-39-git-send-email-tomaszx.jozwiak@intel.com/mbox/",
    "series": [
        {
            "id": 111,
            "url": "http://patches.dpdk.org/api/series/111/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=111",
            "date": "2018-06-13T12:13:44",
            "name": "crypto/qat: refactor to support multiple services",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/111/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/41071/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/41071/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "X-BeenThere": "dev@dpdk.org",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "From": "Tomasz Jozwiak <tomaszx.jozwiak@intel.com>",
        "To": "fiona.trahe@intel.com,\n\ttomaszx.jozwiak@intel.com,\n\tdev@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "X-Amp-File-Uploaded": "False",
        "References": "<1523040732-3290-1-git-send-email-fiona.trahe@intel.com>\n\t<1528892062-4997-1-git-send-email-tomaszx.jozwiak@intel.com>",
        "In-Reply-To": "<1528892062-4997-1-git-send-email-tomaszx.jozwiak@intel.com>",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-Mailer": "git-send-email 2.7.4",
        "List-Unsubscribe": "<https://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C8BCF1F040;\n\tWed, 13 Jun 2018 14:16:03 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id D83B31EF58\n\tfor <dev@dpdk.org>; Wed, 13 Jun 2018 14:15:16 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t13 Jun 2018 05:15:16 -0700",
            "from tjozwiax-mobl.ger.corp.intel.com (HELO localhost.localdomain)\n\t([10.103.104.42])\n\tby fmsmga001.fm.intel.com with ESMTP; 13 Jun 2018 05:15:15 -0700"
        ],
        "X-Original-To": "patchwork@dpdk.org",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "X-Mailman-Version": "2.1.15",
        "X-ExtLoop1": "1",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,218,1526367600\"; d=\"scan'208\";a=\"63727883\"",
        "Subject": "[dpdk-dev] [PATCH v3 38/38] crypto/qat: remove configurable max\n\tnumber of sessions",
        "Date": "Wed, 13 Jun 2018 14:14:22 +0200",
        "Message-Id": "<1528892062-4997-39-git-send-email-tomaszx.jozwiak@intel.com>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Precedence": "list"
    },
    "content": "This patch removes CONFIG_RTE_QAT_PMD_MAX_NB_SESSIONS\nfrom common_base, config/rte_config.h files and\ndefines QAT_SYM_PMD_MAX_NB_SESSIONS inside qat_sym_pmd.h\nfile instead.\n\nSigned-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>\nAcked-by: Fiona Trahe <fiona.trahe@intel.com>\n---\n config/common_base               | 5 -----\n config/rte_config.h              | 5 -----\n drivers/crypto/qat/qat_sym_pmd.c | 4 ++--\n drivers/crypto/qat/qat_sym_pmd.h | 1 +\n 4 files changed, 3 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/config/common_base b/config/common_base\nindex cf0741199..f03f9c390 100644\n--- a/config/common_base\n+++ b/config/common_base\n@@ -491,11 +491,6 @@ CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_TX=n\n CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_RX=n\n CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_DRIVER=n\n #\n-# Number of sessions to create in the session memory pool\n-# on a single QuickAssist device.\n-#\n-CONFIG_RTE_QAT_PMD_MAX_NB_SESSIONS=2048\n-#\n # Max. number of QuickAssist devices, which can be detected and attached\n #\n CONFIG_RTE_PMD_QAT_MAX_PCI_DEVICES=48\ndiff --git a/config/rte_config.h b/config/rte_config.h\nindex e353d8d6d..0ba0ead7e 100644\n--- a/config/rte_config.h\n+++ b/config/rte_config.h\n@@ -85,12 +85,7 @@\n \n /****** driver defines ********/\n \n-/*\n- * Number of sessions to create in the session memory pool\n- * on a single instance of crypto HW device.\n- */\n /* QuickAssist device */\n-#define RTE_QAT_PMD_MAX_NB_SESSIONS 2048\n /* Max. number of QuickAssist devices which can be attached */\n #define RTE_PMD_QAT_MAX_PCI_DEVICES 48\n \ndiff --git a/drivers/crypto/qat/qat_sym_pmd.c b/drivers/crypto/qat/qat_sym_pmd.c\nindex 6b39b32f8..c94a8a197 100644\n--- a/drivers/crypto/qat/qat_sym_pmd.c\n+++ b/drivers/crypto/qat/qat_sym_pmd.c\n@@ -77,7 +77,7 @@ static void qat_sym_dev_info_get(struct rte_cryptodev *dev,\n \t\t\tqat_qps_per_service(sym_hw_qps, QAT_SERVICE_SYMMETRIC);\n \t\tinfo->feature_flags = dev->feature_flags;\n \t\tinfo->capabilities = internals->qat_dev_capabilities;\n-\t\tinfo->sym.max_nb_sessions = RTE_QAT_PMD_MAX_NB_SESSIONS;\n+\t\tinfo->sym.max_nb_sessions = QAT_SYM_PMD_MAX_NB_SESSIONS;\n \t\tinfo->driver_id = cryptodev_qat_driver_id;\n \t\tinfo->pci_dev = RTE_DEV_TO_PCI(dev->device);\n \t}\n@@ -250,7 +250,7 @@ qat_sym_dev_create(struct qat_pci_device *qat_pci_dev)\n \t\t\t.name = \"\",\n \t\t\t.socket_id = qat_pci_dev->pci_dev->device.numa_node,\n \t\t\t.private_data_size = sizeof(struct qat_sym_dev_private),\n-\t\t\t.max_nb_sessions = RTE_QAT_PMD_MAX_NB_SESSIONS\n+\t\t\t.max_nb_sessions = QAT_SYM_PMD_MAX_NB_SESSIONS\n \t};\n \tchar name[RTE_CRYPTODEV_NAME_MAX_LEN];\n \tstruct rte_cryptodev *cryptodev;\ndiff --git a/drivers/crypto/qat/qat_sym_pmd.h b/drivers/crypto/qat/qat_sym_pmd.h\nindex efa3b0775..80a198741 100644\n--- a/drivers/crypto/qat/qat_sym_pmd.h\n+++ b/drivers/crypto/qat/qat_sym_pmd.h\n@@ -13,6 +13,7 @@\n \n /**< Intel(R) QAT Symmetric Crypto PMD device name */\n #define CRYPTODEV_NAME_QAT_SYM_PMD\tcrypto_qat\n+#define QAT_SYM_PMD_MAX_NB_SESSIONS\t2048\n \n extern uint8_t cryptodev_qat_driver_id;\n \n",
    "prefixes": [
        "v3",
        "38/38"
    ]
}