Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/52503/?format=api
http://patches.dpdk.org/api/patches/52503/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190409190630.31975-9-vivkong@ca.ibm.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": "<20190409190630.31975-9-vivkong@ca.ibm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190409190630.31975-9-vivkong@ca.ibm.com", "date": "2019-04-09T19:06:26", "name": "[RFC,08/12] hash: add support for s390x architecture", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "8372060bbae57f0d24bbc8fbbb8b37f51963324c", "submitter": { "id": 1273, "url": "http://patches.dpdk.org/api/people/1273/?format=api", "name": "Vivian Kong", "email": "vivkong@gmail.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/20190409190630.31975-9-vivkong@ca.ibm.com/mbox/", "series": [ { "id": 4211, "url": "http://patches.dpdk.org/api/series/4211/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4211", "date": "2019-04-09T19:06:18", "name": "introduce s390x architecture", "version": 1, "mbox": "http://patches.dpdk.org/series/4211/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/52503/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/52503/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id AB8075F1B;\n\tTue, 9 Apr 2019 21:07:02 +0200 (CEST)", "from mail-qt1-f193.google.com (mail-qt1-f193.google.com\n\t[209.85.160.193]) by dpdk.org (Postfix) with ESMTP id 50BF75689\n\tfor <dev@dpdk.org>; Tue, 9 Apr 2019 21:06:44 +0200 (CEST)", "by mail-qt1-f193.google.com with SMTP id p20so21142234qtc.9\n\tfor <dev@dpdk.org>; Tue, 09 Apr 2019 12:06:44 -0700 (PDT)", "from csz25116.canlab.ibm.com ([199.246.40.57])\n\tby smtp.gmail.com with ESMTPSA id\n\tq23sm17934789qkc.16.2019.04.09.12.06.42 for <dev@dpdk.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 09 Apr 2019 12:06:42 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:subject:date:message-id:in-reply-to:references:reply-to;\n\tbh=D1GLWxvrYQT9Y/1LIEQXZEP5rNp6P52u208lq3BvheA=;\n\tb=jOYxAeSpgiQS3Nn/vvrVNQ/rDu4soHxd/o1wqpzqWaYgysZjqwzDJX4ZYAC1rGJ2vF\n\tVadjcusr7q3BCqpzq6OGnxOsOL6J7CwO8XTKU7iXUSEyBtRG/lRJwUbe1wREmIBjuN4p\n\tZohxmBYLHSaeVl1gFF9m8E7DE81PYCyV2XF4zw1yIcvXdjTsvf3iuJYyd5XDlLmbLdG5\n\tqZtBgwF0HTVipzEF9Cpk2Qe3Snm593T7Igtxl6fLYP3Jv2y950/qXjASyIs8b92rTsL4\n\tLtkEmRt+Rb9s/92/VvHmP+9nL1wFDMnQHhzwRWXP43LFYQoHg7XwsFMZ72qsHEzMYxWE\n\txibQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references:reply-to;\n\tbh=D1GLWxvrYQT9Y/1LIEQXZEP5rNp6P52u208lq3BvheA=;\n\tb=MYK/7Npg8vqZmNUNhr4uKxyNzcAPrZ4AbqJUbnuwr/z/RUS824GScyUnl16NrA2uCj\n\tW+wK9UfcnWzXz7bsoHpWGat6jQYi+UjJhvESS8rPU2UoiNAggEn8N+BjBSwpN8s7Pf8f\n\tHS0u7loDAWQrLk+v8TSZGUWrwpSCQv5bIiCIhKMBSNRUfk/CDSTutWYyhwkF2U3AY9tr\n\t6y4fpJBEEJ0eTuZaJHOs0lxUbb3oV7/J8UMLXTmiEs0XGSdJst7M+vM85JcHVGnpWOQe\n\t9IRlId4qL6nu4NMyfWov7SIQeuL0ac0PpT8Wx0K2W+cZSwScs7oPpSsJP0bgo5eKeozU\n\tIVPA==", "X-Gm-Message-State": "APjAAAVQV4gYGat5kpeXfz5eGZaRnnl4zr60eOFygsHdl2aWU4+VMZoY\n\tosdDCXTNEs3tmYiFiiNgTn8G4H0ipQc=", "X-Google-Smtp-Source": "APXvYqyCOdiZJetBZuoxEWcfRhQwH+vYpmIzUuuJBhBz6pgUdskYCzv4Hr1HaHEM7fW9KFC9n77iuQ==", "X-Received": "by 2002:ac8:168c:: with SMTP id\n\tr12mr30606033qtj.300.1554836803423; \n\tTue, 09 Apr 2019 12:06:43 -0700 (PDT)", "From": "Vivian Kong <vivkong@gmail.com>", "X-Google-Original-From": "Vivian Kong <vivkong@ca.ibm.com>", "To": "dev@dpdk.org", "Date": "Tue, 9 Apr 2019 15:06:26 -0400", "Message-Id": "<20190409190630.31975-9-vivkong@ca.ibm.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20190409190630.31975-1-vivkong@ca.ibm.com>", "References": "<20190409190630.31975-1-vivkong@ca.ibm.com>", "Subject": "[dpdk-dev] [RFC 08/12] hash: add support for s390x architecture", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "Reply-To": "vivkong@ca.ibm.com", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add big endian support for s390x architecture.\n\nSigned-off-by: Vivian Kong <vivkong@ca.ibm.com>\n---\n lib/librte_hash/rte_fbk_hash.h | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/lib/librte_hash/rte_fbk_hash.h b/lib/librte_hash/rte_fbk_hash.h\nindex c4d6976d2..5e49950a7 100644\n--- a/lib/librte_hash/rte_fbk_hash.h\n+++ b/lib/librte_hash/rte_fbk_hash.h\n@@ -125,9 +125,16 @@ rte_fbk_hash_add_key_with_bucket(struct rte_fbk_hash_table *ht,\n \t * corrupted due to race conditions, but it's still possible to\n \t * overwrite entries that have just been made valid.\n \t */\n+\t#if RTE_BYTE_ORDER == RTE_LITTLE_ENDIAN\n \tconst uint64_t new_entry = ((uint64_t)(key) << 32) |\n \t\t\t((uint64_t)(value) << 16) |\n \t\t\t1; /* 1 = is_entry bit. */\n+\t#else\n+\tconst uint64_t new_entry =\n+\t\t\t((uint64_t)(1) << 48) | /* 1 = is_entry bit. */\n+\t\t\t((uint64_t)(value) << 32) |\n+\t\t\t(uint64_t)(key);\n+\t#endif\n \tuint32_t i;\n \n \tfor (i = 0; i < ht->entries_per_bucket; i++) {\n", "prefixes": [ "RFC", "08/12" ] }{ "id": 52503, "url": "