Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/107798/?format=api
http://patches.dpdk.org/api/patches/107798/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220218093650.2549927-5-megha.ajmera@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": "<20220218093650.2549927-5-megha.ajmera@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220218093650.2549927-5-megha.ajmera@intel.com", "date": "2022-02-18T09:36:50", "name": "[v2,4/4] sched: Removed code defined under VECTOR Defines.", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "2f6345362e7b5134ce339d320f4733ae53b30d4f", "submitter": { "id": 2494, "url": "http://patches.dpdk.org/api/people/2494/?format=api", "name": "Ajmera, Megha", "email": "megha.ajmera@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/20220218093650.2549927-5-megha.ajmera@intel.com/mbox/", "series": [ { "id": 21729, "url": "http://patches.dpdk.org/api/series/21729/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21729", "date": "2022-02-18T09:36:46", "name": "sched: HQoS Library cleanup", "version": 2, "mbox": "http://patches.dpdk.org/series/21729/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/107798/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/107798/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 AAED9A0032;\n\tFri, 18 Feb 2022 10:37:25 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8C2D14115B;\n\tFri, 18 Feb 2022 10:37:09 +0100 (CET)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id BB2294115B\n for <dev@dpdk.org>; Fri, 18 Feb 2022 10:37:07 +0100 (CET)", "from orsmga003.jf.intel.com ([10.7.209.27])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Feb 2022 01:37:07 -0800", "from silpixa00397515.ir.intel.com (HELO\n silpixa00397515.ger.corp.intel.com) ([10.237.222.51])\n by orsmga003.jf.intel.com with ESMTP; 18 Feb 2022 01:37:06 -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=1645177027; x=1676713027;\n h=from:to:subject:date:message-id:in-reply-to:references:\n mime-version:content-transfer-encoding;\n bh=HAjMBaT22ZVaq2xf+f/IoOxJsarSpLmHiwGd7ohLQ3o=;\n b=d3x6NVsffU8q7bo4q/YX9ay7XEL35C0AMkKKaDwgsICixBsyXXcPYZxq\n xa7gvVJA+QHzH4ualR2l/ErYDn1fE7/NVtZjbDtT+0iyJDy5ZGE1VFB9E\n hBFYOsvnfXI8Qvquin4DZUdvwnDxq0YoD1WSX8NKwj63qZ8WJtegslfgv\n d5swRIGg6fFZbhkkDlYpZ9OpT75sb2URP/kWPr/0AH9I/00W/pXnTe8v+\n p9dxgoHxWT8oRcmlSqfciB0S13y3LzJV4rWI/XXIgXfUNfFaXDUckwoft\n jk8Oi9GC6DQNUsfgoAz32nlWAjFs9STPBNSda3YTcZ+deKPOwRPfPHgr1 Q==;", "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10261\"; a=\"250849519\"", "E=Sophos;i=\"5.88,378,1635231600\"; d=\"scan'208\";a=\"250849519\"", "E=Sophos;i=\"5.88,378,1635231600\"; d=\"scan'208\";a=\"489318664\"" ], "X-ExtLoop1": "1", "From": "Megha Ajmera <megha.ajmera@intel.com>", "To": "dev@dpdk.org, jasvinder.singh@intel.com, cristian.dumitrescu@intel.com,\n thomas@monjalon.net, david.marchand@redhat.com", "Subject": "[PATCH v2 4/4] sched: Removed code defined under VECTOR Defines.", "Date": "Fri, 18 Feb 2022 09:36:50 +0000", "Message-Id": "<20220218093650.2549927-5-megha.ajmera@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20220218093650.2549927-1-megha.ajmera@intel.com>", "References": "<20220218093650.2549927-1-megha.ajmera@intel.com>", "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": "Removed \"RTE_SCHED_VECTOR\" flag from HQoS.\n\nSigned-off-by: Megha Ajmera <megha.ajmera@intel.com>\n---\n lib/sched/rte_sched.c | 53 -------------------------------------------\n 1 file changed, 53 deletions(-)", "diff": "diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c\nindex 807134b48d..8ad5ca7e05 100644\n--- a/lib/sched/rte_sched.c\n+++ b/lib/sched/rte_sched.c\n@@ -24,16 +24,6 @@\n #pragma warning(disable:2259) /* conversion may lose significant bits */\n #endif\n \n-#ifdef RTE_SCHED_VECTOR\n-#include <rte_vect.h>\n-\n-#ifdef RTE_ARCH_X86\n-#define SCHED_VECTOR_SSE4\n-#elif defined(__ARM_NEON)\n-#define SCHED_VECTOR_NEON\n-#endif\n-\n-#endif\n \n #ifndef RTE_SCHED_PORT_N_GRINDERS\n #define RTE_SCHED_PORT_N_GRINDERS 8\n@@ -2446,47 +2436,6 @@ grinder_schedule(struct rte_sched_port *port,\n \treturn 1;\n }\n \n-#ifdef SCHED_VECTOR_SSE4\n-\n-static inline int\n-grinder_pipe_exists(struct rte_sched_subport *subport, uint32_t base_pipe)\n-{\n-\t__m128i index = _mm_set1_epi32(base_pipe);\n-\t__m128i pipes = _mm_load_si128((__m128i *)subport->grinder_base_bmp_pos);\n-\t__m128i res = _mm_cmpeq_epi32(pipes, index);\n-\n-\tpipes = _mm_load_si128((__m128i *)(subport->grinder_base_bmp_pos + 4));\n-\tpipes = _mm_cmpeq_epi32(pipes, index);\n-\tres = _mm_or_si128(res, pipes);\n-\n-\tif (_mm_testz_si128(res, res))\n-\t\treturn 0;\n-\n-\treturn 1;\n-}\n-\n-#elif defined(SCHED_VECTOR_NEON)\n-\n-static inline int\n-grinder_pipe_exists(struct rte_sched_subport *subport, uint32_t base_pipe)\n-{\n-\tuint32x4_t index, pipes;\n-\tuint32_t *pos = (uint32_t *)subport->grinder_base_bmp_pos;\n-\n-\tindex = vmovq_n_u32(base_pipe);\n-\tpipes = vld1q_u32(pos);\n-\tif (!vminvq_u32(veorq_u32(pipes, index)))\n-\t\treturn 1;\n-\n-\tpipes = vld1q_u32(pos + 4);\n-\tif (!vminvq_u32(veorq_u32(pipes, index)))\n-\t\treturn 1;\n-\n-\treturn 0;\n-}\n-\n-#else\n-\n static inline int\n grinder_pipe_exists(struct rte_sched_subport *subport, uint32_t base_pipe)\n {\n@@ -2500,8 +2449,6 @@ grinder_pipe_exists(struct rte_sched_subport *subport, uint32_t base_pipe)\n \treturn 0;\n }\n \n-#endif /* RTE_SCHED_OPTIMIZATIONS */\n-\n static inline void\n grinder_pcache_populate(struct rte_sched_subport *subport,\n \tuint32_t pos, uint32_t bmp_pos, uint64_t bmp_slab)\n", "prefixes": [ "v2", "4/4" ] }{ "id": 107798, "url": "