Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/118222/?format=api
https://patches.dpdk.org/api/patches/118222/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20221014172328.185219-1-stephen@networkplumber.org/", "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": "<20221014172328.185219-1-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20221014172328.185219-1-stephen@networkplumber.org", "date": "2022-10-14T17:23:27", "name": "[RFC,1/2] testpmd: make f_quit flag volatile", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ee9f0e8bc4f0cb62fc37b9deb9ea5515e7ba26d7", "submitter": { "id": 27, "url": "https://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 3961, "url": "https://patches.dpdk.org/api/users/3961/?format=api", "username": "arybchenko", "first_name": "Andrew", "last_name": "Rybchenko", "email": "andrew.rybchenko@oktetlabs.ru" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20221014172328.185219-1-stephen@networkplumber.org/mbox/", "series": [ { "id": 25237, "url": "https://patches.dpdk.org/api/series/25237/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=25237", "date": "2022-10-14T17:23:28", "name": "[RFC,1/2] testpmd: make f_quit flag volatile", "version": 1, "mbox": "https://patches.dpdk.org/series/25237/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/118222/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/118222/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 AC4DFA00C2;\n\tFri, 14 Oct 2022 19:23:38 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2260740A81;\n\tFri, 14 Oct 2022 19:23:34 +0200 (CEST)", "from mail-pj1-f50.google.com (mail-pj1-f50.google.com\n [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTP id 958F04021E\n for <dev@dpdk.org>; Fri, 14 Oct 2022 19:23:31 +0200 (CEST)", "by mail-pj1-f50.google.com with SMTP id\n t10-20020a17090a4e4a00b0020af4bcae10so5314995pjl.3\n for <dev@dpdk.org>; Fri, 14 Oct 2022 10:23:31 -0700 (PDT)", "from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218])\n by smtp.gmail.com with ESMTPSA id\n g20-20020aa796b4000000b00561beff1e09sm1986520pfk.164.2022.10.14.10.23.29\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 14 Oct 2022 10:23:30 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20210112.gappssmtp.com; s=20210112;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=dACfn4HkMEJf0s2Dfm8oVLiKpKo2v5L9TSvCvYRJYjI=;\n b=BBsoxFdJWm7OGUZ2Yvs66UJwc6l1sAOVy4DxIExeFPIYoE+MyeUnKRUSVhuk7A6eia\n Lcf3To00pAooqBehBla6BrpAM2mRYZqsyBgetk83YrXzOWkfOnDTf2e40ayOrx7a9lxP\n 6tbbKnHYp7BTzhmAYIbP6Xe0BSw0Ky6tMgpEeFlIipVAjQEETA8+DCNAGC8wvMHBpv6B\n cwZFtGkBADuELr6pKZlyq0hssMCS/HKlz9U1Or+VWGzFEUd4EweSA2/e6dBq8Sk/5qvY\n lwC0g1z0E/auIVwTCmQ1TZRZLw8RAtFCJCTdxWi7AtryhgbZG4o6h1nVVno2Pc+XhDmZ\n AUpA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=dACfn4HkMEJf0s2Dfm8oVLiKpKo2v5L9TSvCvYRJYjI=;\n b=mlFVUj37JWCJwgoo0hYkXgXVHQNoP68nuk0k6ptvu+0xNRFth6y+HDMKBVyRisidIt\n QcTW/B4m+c09K6F/tOLNYUJYadstqMU+IROYPd5NrBJnFyNvBnM6iLm+BQRp0I1ehcth\n +541Ap93hXhWl9tNovfhDMv08bCohVlCH8olmoskcZbPA44k/6PWnBkHUE5oF2rYqvBV\n TttwibJh3oWMX7frB5hwBixgrleoK7BYhqdCYJHKyDy2EsXQFaNIdT9gws4RUZSbup5l\n XYxv0KuMPVfsLVkl3ClzuMzXQeMX6kIc7prkP3kWX1IVha4ISGMg/PkJdmyU9T7Navh8\n 8uEg==", "X-Gm-Message-State": "ACrzQf309ht4Q6BjXr3DScvaFPslLJP0GWxU7hVkwX4aZH6wY4sSE04l\n WIIYasPQ3fC7uSNPIgblSHggBcoTl6Ay4A==", "X-Google-Smtp-Source": "\n AMsMyM45TISLRz5yhmkl+JBhxzbFmGrO7gREtbgTZfoHSxaa7zz53UE4HvTEoaRaJLYK4fp6MjaeQg==", "X-Received": "by 2002:a17:902:968f:b0:180:a7ff:78ba with SMTP id\n n15-20020a170902968f00b00180a7ff78bamr6487441plp.87.1665768210473;\n Fri, 14 Oct 2022 10:23:30 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>", "Subject": "[RFC 1/2] testpmd: make f_quit flag volatile", "Date": "Fri, 14 Oct 2022 10:23:27 -0700", "Message-Id": "<20221014172328.185219-1-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.35.1", "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": "Since f_quit is set in a signal handler it needs\nto be marked as volatile. Otherwise, compler is allowed\nto optimize away access to it.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n app/test-pmd/testpmd.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c\nindex 5b0f0838dcc8..815dd6dab4e3 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -231,7 +231,7 @@ unsigned int xstats_display_num; /**< Size of extended statistics to show */\n * In container, it cannot terminate the process which running with 'stats-period'\n * option. Set flag to exit stats period loop after received SIGINT/SIGTERM.\n */\n-uint8_t f_quit;\n+static volatile uint8_t f_quit;\n uint8_t cl_quit; /* Quit testpmd from cmdline. */\n \n /*\n", "prefixes": [ "RFC", "1/2" ] }{ "id": 118222, "url": "