Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/112863/?format=api
http://patches.dpdk.org/api/patches/112863/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220616091455.25347-1-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": "<20220616091455.25347-1-cristian.dumitrescu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220616091455.25347-1-cristian.dumitrescu@intel.com", "date": "2022-06-16T09:14:55", "name": "[V2] pipeline: fix check against max number of learner table timeouts", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "23c6eae1fb078a04d6c26620a71a18370860284b", "submitter": { "id": 19, "url": "http://patches.dpdk.org/api/people/19/?format=api", "name": "Cristian Dumitrescu", "email": "cristian.dumitrescu@intel.com" }, "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/20220616091455.25347-1-cristian.dumitrescu@intel.com/mbox/", "series": [ { "id": 23562, "url": "http://patches.dpdk.org/api/series/23562/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=23562", "date": "2022-06-16T09:14:55", "name": "[V2] pipeline: fix check against max number of learner table timeouts", "version": 2, "mbox": "http://patches.dpdk.org/series/23562/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/112863/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/112863/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 F3DF0A00C2;\n\tThu, 16 Jun 2022 11:15:00 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A1F9D42BCA;\n\tThu, 16 Jun 2022 11:15:00 +0200 (CEST)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 8AEF64281E\n for <dev@dpdk.org>; Thu, 16 Jun 2022 11:14:58 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Jun 2022 02:14:57 -0700", "from silpixa00400573.ir.intel.com (HELO\n silpixa00400573.ger.corp.intel.com) ([10.237.223.107])\n by orsmga005.jf.intel.com with ESMTP; 16 Jun 2022 02:14:56 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1655370898; x=1686906898;\n h=from:to:cc:subject:date:message-id:in-reply-to: references;\n bh=E9/W+Ilym5VBK5DdEmLGbEotF1mO/M7NaPCr1QQMAgU=;\n b=NLezIFgEOrg4txmUIRfIUNiF6vBpEdrmwI1wKUGXWE09iGWSfzGO1RkX\n eFKm4dzmMkZaKIEWh7WIf5lrVYfKh+ehA1oCuwWgeL1783OVfAlVaI4dB\n WCVdGe83wSRneJA2KEAHSLsuMgs3u/w6mjE1qyYgLjE0TZh1qF0IYLF4X\n HnL72/NxdyrN8mo8JEQqoF2xOOY+edrZ6PxmUdZ3ZLj7YxuwkrnPAqeOY\n b5baVHuc+z/QTPjUFdvoBbcLx2hhvQZ9aHxyFWf1OIErZkA9E92C4wFUs\n KeKC8SYTJ6p/OIK3f0i7kmKhBnVGqMZtlFUS+Pf2TiDWqP1r/2X7OBjDB Q==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10379\"; a=\"280239976\"", "E=Sophos;i=\"5.91,304,1647327600\"; d=\"scan'208\";a=\"280239976\"", "E=Sophos;i=\"5.91,304,1647327600\"; d=\"scan'208\";a=\"762798791\"" ], "X-ExtLoop1": "1", "From": "Cristian Dumitrescu <cristian.dumitrescu@intel.com>", "To": "dev@dpdk.org", "Cc": "Harshad Narayane <harshad.suresh.narayane@intel.com>", "Subject": "[PATCH V2] pipeline: fix check against max number of learner table\n timeouts", "Date": "Thu, 16 Jun 2022 10:14:55 +0100", "Message-Id": "<20220616091455.25347-1-cristian.dumitrescu@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20220613115239.27838-1-cristian.dumitrescu@intel.com>", "References": "<20220613115239.27838-1-cristian.dumitrescu@intel.com>", "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": "From: Harshad Narayane <harshad.suresh.narayane@intel.com>\n\nFix comparison used to check against the maximum number of learner\ntable timeouts.\n\nFixes: e2ecc53582fb (\"pipeline: improve learner table timers\")\n\nSigned-off-by: Harshad Narayane <harshad.suresh.narayane@intel.com>\nSigned-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>\n---\n lib/pipeline/rte_swx_pipeline.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/pipeline/rte_swx_pipeline.c b/lib/pipeline/rte_swx_pipeline.c\nindex b4b44ad897..659d8726d1 100644\n--- a/lib/pipeline/rte_swx_pipeline.c\n+++ b/lib/pipeline/rte_swx_pipeline.c\n@@ -8848,7 +8848,7 @@ rte_swx_pipeline_learner_config(struct rte_swx_pipeline *p,\n \t/* Any other checks. */\n \tCHECK(size, EINVAL);\n \tCHECK(timeout, EINVAL);\n-\tCHECK(n_timeouts && (n_timeouts < RTE_SWX_TABLE_LEARNER_N_KEY_TIMEOUTS_MAX), EINVAL);\n+\tCHECK(n_timeouts && (n_timeouts <= RTE_SWX_TABLE_LEARNER_N_KEY_TIMEOUTS_MAX), EINVAL);\n \n \t/* Memory allocation. */\n \tl = calloc(1, sizeof(struct learner));\n", "prefixes": [ "V2" ] }{ "id": 112863, "url": "