Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/130536/?format=api
http://patchwork.dpdk.org/api/patches/130536/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230818174537.290222-12-stephen@networkplumber.org/", "project": { "id": 1, "url": "http://patchwork.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": "<20230818174537.290222-12-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20230818174537.290222-12-stephen@networkplumber.org", "date": "2023-08-18T17:45:35", "name": "[v2,11/13] net/softnic: replace abort with cancel", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": true, "hash": "d533ffb83ba0ad7cc87777e0c539327fc859801c", "submitter": { "id": 27, "url": "http://patchwork.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230818174537.290222-12-stephen@networkplumber.org/mbox/", "series": [ { "id": 29282, "url": "http://patchwork.dpdk.org/api/series/29282/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29282", "date": "2023-08-18T17:45:24", "name": "Replace us of term abort", "version": 2, "mbox": "http://patchwork.dpdk.org/series/29282/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/130536/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/130536/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D2D224309A;\n\tFri, 18 Aug 2023 19:48:13 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B745B4328B;\n\tFri, 18 Aug 2023 19:47:00 +0200 (CEST)", "from mail-pf1-f172.google.com (mail-pf1-f172.google.com\n [209.85.210.172])\n by mails.dpdk.org (Postfix) with ESMTP id 0F7EB4326F\n for <dev@dpdk.org>; Fri, 18 Aug 2023 19:46:55 +0200 (CEST)", "by mail-pf1-f172.google.com with SMTP id\n d2e1a72fcca58-6887918ed20so1072642b3a.2\n for <dev@dpdk.org>; Fri, 18 Aug 2023 10:46:54 -0700 (PDT)", "from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207])\n by smtp.gmail.com with ESMTPSA id\n u20-20020aa78394000000b0066a2e8431a0sm1804610pfm.183.2023.08.18.10.46.53\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 18 Aug 2023 10:46:53 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1692380814;\n x=1692985614;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=fREpg+5p1kGXcqExd41cgj50m998TkQbF0biOt69Io4=;\n b=VqNsU3pKTI8Hcgaeh6++BGPnkiwSJFaB6LbNbZf0sCjP3Ni+mwn5I8Dti1jpVDLdPw\n sT3ftg5UoV72tO24sfzNT7to7Jsj5x7MzcDZYcxrhBk9wkmPZrMKkCGAIEIUU2r9F6gx\n nEPOaV8shuh1wBE7cNMobGrTGKnMEnPzypxbBA8Uo8L7M5fDbnPbgnPgxSrdcliOjx3N\n ACX6JcPTb4AnvvFhz8xjUP4OvKjLgXq26hSimbxDTYE7/hC34vvUL2ZAwFiM4HJ8UVzu\n qzbghAE83JJLklPUEZoQjTJLnW4ncBmWSeSKghMirzGajzGnex/oaVgFxhZ+i42FpaGV\n VJxg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20221208; t=1692380814; x=1692985614;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=fREpg+5p1kGXcqExd41cgj50m998TkQbF0biOt69Io4=;\n b=A6mC8ex3pFb20xEpiXtvSl6cIZx/m0tav782TCx3C9DY4HwbOaiRQukokYH2yWqMS9\n HPhuq6TX++i6DfKczED6kaH1ydSIJDDoJRohMja2EM4TOqskp9MS65aws3pL2LHOnt4l\n Jy1X8dQYYj/sqVJdN7mFB3AOrRq1cwuK4POsC1JMcQa/32pB343E+vvRXRFpPU9SErKW\n lg6mxx+zYMs+qebC5lul/7bfOKWxN+dJlUmoF5aIzSVjr2M58+YdQ/P7kxB/kYdPbfgO\n KiYBadqy1IVpsyt/Vh6EN+ArmePDYARKcYuok3pwP4GwV87i2vYePqaKZgrb58rnOAwz\n YiQg==", "X-Gm-Message-State": "AOJu0YyQ4/UBR4uNuv2MwzJuUeqvFiAOuHHKj7D5asDtcvJRk3LnrQMa\n oXO9iERq+6V6r5k0QZsHFIGsjoMjIRjp0D+Bq4eZIQ==", "X-Google-Smtp-Source": "\n AGHT+IF+bvo1UQPOqc0xU4CTbAfKKObTaMp8EsqFhYWYwwC/GugZyTYP4ubHGYe3gnx/n5xm6F9VMg==", "X-Received": "by 2002:a05:6a20:12d1:b0:11d:8a8f:655d with SMTP id\n v17-20020a056a2012d100b0011d8a8f655dmr4759077pzg.4.1692380814019;\n Fri, 18 Aug 2023 10:46:54 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>", "Subject": "[PATCH v2 11/13] net/softnic: replace abort with cancel", "Date": "Fri, 18 Aug 2023 10:45:35 -0700", "Message-Id": "<20230818174537.290222-12-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.39.2", "In-Reply-To": "<20230818174537.290222-1-stephen@networkplumber.org>", "References": "<20230818025249.33994-1-stephen@networkplumber.org>\n <20230818174537.290222-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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" }, "content": "The term abort is o the Tier 1 non-inclusive word list.\nReplace it with cancel. This also impacts the CLI\nfor controlling this driver.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/net/softnic/rte_eth_softnic_cli.c | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)", "diff": "diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/drivers/net/softnic/rte_eth_softnic_cli.c\nindex 085523fe0310..bdb89753696a 100644\n--- a/drivers/net/softnic/rte_eth_softnic_cli.c\n+++ b/drivers/net/softnic/rte_eth_softnic_cli.c\n@@ -1389,14 +1389,14 @@ cmd_softnic_pipeline_commit(struct pmd_internals *softnic,\n \tstatus = rte_swx_ctl_pipeline_commit(p->ctl, 1);\n \tif (status)\n \t\tsnprintf(out, out_size, \"Commit failed. \"\n-\t\t\t\"Use \\\"commit\\\" to retry or \\\"abort\\\" to discard the pending work.\\n\");\n+\t\t\t\"Use \\\"commit\\\" to retry or \\\"cancel\\\" to discard the pending work.\\n\");\n }\n \n /**\n- * pipeline <pipeline_name> abort\n+ * pipeline <pipeline_name> cancel\n */\n static void\n-cmd_softnic_pipeline_abort(struct pmd_internals *softnic,\n+cmd_softnic_pipeline_cancel(struct pmd_internals *softnic,\n \tchar **tokens,\n \tuint32_t n_tokens,\n \tchar *out,\n@@ -1417,7 +1417,7 @@ cmd_softnic_pipeline_abort(struct pmd_internals *softnic,\n \t\treturn;\n \t}\n \n-\trte_swx_ctl_pipeline_abort(p->ctl);\n+\trte_swx_ctl_pipeline_cancel(p->ctl);\n }\n \n /**\n@@ -2428,8 +2428,8 @@ softnic_cli_process(char *in, char *out, size_t out_size, void *arg)\n \t\t\treturn;\n \t\t}\n \n-\t\tif (n_tokens >= 3 && !strcmp(tokens[2], \"abort\")) {\n-\t\t\tcmd_softnic_pipeline_abort(softnic, tokens, n_tokens, out, out_size);\n+\t\tif (n_tokens >= 3 && !strcmp(tokens[2], \"cancel\")) {\n+\t\t\tcmd_softnic_pipeline_cancel(softnic, tokens, n_tokens, out, out_size);\n \t\t\treturn;\n \t\t}\n \n", "prefixes": [ "v2", "11/13" ] }{ "id": 130536, "url": "