From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [RFC] testpmd: use RFC2544 reserved IP addresses Date: Tue, 20 Mar 2018 20:44:36 -0700 Message-ID: <20180321034436.4089-1-stephen@networkplumber.org> Cc: Stephen Hemminger To: dev@dpdk.org 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 322D35F25 for ; Wed, 21 Mar 2018 04:44:54 +0100 (CET) Received: by mail-pl0-f66.google.com with SMTP id k22-v6so2374100pls.6 for ; Tue, 20 Mar 2018 20:44:54 -0700 (PDT) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Change the transmit only side of testpmd to use the IP addresses that are marked as reserved for benchmarking by RFC2544 192.18.0.0/27; rather than the commonly used subnet 192.168.0.0/24 which is likely to used for administrative interface. Signed-off-by: Stephen Hemminger --- app/test-pmd/txonly.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/txonly.c b/app/test-pmd/txonly.c index 1f08b6ed37a2..22785bdcbe44 100644 --- a/app/test-pmd/txonly.c +++ b/app/test-pmd/txonly.c @@ -43,8 +43,9 @@ #define UDP_SRC_PORT 1024 #define UDP_DST_PORT 1024 -#define IP_SRC_ADDR ((192U << 24) | (168 << 16) | (0 << 8) | 1) -#define IP_DST_ADDR ((192U << 24) | (168 << 16) | (0 << 8) | 2) +/* RFC 2544 reserved IP addresses for benchmarking */ +#define IP_SRC_ADDR ((192U << 24) | (18 << 16) | (0 << 8) | 1) +#define IP_DST_ADDR ((192U << 24) | (18 << 16) | (0 << 8) | 2) #define IP_DEFTTL 64 /* from RFC 1340. */ #define IP_VERSION 0x40 -- 2.16.2