get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 80766,
    "url": "http://patches.dpdk.org/api/patches/80766/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201014152756.6518-11-stephen@networkplumber.org/",
    "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": "<20201014152756.6518-11-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201014152756.6518-11-stephen@networkplumber.org",
    "date": "2020-10-14T15:27:48",
    "name": "[v6,10/18] app/test-eventdev: replace use of master lcore with main lcore",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4f18d66e9fb8c50582f4142729f33e2a6dcf774c",
    "submitter": {
        "id": 27,
        "url": "http://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20201014152756.6518-11-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 12962,
            "url": "http://patches.dpdk.org/api/series/12962/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12962",
            "date": "2020-10-14T15:27:38",
            "name": "Replace terms master/slave",
            "version": 6,
            "mbox": "http://patches.dpdk.org/series/12962/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/80766/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/80766/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E7185A04B7;\n\tWed, 14 Oct 2020 17:32:25 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0EB671DEE9;\n\tWed, 14 Oct 2020 17:28:25 +0200 (CEST)",
            "from mail-pg1-f182.google.com (mail-pg1-f182.google.com\n [209.85.215.182]) by dpdk.org (Postfix) with ESMTP id 98C891DEBF\n for <dev@dpdk.org>; Wed, 14 Oct 2020 17:28:16 +0200 (CEST)",
            "by mail-pg1-f182.google.com with SMTP id f5so2225790pgb.1\n for <dev@dpdk.org>; Wed, 14 Oct 2020 08:28:16 -0700 (PDT)",
            "from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127])\n by smtp.gmail.com with ESMTPSA id j11sm3653457pfh.143.2020.10.14.08.28.13\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 14 Oct 2020 08:28:13 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=wbswMm41oESrSRFS3FILbDd/tMu65rFM7dxlEf3D9iA=;\n b=VQvoHh4hmlF6zf/ozwNzxaWQ1IvUQThOQ9EnQOFhEFKSfs4OOXZsp3bEZR20RSBUPc\n 1xvQgTN1cX+ls9/KTU5tqaQKPTLqKh4CydxYp5RKWFatnn5XLdFCStm1/u9xkA5kOWyT\n QqAgGMxQzpl5ZLHaohbIBOIl0hCH2R1xdCHVa8Bx93nvk4tj8UonCGtnNZjg+ata1nLX\n ITTsK24dSxNbixEEuO5JQbdstGRV7IGhLIkeogeDLg4BU0HNRtSAbEHwB9riulw7MCYW\n 806x6qxYUV4ECCEnPpUPLTHZuRrEn59qPgOMTmhSbpT9f+FM6V6YoTUSIx34/g1hCYQ1\n zJnQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=wbswMm41oESrSRFS3FILbDd/tMu65rFM7dxlEf3D9iA=;\n b=J3Rkz6z0pUClkQEOLJDteEuW001drSrXbHinPsC5l4a+DDMM1VYTtVk8GU6ho8d241\n 4e33uNsq+ZVMEAn5CmzNHHDWrMvpEXzRMTwsvVepYR+VDqPiaaS1VMzozabgHkvH48fU\n PG1woLf4hwH8hBl8T48ujqSmTdw+Ghxn2JX7pTmeC0lezPLredIxLioWVGLne3XP1La4\n U9KLgxaRPx0K41hPqjIVcBymn6u+1a5iNGyhHIUgaX/oU6jUSrmYJfPms00eLP1MgmWA\n I5GROWMI87UNqFhw+MEQI0nlOLv2r4J6tJ0fIk7nyblP600bEhQynzpUwKgYh1VV+chN\n 9P8w==",
        "X-Gm-Message-State": "AOAM533V/iA+EFlu/KFkPV3AUc6h4CnhEfJ70EAWtaRbZzRBhBLV4IO4\n 2GLBXYoGbqbhCsXZGQGYQfpM4kIZKC/QEA==",
        "X-Google-Smtp-Source": "\n ABdhPJx4uSbSaZ5iVc3skaYNUTRfcN8jc3md9wXJY8TgfmwnKW6RckZbJdUR9b/Z7e1kYjSMaMCw1Q==",
        "X-Received": "by 2002:a65:5249:: with SMTP id q9mr4290085pgp.79.1602689294576;\n Wed, 14 Oct 2020 08:28:14 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Anatoly Burakov <anatoly.burakov@intel.com>",
        "Date": "Wed, 14 Oct 2020 08:27:48 -0700",
        "Message-Id": "<20201014152756.6518-11-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20201014152756.6518-1-stephen@networkplumber.org>",
        "References": "<20200911190701.29171-1-stephen@networkplumber.org>\n <20201014152756.6518-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v6 10/18] app/test-eventdev: replace use of\n\tmaster lcore with main lcore",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Replace master with main lcore.\n\nAcked-by: Anatoly Burakov <anatoly.burakov@intel.com>\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n app/test-eventdev/evt_options.c          |  2 +-\n app/test-eventdev/test_order_common.c    | 12 ++++++------\n app/test-eventdev/test_perf_common.c     | 16 ++++++++--------\n app/test-eventdev/test_pipeline_common.c | 11 +++++------\n 4 files changed, 20 insertions(+), 21 deletions(-)",
    "diff": "diff --git a/app/test-eventdev/evt_options.c b/app/test-eventdev/evt_options.c\nindex c60b61a904b0..6994ac453c8c 100644\n--- a/app/test-eventdev/evt_options.c\n+++ b/app/test-eventdev/evt_options.c\n@@ -438,7 +438,7 @@ evt_options_dump(struct evt_options *opt)\n \tevt_dump(\"verbose_level\", \"%d\", opt->verbose_level);\n \tevt_dump(\"socket_id\", \"%d\", opt->socket_id);\n \tevt_dump(\"pool_sz\", \"%d\", opt->pool_sz);\n-\tevt_dump(\"master lcore\", \"%d\", rte_get_master_lcore());\n+\tevt_dump(\"main lcore\", \"%d\", rte_get_main_lcore());\n \tevt_dump(\"nb_pkts\", \"%\"PRIu64, opt->nb_pkts);\n \tevt_dump(\"nb_timers\", \"%\"PRIu64, opt->nb_timers);\n \tevt_dump_begin(\"available lcores\");\ndiff --git a/app/test-eventdev/test_order_common.c b/app/test-eventdev/test_order_common.c\nindex 4190f9ade82b..24ee6957bf9e 100644\n--- a/app/test-eventdev/test_order_common.c\n+++ b/app/test-eventdev/test_order_common.c\n@@ -74,15 +74,15 @@ order_opt_check(struct evt_options *opt)\n \t\treturn -1;\n \t}\n \n-\t/* 1 producer + N workers + 1 master */\n+\t/* 1 producer + N workers + main */\n \tif (rte_lcore_count() < 3) {\n \t\tevt_err(\"test need minimum 3 lcores\");\n \t\treturn -1;\n \t}\n \n \t/* Validate worker lcores */\n-\tif (evt_lcores_has_overlap(opt->wlcores, rte_get_master_lcore())) {\n-\t\tevt_err(\"worker lcores overlaps with master lcore\");\n+\tif (evt_lcores_has_overlap(opt->wlcores, rte_get_main_lcore())) {\n+\t\tevt_err(\"worker lcores overlaps with main lcore\");\n \t\treturn -1;\n \t}\n \n@@ -117,8 +117,8 @@ order_opt_check(struct evt_options *opt)\n \t}\n \n \t/* Validate producer lcore */\n-\tif (plcore == (int)rte_get_master_lcore()) {\n-\t\tevt_err(\"producer lcore and master lcore should be different\");\n+\tif (plcore == (int)rte_get_main_lcore()) {\n+\t\tevt_err(\"producer lcore and main lcore should be different\");\n \t\treturn -1;\n \t}\n \tif (!rte_lcore_is_enabled(plcore)) {\n@@ -245,7 +245,7 @@ order_launch_lcores(struct evt_test *test, struct evt_options *opt,\n \n \tint wkr_idx = 0;\n \t/* launch workers */\n-\tRTE_LCORE_FOREACH_SLAVE(lcore_id) {\n+\tRTE_LCORE_FOREACH_WORKER(lcore_id) {\n \t\tif (!(opt->wlcores[lcore_id]))\n \t\t\tcontinue;\n \ndiff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c\nindex b3af4bfecaff..955edb752671 100644\n--- a/app/test-eventdev/test_perf_common.c\n+++ b/app/test-eventdev/test_perf_common.c\n@@ -254,7 +254,7 @@ perf_launch_lcores(struct evt_test *test, struct evt_options *opt,\n \n \tint port_idx = 0;\n \t/* launch workers */\n-\tRTE_LCORE_FOREACH_SLAVE(lcore_id) {\n+\tRTE_LCORE_FOREACH_WORKER(lcore_id) {\n \t\tif (!(opt->wlcores[lcore_id]))\n \t\t\tcontinue;\n \n@@ -268,7 +268,7 @@ perf_launch_lcores(struct evt_test *test, struct evt_options *opt,\n \t}\n \n \t/* launch producers */\n-\tRTE_LCORE_FOREACH_SLAVE(lcore_id) {\n+\tRTE_LCORE_FOREACH_WORKER(lcore_id) {\n \t\tif (!(opt->plcores[lcore_id]))\n \t\t\tcontinue;\n \n@@ -541,8 +541,8 @@ perf_opt_check(struct evt_options *opt, uint64_t nb_queues)\n {\n \tunsigned int lcores;\n \n-\t/* N producer + N worker + 1 master when producer cores are used\n-\t * Else N worker + 1 master when Rx adapter is used\n+\t/* N producer + N worker + main when producer cores are used\n+\t * Else N worker + main when Rx adapter is used\n \t */\n \tlcores = opt->prod_type == EVT_PROD_TYPE_SYNT ? 3 : 2;\n \n@@ -552,8 +552,8 @@ perf_opt_check(struct evt_options *opt, uint64_t nb_queues)\n \t}\n \n \t/* Validate worker lcores */\n-\tif (evt_lcores_has_overlap(opt->wlcores, rte_get_master_lcore())) {\n-\t\tevt_err(\"worker lcores overlaps with master lcore\");\n+\tif (evt_lcores_has_overlap(opt->wlcores, rte_get_main_lcore())) {\n+\t\tevt_err(\"worker lcores overlaps with main lcore\");\n \t\treturn -1;\n \t}\n \tif (evt_lcores_has_overlap_multi(opt->wlcores, opt->plcores)) {\n@@ -573,8 +573,8 @@ perf_opt_check(struct evt_options *opt, uint64_t nb_queues)\n \t\t\topt->prod_type == EVT_PROD_TYPE_EVENT_TIMER_ADPTR) {\n \t\t/* Validate producer lcores */\n \t\tif (evt_lcores_has_overlap(opt->plcores,\n-\t\t\t\t\trte_get_master_lcore())) {\n-\t\t\tevt_err(\"producer lcores overlaps with master lcore\");\n+\t\t\t\t\trte_get_main_lcore())) {\n+\t\t\tevt_err(\"producer lcores overlaps with main lcore\");\n \t\t\treturn -1;\n \t\t}\n \t\tif (evt_has_disabled_lcore(opt->plcores)) {\ndiff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c\nindex 17088b1b48e4..4ac41a9ad1e3 100644\n--- a/app/test-eventdev/test_pipeline_common.c\n+++ b/app/test-eventdev/test_pipeline_common.c\n@@ -60,7 +60,7 @@ pipeline_launch_lcores(struct evt_test *test, struct evt_options *opt,\n \n \tint port_idx = 0;\n \t/* launch workers */\n-\tRTE_LCORE_FOREACH_SLAVE(lcore_id) {\n+\tRTE_LCORE_FOREACH_WORKER(lcore_id) {\n \t\tif (!(opt->wlcores[lcore_id]))\n \t\t\tcontinue;\n \n@@ -106,9 +106,8 @@ int\n pipeline_opt_check(struct evt_options *opt, uint64_t nb_queues)\n {\n \tunsigned int lcores;\n-\t/*\n-\t * N worker + 1 master\n-\t */\n+\n+\t/* N worker + main */\n \tlcores = 2;\n \n \tif (opt->prod_type != EVT_PROD_TYPE_ETH_RX_ADPTR) {\n@@ -129,8 +128,8 @@ pipeline_opt_check(struct evt_options *opt, uint64_t nb_queues)\n \t}\n \n \t/* Validate worker lcores */\n-\tif (evt_lcores_has_overlap(opt->wlcores, rte_get_master_lcore())) {\n-\t\tevt_err(\"worker lcores overlaps with master lcore\");\n+\tif (evt_lcores_has_overlap(opt->wlcores, rte_get_main_lcore())) {\n+\t\tevt_err(\"worker lcores overlaps with main lcore\");\n \t\treturn -1;\n \t}\n \tif (evt_has_disabled_lcore(opt->wlcores)) {\n",
    "prefixes": [
        "v6",
        "10/18"
    ]
}