Hi Stephen, > -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Monday, June 11, 2018 7:25 PM > To: dev@dpdk.org > Cc: Stephen Hemminger <step...@networkplumber.org>; Stephen > Hemminger <sthem...@microsoft.com> > Subject: [dpdk-dev] [PATCH v2 1/2] testpmd: use RFC values for Tx address > and port > > Change the IP address and UDP port used for testpmd Tx only test. The old > values overlap common NAT local networks; instead use reserved addresses > in IETF RFC 2544.
The commit message should probably refer to RFC 863 too. > > Signed-off-by: Stephen Hemminger <sthem...@microsoft.com> > --- > app/test-pmd/txonly.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/app/test-pmd/txonly.c b/app/test-pmd/txonly.c index > 1f08b6ed37a2..a24000e3af44 100644 > --- a/app/test-pmd/txonly.c > +++ b/app/test-pmd/txonly.c > @@ -40,11 +40,13 @@ > > #include "testpmd.h" > > -#define UDP_SRC_PORT 1024 > -#define UDP_DST_PORT 1024 > +/* RFC863 discard port */ > +#define UDP_SRC_PORT 9 > +#define UDP_DST_PORT 9 > > -#define IP_SRC_ADDR ((192U << 24) | (168 << 16) | (0 << 8) | 1) -#define > IP_DST_ADDR ((192U << 24) | (168 << 16) | (0 << 8) | 2) > +/* RFC2544 reserved test subnet 192.18.0.0 */ #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.17.1 dpdk/devtools/check-git-log.sh is showing the following error Wrong headline label: testpmd: use RFC values for Tx address and port It should be app/testpmd Regards, Bernard.