Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/107568/?format=api
http://patchwork.dpdk.org/api/patches/107568/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220215070402.265481-1-haiyue.wang@intel.com/", "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": "<20220215070402.265481-1-haiyue.wang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220215070402.265481-1-haiyue.wang@intel.com", "date": "2022-02-15T07:04:02", "name": "[v1] ethdev: beautify the Rx desc number check indent", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": true, "hash": "fd1107dc9f7a856400c6c01c8a3126e705738a6d", "submitter": { "id": 1044, "url": "http://patchwork.dpdk.org/api/people/1044/?format=api", "name": "Wang, Haiyue", "email": "haiyue.wang@intel.com" }, "delegate": { "id": 319, "url": "http://patchwork.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20220215070402.265481-1-haiyue.wang@intel.com/mbox/", "series": [ { "id": 21671, "url": "http://patchwork.dpdk.org/api/series/21671/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=21671", "date": "2022-02-15T07:04:02", "name": "[v1] ethdev: beautify the Rx desc number check indent", "version": 1, "mbox": "http://patchwork.dpdk.org/series/21671/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/107568/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/107568/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 387F1A00C5;\n\tTue, 15 Feb 2022 08:38:23 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0244940E78;\n\tTue, 15 Feb 2022 08:38:23 +0100 (CET)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id 5690940DDA\n for <dev@dpdk.org>; Tue, 15 Feb 2022 08:38:22 +0100 (CET)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Feb 2022 23:38:21 -0800", "from npg-dpdk-haiyue-2.sh.intel.com ([10.67.118.240])\n by orsmga007.jf.intel.com with ESMTP; 14 Feb 2022 23:38:20 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1644910702; x=1676446702;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=gWwbr5NPerdMDSvpbAUcHTBiQ7i9CD2PgnIPTDQ0ivU=;\n b=oEjMFNJa6/0E75sgoLwyfv51XuVFHrIMUMEQUlnbpN2w54b8E/dW8i6C\n 4IA32N9BWDuxIYmiNXEkFBngSiaqpsBjIWL+RNJOr0XL/xCMpOLz8krxR\n WDoqLS+Y6sil0CPhuRI0R1hMEwTNE5MjQnLBGCZOyifCOOy7XZJulxf6e\n AJh+fHnoXuScvKWPESO7L0zrWxAofLv+NGiPGmsWgDPiYgIzjXeoqVt8Y\n r6FiiFYpCpgB7lP9DYWTImL/uOvNVnA2TDKDWUaTzuxCgI4+rxU8i2j6a\n Nd7HBt6wB8FwJpOH3kvjIitddbL+Cbsg29wgAmw3g1FoPuYwXOfR/OqbK g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10258\"; a=\"313544782\"", "E=Sophos;i=\"5.88,370,1635231600\"; d=\"scan'208\";a=\"313544782\"", "E=Sophos;i=\"5.88,370,1635231600\"; d=\"scan'208\";a=\"528680878\"" ], "X-ExtLoop1": "1", "From": "Haiyue Wang <haiyue.wang@intel.com>", "To": "dev@dpdk.org", "Cc": "Haiyue Wang <haiyue.wang@intel.com>,\n Thomas Monjalon <thomas@monjalon.net>,\n Ferruh Yigit <ferruh.yigit@intel.com>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>", "Subject": "[PATCH v1] ethdev: beautify the Rx desc number check indent", "Date": "Tue, 15 Feb 2022 15:04:02 +0800", "Message-Id": "<20220215070402.265481-1-haiyue.wang@intel.com>", "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": "Align to Tx desc number check indent, which may help to understand Rx\ndescriptor limits member in the alignment comparison view. And remove\nthe extra empty line.\n\nSigned-off-by: Haiyue Wang <haiyue.wang@intel.com>\n---\n lib/ethdev/rte_ethdev.c | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)", "diff": "diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c\nindex 70c850a2f1..54f1e14c6b 100644\n--- a/lib/ethdev/rte_ethdev.c\n+++ b/lib/ethdev/rte_ethdev.c\n@@ -1799,9 +1799,8 @@ rte_eth_rx_queue_setup(uint16_t port_id, uint16_t rx_queue_id,\n \t}\n \n \tif (nb_rx_desc > dev_info.rx_desc_lim.nb_max ||\n-\t\t\tnb_rx_desc < dev_info.rx_desc_lim.nb_min ||\n-\t\t\tnb_rx_desc % dev_info.rx_desc_lim.nb_align != 0) {\n-\n+\t nb_rx_desc < dev_info.rx_desc_lim.nb_min ||\n+\t nb_rx_desc % dev_info.rx_desc_lim.nb_align != 0) {\n \t\tRTE_ETHDEV_LOG(ERR,\n \t\t\t\"Invalid value for nb_rx_desc(=%hu), should be: <= %hu, >= %hu, and a product of %hu\\n\",\n \t\t\tnb_rx_desc, dev_info.rx_desc_lim.nb_max,\n", "prefixes": [ "v1" ] }{ "id": 107568, "url": "