Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/92335/?format=api
https://patches.dpdk.org/api/patches/92335/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210428142553.1593546-2-kda@semihalf.com/", "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": "<20210428142553.1593546-2-kda@semihalf.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210428142553.1593546-2-kda@semihalf.com", "date": "2021-04-28T14:25:52", "name": "[v2,1/2] test/distributor: fix worker notification in burst", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "ab00696366dff2c2a79dc19efb1b4da7ff394b9a", "submitter": { "id": 2179, "url": "https://patches.dpdk.org/api/people/2179/?format=api", "name": "Stanislaw Kardach", "email": "kda@semihalf.com" }, "delegate": { "id": 24651, "url": "https://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210428142553.1593546-2-kda@semihalf.com/mbox/", "series": [ { "id": 16722, "url": "https://patches.dpdk.org/api/series/16722/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=16722", "date": "2021-04-28T14:25:51", "name": "test/distributor: perf burst mode quit fixes", "version": 2, "mbox": "https://patches.dpdk.org/series/16722/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/92335/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/92335/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 2CCAFA0C3F;\n\tWed, 28 Apr 2021 16:28:37 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 10DAB410E0;\n\tWed, 28 Apr 2021 16:28:37 +0200 (CEST)", "from mail-lf1-f45.google.com (mail-lf1-f45.google.com\n [209.85.167.45]) by mails.dpdk.org (Postfix) with ESMTP id 29E8440147\n for <dev@dpdk.org>; Wed, 28 Apr 2021 16:28:35 +0200 (CEST)", "by mail-lf1-f45.google.com with SMTP id 124so18527235lff.5\n for <dev@dpdk.org>; Wed, 28 Apr 2021 07:28:35 -0700 (PDT)", "from localhost.localdomain (89-73-146-138.dynamic.chello.pl.\n [89.73.146.138])\n by smtp.gmail.com with ESMTPSA id e15sm1204409lja.14.2021.04.28.07.28.32\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 28 Apr 2021 07:28:33 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=semihalf-com.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=89XwhvRM8pEaY3Xr3sW2ljI80Cz74jR4CM2++QEEuuc=;\n b=hwlYtpfvR7TWh+WKyxVDUtt+8pIzfTxjQOXgbJRLOpfpavw1T9i38SMscQKOEd9Ymv\n AZxA13lXAs4Sw4sbYGerav8zFeK0pEgVQSGnWUj0Mx1esHaVZp6OLFtimJ+CLl5fQm15\n P2lCsms4kOIILLzIlVxI7w5GRlwK+6kAXuglaSou8Us5azRLbRK/eH0PjEmWT7y36DCO\n 5GJAkxR/GQo/h59ebNjdrd0uvAbOLpHgxJ/SgujGV8nX8NBQr2eDCatt7BE+1tCY4paA\n l8oUdaWWN60fDaOIDz2MFE5Hmjvj7FSY00QHz3kpz3pmTj6gBViTAJ4q04rtyak7W62D\n Mzew==", "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=89XwhvRM8pEaY3Xr3sW2ljI80Cz74jR4CM2++QEEuuc=;\n b=IF1TsMss6gnsM9RcWy3+EPRBWmdiofKipGKZ41yTcMdoJc6UYvgirTwG/WJoUg9cqS\n 3B8Scx5r/9k2HTLb5L0umOZh7PznVBM/Eg0vb439w6rDN946WeLfFhu5CmcdOaWSazWt\n Vu4c4eoGLlhdsq4VhTlTe5fUXi4lE+TFxhMBrHR2S8dZ/3dqw8dYBhYeit08M17DLkEs\n QxoWIvenJ2KSt7354dkhJZ9lT8COZO7hoMxVwXE/LIY7fXMY94teXoD32bkaTsnis0OI\n Oas4UvkTNd53dJ1aIyzy2J+G7n2uMZRBIp3vT4VzL9zYQ2q6PDWzvt5w4u/KE3k1RNpz\n GuBQ==", "X-Gm-Message-State": "AOAM530JpoYzg0B7s/BKm3siKuNYOUCJbemjfQOLw4VKSOhiaHGfTJnW\n wgq6QnCR+h3CIBNJp1XTYbcC7pa0oV+7qjUg", "X-Google-Smtp-Source": "\n ABdhPJxAmlh2y9nFnElNLSu8gXgZSdVby48DqzGQc/m2w73fZGyUngUP41Ts5sbsKnCJv21cOBYzvg==", "X-Received": "by 2002:a05:6512:3ca0:: with SMTP id\n h32mr21856421lfv.184.1619620113325;\n Wed, 28 Apr 2021 07:28:33 -0700 (PDT)", "From": "Stanislaw Kardach <kda@semihalf.com>", "To": "dev@dpdk.org,\n\tdavid.hunt@intel.com", "Cc": "upstream@semihalf.com, l.wojciechow@partner.samsung.com,\n Stanislaw Kardach <kda@semihalf.com>, bruce.richardson@intel.com", "Date": "Wed, 28 Apr 2021 16:25:52 +0200", "Message-Id": "<20210428142553.1593546-2-kda@semihalf.com>", "X-Mailer": "git-send-email 2.27.0", "In-Reply-To": "<20210428142553.1593546-1-kda@semihalf.com>", "References": "<20210426163310.1043438-1-kda@semihalf.com>\n <20210428142553.1593546-1-kda@semihalf.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 1/2] test/distributor: fix worker notification\n in burst", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Because a single worker can process more than one packet from the\ndistributor, the final set of notifications in burst mode should be\nsent one-by-one to ensure that each worker has a chance to wake up.\n\nThis fix mirrors the change done in the functional test by\ncommit f72bff0ec272 (\"test/distributor: fix quitting workers in burst\nmode\").\n\nFixes: c3eabff124e6 (\"distributor: add unit tests\")\nCc: bruce.richardson@intel.com\n\nSigned-off-by: Stanislaw Kardach <kda@semihalf.com>\nAcked-by: David Hunt <david.hunt@intel.com>\nTested-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>\nReviewed-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>\n---\n app/test/test_distributor_perf.c | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)", "diff": "diff --git a/app/test/test_distributor_perf.c b/app/test/test_distributor_perf.c\nindex b25f79a34..371a14ba4 100644\n--- a/app/test/test_distributor_perf.c\n+++ b/app/test/test_distributor_perf.c\n@@ -188,9 +188,10 @@ quit_workers(struct rte_distributor *d, struct rte_mempool *p)\n \trte_mempool_get_bulk(p, (void *)bufs, num_workers);\n \n \tquit = 1;\n-\tfor (i = 0; i < num_workers; i++)\n+\tfor (i = 0; i < num_workers; i++) {\n \t\tbufs[i]->hash.usr = i << 1;\n-\trte_distributor_process(d, bufs, num_workers);\n+\t\trte_distributor_process(d, &bufs[i], 1);\n+\t}\n \n \trte_mempool_put_bulk(p, (void *)bufs, num_workers);\n \n", "prefixes": [ "v2", "1/2" ] }{ "id": 92335, "url": "