From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f66.google.com (mail-pl0-f66.google.com [209.85.160.66]) by dpdk.org (Postfix) with ESMTP id EC0791E371 for ; Mon, 11 Jun 2018 20:25:31 +0200 (CEST) Received: by mail-pl0-f66.google.com with SMTP id f1-v6so12810422plt.6 for ; Mon, 11 Jun 2018 11:25:31 -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; bh=HEEgltnVGcJDeN4IgUZhFCykCh/zgo37jrVrfF5oKTY=; b=VRRKTybt0oZgth55M/Ob5XsQKb6O5ulJE9txo32s48eZo7GfMS126wjDWPG59qLEQB w8+HOnxjrE4fqRwbvdLSpbKHDlnBTltLFZt41GpebKSB+nngryueG0DAGXO7JoDZobrT YN7PL1H6IFY5KcuFsDnHwiGa3s3nM1qda498WhXzsGSfhbYrKLIylIECaC5BqWqtPlVB 35cnTL1BRimeZg3nV2vPNsu4Scpio+jtn5FVj9Bjh0wgp2y0NsX7bRMm2JCv60HmBYX8 O6SyhcacwIjigNd4Ua8CzldFv7nfHnFQh5sAaGPg1qgg63at0QMlx+y766q8Pb2pz2W1 tRxg== 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; bh=HEEgltnVGcJDeN4IgUZhFCykCh/zgo37jrVrfF5oKTY=; b=BTo5zQiaKG44e802BN54abcg76e7nWuJrOqVZQafWM3C5lHv/t+4cPVYYkII5Wslti dDeuNi4fOmXZOWi7mGVivpssmRo7j9SWGMnn3TZZsA68jVAlzXXCrWP5krUwxXU40EDR gduxp7VolJTKilzDyGw+uB0oR+LpWERgDoDCK0R52GgxpOs3l2zmYUYAnDgfvgMOPrV+ TpP7nZwzX90P6Pu8WI6VQYVAh8EoWN7I5xMYpqszFPUFmAme675fDlr+9ttMIMbeCIdW rM8iBncznYArN8+EBPConADJfqWSuvHOscS9pT95QjNopsPXsiOHNUs5hW8jxW0cnic7 oKOQ== X-Gm-Message-State: APt69E0kE/c7gh5hoEe2rfEwmIfoI6fG8Om+XrC16yGDJOWMO43Jmd7Z TfTeMDaR2vlfdlprR1QSFFT2omDNAnE= X-Google-Smtp-Source: ADUXVKKtcUSuV4diNBx9UjCoLuIsh4Am4xX4NbVT+Lk86jl/Ylpb5y7V6dzRbu1h5pY/pTL6CFkbmg== X-Received: by 2002:a17:902:a508:: with SMTP id s8-v6mr265353plq.223.1528741530545; Mon, 11 Jun 2018 11:25:30 -0700 (PDT) Received: from xeon-e3.lan (204-195-35-107.wavecable.com. [204.195.35.107]) by smtp.gmail.com with ESMTPSA id g2-v6sm2982041pfc.4.2018.06.11.11.25.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jun 2018 11:25:29 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 11 Jun 2018 11:25:24 -0700 Message-Id: <20180611182526.32327-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v2 0/2] testpmd: allow configure of Tx IP parameters 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: , X-List-Received-Date: Mon, 11 Jun 2018 18:25:32 -0000 The testpmd application had hardcoded 192.168.0.1 port 1024 which is a problem when used in environments where IP address of network is different. For example, running testpmd on Azure where virtual networks are assigned by host infrastructure. Stephen Hemminger (2): testpmd: use RFC values for Tx address and port testpmd: add ability to set tx IP and UDP parameters app/test-pmd/parameters.c | 49 +++++++++++++++++++++++++++ app/test-pmd/testpmd.h | 6 ++++ app/test-pmd/txonly.c | 18 +++++----- doc/guides/testpmd_app_ug/run_app.rst | 9 +++++ 4 files changed, 74 insertions(+), 8 deletions(-) -- 2.17.1