Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/41236/?format=api
http://patches.dpdk.org/api/patches/41236/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180618213557.15209-3-stephen@networkplumber.org/", "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": "<20180618213557.15209-3-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20180618213557.15209-3-stephen@networkplumber.org", "date": "2018-06-18T21:35:56", "name": "[v3,2/3] examples/l3fwd: use reserved IPv4/IPv6 addresses", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "e8afe6cff6abd16f593025ae8ed739d7068d4939", "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "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/20180618213557.15209-3-stephen@networkplumber.org/mbox/", "series": [ { "id": 157, "url": "http://patches.dpdk.org/api/series/157/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=157", "date": "2018-06-18T21:35:54", "name": "use RFC addresses for testing", "version": 3, "mbox": "http://patches.dpdk.org/series/157/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/41236/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/41236/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 6FF23378E;\n\tMon, 18 Jun 2018 23:36:06 +0200 (CEST)", "from mail-pf0-f196.google.com (mail-pf0-f196.google.com\n\t[209.85.192.196]) by dpdk.org (Postfix) with ESMTP id 907E93195\n\tfor <dev@dpdk.org>; Mon, 18 Jun 2018 23:36:03 +0200 (CEST)", "by mail-pf0-f196.google.com with SMTP id z24-v6so8816012pfe.7\n\tfor <dev@dpdk.org>; Mon, 18 Jun 2018 14:36:03 -0700 (PDT)", "from xeon-e3.lan (204-195-35-107.wavecable.com. [204.195.35.107])\n\tby smtp.gmail.com with ESMTPSA id\n\tn70-v6sm34246969pfh.140.2018.06.18.14.36.00\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 18 Jun 2018 14:36:01 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=sqy0tZXrPh0RsZiVNskwIYihTDxgsS7NQctgkjqrIx4=;\n\tb=wJVy32CL1MJaZneGlSqq05Sheo4iJceCOV4U5BLH3asxjxw/DIksDp15WB70NahcZQ\n\t46igB/nXwRPOLq0b0lUgredCMUkR1/bIKu5NU/DLi2ah2P7Yo0zoPPdnAVvLjSSdc7hk\n\tbaaCzoORrWVvcIjt7/QOPFHtT5tv6KdAQnoLkZeQ8L21it74wYLR3OM7+/WzADiWannp\n\t4OrL9eVhhQUdBPAN0mstjyh3PqJx8WhKTa8lmDvHqc+C4dz+wmNMYqmFCLTjoBO504jo\n\tbGfo8UI2f05TR1dazRs+rE+OdzRfb08iX50Ekv1v/A31yXpcfYyJXyF+n+VZXYsR6AGy\n\tpGcA==", "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:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=sqy0tZXrPh0RsZiVNskwIYihTDxgsS7NQctgkjqrIx4=;\n\tb=nn7qcTw8BO7biEi9L3whWlJ8yRutraJ/ZHKOQO70QI1pp9jF41ahC5utlddeV4cb7u\n\tAMYTQ7fTl7smzuUFRASkCSQbbXHckzVnc0AS34BoRxQ0zQ1hHwnv4sZ7PDj/F+OdzkpP\n\toxFHzgCBgjVkj44FkPDwFfAa9FJRG6QTaoS+xBWvEhdF9nfedDv9iKK8v+nPQspHQXlG\n\tvVIROLqt+oAQVkMRPBlfzYhYEwjfwDndExgLzMI1qwafQZL5UoTgF/nQA5QvKSIMpKSG\n\tlb3Q+u+04jEgd472pW8JQhp1udr3J0oK3+Drrb22eAngEKF37hIO7KE695kwoT1hX3t4\n\tz06A==", "X-Gm-Message-State": "APt69E1he0evtYDyHedRzb76HB2x7VZz0Q/kfRQkaaZLnojElFJ6We67\n\tnr9brYNe57E0gDABi7dk8G3st93WC+o=", "X-Google-Smtp-Source": "ADUXVKIMq9DfBhS+fYd3HkmIY/66v2FPdhurHSX5Gx/76qcnCEALKo2Xqr++r7Jc4izN8l7n42difQ==", "X-Received": "by 2002:a62:f615:: with SMTP id\n\tx21-v6mr15151648pfh.43.1529357762239; \n\tMon, 18 Jun 2018 14:36:02 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>", "Date": "Mon, 18 Jun 2018 14:35:56 -0700", "Message-Id": "<20180618213557.15209-3-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20180618213557.15209-1-stephen@networkplumber.org>", "References": "<20180618213557.15209-1-stephen@networkplumber.org>", "Subject": "[dpdk-dev] [PATCH v3 2/3] examples/l3fwd: use reserved IPv4/IPv6\n\taddresses", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "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": "The example should use the IPv4 addresses defined in RFC5735 and\nthe IPv6 addresses defined in RFC5180 for the L3 forwarding example\nLongest Prefix Match table.\n\nFixes: 268888b5b020 (\"examples/l3fwd: modularize\")\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n examples/l3fwd/l3fwd_lpm.c | 34 ++++++++++++++++++----------------\n 1 file changed, 18 insertions(+), 16 deletions(-)", "diff": "diff --git a/examples/l3fwd/l3fwd_lpm.c b/examples/l3fwd/l3fwd_lpm.c\nindex a747126a2404..3724f79c1924 100644\n--- a/examples/l3fwd/l3fwd_lpm.c\n+++ b/examples/l3fwd/l3fwd_lpm.c\n@@ -40,26 +40,28 @@ struct ipv6_l3fwd_lpm_route {\n \tuint8_t if_out;\n };\n \n+/* 192.18.0.0/16 are set aside for RFC2544 benchmarking. */\n static struct ipv4_l3fwd_lpm_route ipv4_l3fwd_lpm_route_array[] = {\n-\t{IPv4(1, 1, 1, 0), 24, 0},\n-\t{IPv4(2, 1, 1, 0), 24, 1},\n-\t{IPv4(3, 1, 1, 0), 24, 2},\n-\t{IPv4(4, 1, 1, 0), 24, 3},\n-\t{IPv4(5, 1, 1, 0), 24, 4},\n-\t{IPv4(6, 1, 1, 0), 24, 5},\n-\t{IPv4(7, 1, 1, 0), 24, 6},\n-\t{IPv4(8, 1, 1, 0), 24, 7},\n+\t{IPv4(192, 18, 0, 0), 24, 0},\n+\t{IPv4(192, 18, 1, 0), 24, 1},\n+\t{IPv4(192, 18, 2, 0), 24, 2},\n+\t{IPv4(192, 18, 3, 0), 24, 3},\n+\t{IPv4(192, 18, 4, 0), 24, 4},\n+\t{IPv4(192, 18, 5, 0), 24, 5},\n+\t{IPv4(192, 18, 6, 0), 24, 6},\n+\t{IPv4(192, 18, 7, 0), 24, 7},\n };\n \n+/* 2001:0200::/48 is IANA reserved address range for IPv6 benchmarking (RFC5180) */\n static struct ipv6_l3fwd_lpm_route ipv6_l3fwd_lpm_route_array[] = {\n-\t{{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, 48, 0},\n-\t{{2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, 48, 1},\n-\t{{3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, 48, 2},\n-\t{{4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, 48, 3},\n-\t{{5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, 48, 4},\n-\t{{6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, 48, 5},\n-\t{{7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, 48, 6},\n-\t{{8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, 48, 7},\n+\t{{32, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 64, 0},\n+\t{{32, 1, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, 64, 0},\n+\t{{32, 1, 2, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0}, 64, 0},\n+\t{{32, 1, 2, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0}, 64, 0},\n+\t{{32, 1, 2, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0}, 64, 0},\n+\t{{32, 1, 2, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0}, 64, 0},\n+\t{{32, 1, 2, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0}, 64, 0},\n+\t{{32, 1, 2, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0}, 48, 0},\n };\n \n #define IPV4_L3FWD_LPM_NUM_ROUTES \\\n", "prefixes": [ "v3", "2/3" ] }{ "id": 41236, "url": "