get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 30529,
    "url": "http://patches.dpdk.org/api/patches/30529/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1508339034-171115-2-git-send-email-cristian.dumitrescu@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": "<1508339034-171115-2-git-send-email-cristian.dumitrescu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1508339034-171115-2-git-send-email-cristian.dumitrescu@intel.com",
    "date": "2017-10-18T15:03:18",
    "name": "[dpdk-dev,v3,01/18] test: removing calls to deprecated hash tables",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "53b5d679b96c4055c8db8ad41f2d211b1c9e17cc",
    "submitter": {
        "id": 19,
        "url": "http://patches.dpdk.org/api/people/19/?format=api",
        "name": "Cristian Dumitrescu",
        "email": "cristian.dumitrescu@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1508339034-171115-2-git-send-email-cristian.dumitrescu@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/30529/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/30529/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 2D0EF1B19C;\n\tWed, 18 Oct 2017 17:04:03 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id F171C1AEE8\n\tfor <dev@dpdk.org>; Wed, 18 Oct 2017 17:03:57 +0200 (CEST)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t18 Oct 2017 08:03:56 -0700",
            "from silpixa00382658.ir.intel.com ([10.237.223.29])\n\tby orsmga004.jf.intel.com with ESMTP; 18 Oct 2017 08:03:55 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.43,397,1503385200\"; d=\"scan'208\";a=\"139672945\"",
        "From": "Cristian Dumitrescu <cristian.dumitrescu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net",
        "Date": "Wed, 18 Oct 2017 16:03:18 +0100",
        "Message-Id": "<1508339034-171115-2-git-send-email-cristian.dumitrescu@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1508339034-171115-1-git-send-email-cristian.dumitrescu@intel.com>",
        "References": "<1507634341-72277-2-git-send-email-cristian.dumitrescu@intel.com>\n\t<1508339034-171115-1-git-send-email-cristian.dumitrescu@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 01/18] test: removing calls to deprecated hash\n\ttables",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Removing calls to hash tables that are going to be removed later.\n\nThe calls are removed from test/test, test/test-pipeline,\nexamples/ip_pipeline.\n\nSigned-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>\n---\n .../pipeline/pipeline_flow_classification_be.c     | 18 +++-----------\n test/test-pipeline/pipeline_hash.c                 | 12 +++++-----\n test/test/test_table_combined.c                    | 28 +++++++++++-----------\n test/test/test_table_tables.c                      |  8 +++----\n 4 files changed, 27 insertions(+), 39 deletions(-)\n mode change 100644 => 100755 examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c",
    "diff": "diff --git a/examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c b/examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c\nold mode 100644\nnew mode 100755\nindex 026f00c..5e993c3\n--- a/examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c\n+++ b/examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c\n@@ -542,29 +542,17 @@ static void *pipeline_fc_init(struct pipeline_params *params,\n \n \t\tswitch (p_fc->key_size) {\n \t\tcase 8:\n-\t\t\tif (p_fc->hash_offset != 0) {\n-\t\t\t\ttable_params.ops =\n-\t\t\t\t\t&rte_table_hash_key8_ext_ops;\n-\t\t\t} else {\n-\t\t\t\ttable_params.ops =\n-\t\t\t\t\t&rte_table_hash_key8_ext_dosig_ops;\n-\t\t\t}\n+\t\t\ttable_params.ops = &rte_table_hash_key8_ext_dosig_ops;\n \t\t\ttable_params.arg_create = &table_hash_key8_params;\n \t\t\tbreak;\n \n \t\tcase 16:\n-\t\t\tif (p_fc->hash_offset != 0) {\n-\t\t\t\ttable_params.ops =\n-\t\t\t\t\t&rte_table_hash_key16_ext_ops;\n-\t\t\t} else {\n-\t\t\t\ttable_params.ops =\n-\t\t\t\t\t&rte_table_hash_key16_ext_dosig_ops;\n-\t\t\t}\n+\t\t\ttable_params.ops = &rte_table_hash_key16_ext_dosig_ops;\n \t\t\ttable_params.arg_create = &table_hash_key16_params;\n \t\t\tbreak;\n \n \t\tdefault:\n-\t\t\ttable_params.ops = &rte_table_hash_ext_ops;\n+\t\t\ttable_params.ops = &rte_table_hash_ext_dosig_ops;\n \t\t\ttable_params.arg_create = &table_hash_params;\n \t\t}\n \ndiff --git a/test/test-pipeline/pipeline_hash.c b/test/test-pipeline/pipeline_hash.c\nindex 991e381..6d27f33 100644\n--- a/test/test-pipeline/pipeline_hash.c\n+++ b/test/test-pipeline/pipeline_hash.c\n@@ -187,7 +187,7 @@ app_main_loop_worker_pipeline_hash(void) {\n \t\t};\n \n \t\tstruct rte_pipeline_table_params table_params = {\n-\t\t\t.ops = &rte_table_hash_ext_ops,\n+\t\t\t.ops = &rte_table_hash_ext_dosig_ops,\n \t\t\t.arg_create = &table_hash_params,\n \t\t\t.f_action_hit = NULL,\n \t\t\t.f_action_miss = NULL,\n@@ -215,7 +215,7 @@ app_main_loop_worker_pipeline_hash(void) {\n \t\t};\n \n \t\tstruct rte_pipeline_table_params table_params = {\n-\t\t\t.ops = &rte_table_hash_lru_ops,\n+\t\t\t.ops = &rte_table_hash_lru_dosig_ops,\n \t\t\t.arg_create = &table_hash_params,\n \t\t\t.f_action_hit = NULL,\n \t\t\t.f_action_miss = NULL,\n@@ -241,7 +241,7 @@ app_main_loop_worker_pipeline_hash(void) {\n \t\t};\n \n \t\tstruct rte_pipeline_table_params table_params = {\n-\t\t\t.ops = &rte_table_hash_key8_ext_ops,\n+\t\t\t.ops = &rte_table_hash_key8_ext_dosig_ops,\n \t\t\t.arg_create = &table_hash_params,\n \t\t\t.f_action_hit = NULL,\n \t\t\t.f_action_miss = NULL,\n@@ -266,7 +266,7 @@ app_main_loop_worker_pipeline_hash(void) {\n \t\t};\n \n \t\tstruct rte_pipeline_table_params table_params = {\n-\t\t\t.ops = &rte_table_hash_key8_lru_ops,\n+\t\t\t.ops = &rte_table_hash_key8_lru_dosig_ops,\n \t\t\t.arg_create = &table_hash_params,\n \t\t\t.f_action_hit = NULL,\n \t\t\t.f_action_miss = NULL,\n@@ -292,7 +292,7 @@ app_main_loop_worker_pipeline_hash(void) {\n \t\t};\n \n \t\tstruct rte_pipeline_table_params table_params = {\n-\t\t\t.ops = &rte_table_hash_key16_ext_ops,\n+\t\t\t.ops = &rte_table_hash_key16_ext_dosig_ops,\n \t\t\t.arg_create = &table_hash_params,\n \t\t\t.f_action_hit = NULL,\n \t\t\t.f_action_miss = NULL,\n@@ -317,7 +317,7 @@ app_main_loop_worker_pipeline_hash(void) {\n \t\t};\n \n \t\tstruct rte_pipeline_table_params table_params = {\n-\t\t\t.ops = &rte_table_hash_key16_lru_ops,\n+\t\t\t.ops = &rte_table_hash_key16_lru_dosig_ops,\n \t\t\t.arg_create = &table_hash_params,\n \t\t\t.f_action_hit = NULL,\n \t\t\t.f_action_miss = NULL,\ndiff --git a/test/test/test_table_combined.c b/test/test/test_table_combined.c\nindex a2d19a1..a337a59 100644\n--- a/test/test/test_table_combined.c\n+++ b/test/test/test_table_combined.c\n@@ -469,7 +469,7 @@ test_table_hash8lru(void)\n \ttable_packets.n_hit_packets = 50;\n \ttable_packets.n_miss_packets = 50;\n \n-\tstatus = test_table_type(&rte_table_hash_key8_lru_ops,\n+\tstatus = test_table_type(&rte_table_hash_key8_lru_dosig_ops,\n \t\t(void *)&key8lru_params, (void *)key8lru, &table_packets,\n \t\t\tNULL, 0);\n \tVERIFY(status, CHECK_TABLE_OK);\n@@ -477,7 +477,7 @@ test_table_hash8lru(void)\n \t/* Invalid parameters */\n \tkey8lru_params.n_entries = 0;\n \n-\tstatus = test_table_type(&rte_table_hash_key8_lru_ops,\n+\tstatus = test_table_type(&rte_table_hash_key8_lru_dosig_ops,\n \t\t(void *)&key8lru_params, (void *)key8lru, &table_packets,\n \t\t\tNULL, 0);\n \tVERIFY(status, CHECK_TABLE_TABLE_CONFIG);\n@@ -485,7 +485,7 @@ test_table_hash8lru(void)\n \tkey8lru_params.n_entries = 1<<16;\n \tkey8lru_params.f_hash = NULL;\n \n-\tstatus = test_table_type(&rte_table_hash_key8_lru_ops,\n+\tstatus = test_table_type(&rte_table_hash_key8_lru_dosig_ops,\n \t\t(void *)&key8lru_params, (void *)key8lru, &table_packets,\n \t\t\tNULL, 0);\n \tVERIFY(status, CHECK_TABLE_TABLE_CONFIG);\n@@ -528,7 +528,7 @@ test_table_hash16lru(void)\n \ttable_packets.n_hit_packets = 50;\n \ttable_packets.n_miss_packets = 50;\n \n-\tstatus = test_table_type(&rte_table_hash_key16_lru_ops,\n+\tstatus = test_table_type(&rte_table_hash_key16_lru_dosig_ops,\n \t\t(void *)&key16lru_params, (void *)key16lru, &table_packets,\n \t\t\tNULL, 0);\n \tVERIFY(status, CHECK_TABLE_OK);\n@@ -536,7 +536,7 @@ test_table_hash16lru(void)\n \t/* Invalid parameters */\n \tkey16lru_params.n_entries = 0;\n \n-\tstatus = test_table_type(&rte_table_hash_key16_lru_ops,\n+\tstatus = test_table_type(&rte_table_hash_key16_lru_dosig_ops,\n \t\t(void *)&key16lru_params, (void *)key16lru, &table_packets,\n \t\t\tNULL, 0);\n \tVERIFY(status, CHECK_TABLE_TABLE_CONFIG);\n@@ -544,7 +544,7 @@ test_table_hash16lru(void)\n \tkey16lru_params.n_entries = 1<<16;\n \tkey16lru_params.f_hash = NULL;\n \n-\tstatus = test_table_type(&rte_table_hash_key16_lru_ops,\n+\tstatus = test_table_type(&rte_table_hash_key16_lru_dosig_ops,\n \t\t(void *)&key16lru_params, (void *)key16lru, &table_packets,\n \t\t\tNULL, 0);\n \tVERIFY(status, CHECK_TABLE_TABLE_CONFIG);\n@@ -646,7 +646,7 @@ test_table_hash8ext(void)\n \ttable_packets.n_hit_packets = 50;\n \ttable_packets.n_miss_packets = 50;\n \n-\tstatus = test_table_type(&rte_table_hash_key8_ext_ops,\n+\tstatus = test_table_type(&rte_table_hash_key8_ext_dosig_ops,\n \t\t(void *)&key8ext_params, (void *)key8ext, &table_packets,\n \t\tNULL, 0);\n \tVERIFY(status, CHECK_TABLE_OK);\n@@ -654,7 +654,7 @@ test_table_hash8ext(void)\n \t/* Invalid parameters */\n \tkey8ext_params.n_entries = 0;\n \n-\tstatus = test_table_type(&rte_table_hash_key8_ext_ops,\n+\tstatus = test_table_type(&rte_table_hash_key8_ext_dosig_ops,\n \t\t(void *)&key8ext_params, (void *)key8ext, &table_packets,\n \t\tNULL, 0);\n \tVERIFY(status, CHECK_TABLE_TABLE_CONFIG);\n@@ -662,7 +662,7 @@ test_table_hash8ext(void)\n \tkey8ext_params.n_entries = 1<<16;\n \tkey8ext_params.f_hash = NULL;\n \n-\tstatus = test_table_type(&rte_table_hash_key8_ext_ops,\n+\tstatus = test_table_type(&rte_table_hash_key8_ext_dosig_ops,\n \t\t(void *)&key8ext_params, (void *)key8ext, &table_packets,\n \t\tNULL, 0);\n \tVERIFY(status, CHECK_TABLE_TABLE_CONFIG);\n@@ -670,7 +670,7 @@ test_table_hash8ext(void)\n \tkey8ext_params.f_hash = pipeline_test_hash;\n \tkey8ext_params.n_entries_ext = 0;\n \n-\tstatus = test_table_type(&rte_table_hash_key8_ext_ops,\n+\tstatus = test_table_type(&rte_table_hash_key8_ext_dosig_ops,\n \t(void *)&key8ext_params, (void *)key8ext, &table_packets, NULL, 0);\n \tVERIFY(status, CHECK_TABLE_TABLE_CONFIG);\n \n@@ -713,7 +713,7 @@ test_table_hash16ext(void)\n \ttable_packets.n_hit_packets = 50;\n \ttable_packets.n_miss_packets = 50;\n \n-\tstatus = test_table_type(&rte_table_hash_key16_ext_ops,\n+\tstatus = test_table_type(&rte_table_hash_key16_ext_dosig_ops,\n \t\t(void *)&key16ext_params, (void *)key16ext, &table_packets,\n \t\tNULL, 0);\n \tVERIFY(status, CHECK_TABLE_OK);\n@@ -721,7 +721,7 @@ test_table_hash16ext(void)\n \t/* Invalid parameters */\n \tkey16ext_params.n_entries = 0;\n \n-\tstatus = test_table_type(&rte_table_hash_key16_ext_ops,\n+\tstatus = test_table_type(&rte_table_hash_key16_ext_dosig_ops,\n \t\t(void *)&key16ext_params, (void *)key16ext, &table_packets,\n \t\tNULL, 0);\n \tVERIFY(status, CHECK_TABLE_TABLE_CONFIG);\n@@ -729,7 +729,7 @@ test_table_hash16ext(void)\n \tkey16ext_params.n_entries = 1<<16;\n \tkey16ext_params.f_hash = NULL;\n \n-\tstatus = test_table_type(&rte_table_hash_key16_ext_ops,\n+\tstatus = test_table_type(&rte_table_hash_key16_ext_dosig_ops,\n \t\t(void *)&key16ext_params, (void *)key16ext, &table_packets,\n \t\tNULL, 0);\n \tVERIFY(status, CHECK_TABLE_TABLE_CONFIG);\n@@ -737,7 +737,7 @@ test_table_hash16ext(void)\n \tkey16ext_params.f_hash = pipeline_test_hash;\n \tkey16ext_params.n_entries_ext = 0;\n \n-\tstatus = test_table_type(&rte_table_hash_key16_ext_ops,\n+\tstatus = test_table_type(&rte_table_hash_key16_ext_dosig_ops,\n \t(void *)&key16ext_params, (void *)key16ext, &table_packets, NULL, 0);\n \tVERIFY(status, CHECK_TABLE_TABLE_CONFIG);\n \ndiff --git a/test/test/test_table_tables.c b/test/test/test_table_tables.c\nindex d835eb9..90d2f02 100644\n--- a/test/test/test_table_tables.c\n+++ b/test/test/test_table_tables.c\n@@ -895,7 +895,7 @@ test_table_hash_lru(void)\n {\n \tint status;\n \n-\tstatus = test_table_hash_lru_generic(&rte_table_hash_key8_lru_ops);\n+\tstatus = test_table_hash_lru_generic(&rte_table_hash_key8_lru_dosig_ops);\n \tif (status < 0)\n \t\treturn status;\n \n@@ -904,7 +904,7 @@ test_table_hash_lru(void)\n \tif (status < 0)\n \t\treturn status;\n \n-\tstatus = test_table_hash_lru_generic(&rte_table_hash_key16_lru_ops);\n+\tstatus = test_table_hash_lru_generic(&rte_table_hash_key16_lru_dosig_ops);\n \tif (status < 0)\n \t\treturn status;\n \n@@ -924,7 +924,7 @@ test_table_hash_ext(void)\n {\n \tint status;\n \n-\tstatus = test_table_hash_ext_generic(&rte_table_hash_key8_ext_ops);\n+\tstatus = test_table_hash_ext_generic(&rte_table_hash_key8_ext_dosig_ops);\n \tif (status < 0)\n \t\treturn status;\n \n@@ -933,7 +933,7 @@ test_table_hash_ext(void)\n \tif (status < 0)\n \t\treturn status;\n \n-\tstatus = test_table_hash_ext_generic(&rte_table_hash_key16_ext_ops);\n+\tstatus = test_table_hash_ext_generic(&rte_table_hash_key16_ext_dosig_ops);\n \tif (status < 0)\n \t\treturn status;\n \n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "01/18"
    ]
}