From patchwork Wed Apr 10 17:41:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 52615 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1D73E1B276; Wed, 10 Apr 2019 19:41:38 +0200 (CEST) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id B97BD1B184 for ; Wed, 10 Apr 2019 19:41:36 +0200 (CEST) Received: by mail-pf1-f193.google.com with SMTP id h5so1925604pfo.0 for ; Wed, 10 Apr 2019 10:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=szWyg21gTDo6URt4ZOTkSTaj5s/eQsSTcuC2a1VeaRU=; b=jAEwu4rnzoYZn8/TiKnhVnYMHYP8jBStL55YWOXJMgUo5E51lQ41ch0cT1iof0y5i7 OHdaYyfDUsIwSKjKvxgDxgyc4M/+TOqxsCGF5dhDe0Z+6xvuUXRjhgJrpkWQMU0W7Sc1 5Zvq676OarPDE4i0S204wFgS6qmwQLOk6oxMHc+OmE8UFi3nYHu/8AyWIm9RyjeOKlyg SP3yo5ToTTUJAcCxbgOcs/mldLWss+t5trB86hV9mpNFaoH/mGGKP4EQkewcDmr8LXW9 k0KeqLH+mRnyQ55W2GcWBFqxr3CwQGsoRzBDwVutd4YpokzGvSFiE9r/9X+P3rWA0Z/7 IdUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=szWyg21gTDo6URt4ZOTkSTaj5s/eQsSTcuC2a1VeaRU=; b=AEzxBqcaeMLOgpLGpWfrbwRhphLFxlHKKmrkoyDwUp2qkvNBbbLQk1cvPDbq2aJ6h9 DPiBgZNbeJ2HUTYlznaHUdf3FgdBEcmPg2geZ2m8/Cf/xjkUE21mIpALedmiaftuqlfD 1z0Igrv6Ee+xZdd10GJ2cCb78EKFb9XGlVN+flk1MUpcHt+itSJG4T62qAvWjLMrloSa /nBmVnCTzbxNHPVB5jRwDTWiEqWIaqziSvvnjvaWDkY6GjkuxU1ZK8UTIjUeFDzqCcHP 7qzRVNxjG3aRUm5a+zXtiS1rCx9k0VTJ9cz9CbJxuyX/G7tkWRc1H0XQSKxEe8qJiYOk 5koQ== X-Gm-Message-State: APjAAAWBfW+aOgiGcBLV2rNNIUwAG0T+H/52p1KWHZgVPl3bcXnKldul ZBBcihfVwdMWMZ0QjhzLq8c56cjhTFZNnA== X-Google-Smtp-Source: APXvYqytS/US/hXWULeejfHu8GNpaT3i4GOwwiWnm1VKPRwk5tnhYEdEjCg/W9cVlel+jVU+ZTTLcg== X-Received: by 2002:a65:4689:: with SMTP id h9mr43016586pgr.295.1554918094999; Wed, 10 Apr 2019 10:41:34 -0700 (PDT) Received: from shemminger-XPS-13-9360.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id l69sm50229696pga.73.2019.04.10.10.41.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 10:41:33 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 10 Apr 2019 10:41:29 -0700 Message-Id: <20190410174132.8349-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190409182006.12944-1-stephen@networkplumber.org> References: <20190409182006.12944-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH v6 0/3] use IPv4 addresses reserved for testing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" These patches get rid of the custom addresses used in testpmd and l3fwd, and instead uses values that are reserved for testing in the relevant RFC 2544. This version fixes some formatting and long lines. Stephen Hemminger (3): app/testpmd: add ability to set Tx IP and UDP parameters examples/l3fwd: use reserved IPv4/IPv6 addresses examples/l3fwd: format the IP addresses for printing app/test-pmd/parameters.c | 53 +++++++++++++++++++++++++++ app/test-pmd/testpmd.h | 6 +++ app/test-pmd/txonly.c | 20 +++++----- doc/guides/testpmd_app_ug/run_app.rst | 14 ++++++- examples/l3fwd/l3fwd_lpm.c | 49 ++++++++++++++----------- 5 files changed, 111 insertions(+), 31 deletions(-)