From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ACLMS1.advantech.com.tw (aclms1.advantech.com.tw [61.58.41.199]) by dpdk.org (Postfix) with ESMTP id 2409891 for ; Mon, 12 Nov 2018 11:02:32 +0100 (CET) Received: from taipei08.ADVANTECH.CORP (unverified [172.20.0.235]) by ACLMS1.advantech.com.tw (Clearswift SMTPRS 5.6.0) with ESMTP id ; Mon, 12 Nov 2018 18:02:30 +0800 From: Bichan.Lu To: "Wiles, Keith" CC: "users@dpdk.org" Thread-Topic: [dpdk-users] pktgen-dpdk runts when start size is 64 Thread-Index: AdR3AfnjE1K8fPZCRpuEcxvzqoEu2AAqtbMAAK1OXCA= Date: Mon, 12 Nov 2018 10:02:29 +0000 Message-ID: References: <5825f8fd096d486eb8bce95502704f30@ACLDAG.ADVANTECH.CORP> <71F32FA1-4932-4EF2-9DE9-D81978612921@intel.com> In-Reply-To: <71F32FA1-4932-4EF2-9DE9-D81978612921@intel.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.17.16.216] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-StopIT: No X-Mailman-Approved-At: Mon, 12 Nov 2018 22:46:13 +0100 Subject: Re: [dpdk-users] pktgen-dpdk runts when start size is 64 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 10:02:35 -0000 Hi,=20 I try to add --crc-strip parameter in pktgen , and will work success now. F= ollow is command and result: By the way, it seems there is no conditional expressions to check whether s= upport crc-strip or not, when set pktgen size? Will you add after? Because --crc-strip only check Pkts receive, it seems m= ismatch. ./pktgen -l 0-4 -n 3 -- -P --crc-strip -m "[1:3].0,[2:4].1" Pktgen:/> start all \ Ports 0-1 of 2
Copyright (c) <2010-2018>, Intel Corporatio= n Flags:Port : P--------------:0 P--------------:1 Link State : ----TotalRa= te---- Pkts/s Max/Rx : 1487850/1487850 1491605/1491605 2979455/2= 979455 Max/Tx : 1491605/1491605 1487850/1487850 2979455/2= 979455 MBits/s Rx/Tx : 999/1002 1002/999 200= 2/2002 Broadcast : 0 0 Multicast : 0 0 64 Bytes : 3117320 3126509 65-127 : 0 0 128-255 : 0 0 256-511 : 0 0 512-1023 : 0 0 1024-1518 : 0 0 Runts/Jumbos : 0/0 0/0 Errors Rx/Tx : 0/0 0/0 ......< shown parts of pktgen >..... Best regards, Bichan.Lu -----Original Message----- From: Wiles, Keith [mailto:keith.wiles@intel.com]=20 Sent: Thursday, November 08, 2018 9:49 PM To: Bichan.Lu Cc: users@dpdk.org Subject: Re: [dpdk-users] pktgen-dpdk runts when start size is 64 > On Nov 8, 2018, at 2:12 AM, Bichan.Lu wrote: >=20 > Hi, >=20 > OS: CentOS 7.5.1804 > Pktgen version: pktgen-3.5.8 > DPDK verison: dpdk-18.08 >=20 > I use the pktgen in follows command. When I start pktgen, default PktSize= is 64, in the command I sad: >=20 > ./pktgen -l 0-4 -n 3 -- -P -m "[1:3].0,[2:4].1" > Pktgen:/> start all >=20 > Link State : ----Total= Rate---- > Pkts/s Max/Rx : 1487853/1487844 1491609/1491602 2979462= /2979446 > Max/Tx : 1491607/1491606 1487855/1487841 2979459/= 2979447 > MBits/s Rx/Tx : 999/1002 1002/999 2= 002/2002 > Broadcast : 0 0 > Multicast : 0 0 > 64 Bytes : 0 0 > 65-127 : 0 0 > 128-255 : 0 0 > 256-511 : 0 0 > 512-1023 : 0 0 > 1024-1518 : 0 0 > Runts/Jumbos : 8889515/0 8913610/0 > Errors Rx/Tx : 0/0 0/0 > ......< shown parts of pktgen >..... >=20 > Then will be get Runts. > I tried when size is 68, range will be in [64 Bytes], and no runts. > Pktgen:/> set 0 size 68 > Pktgen:/> set 1 size 68 > Pktgen:/> start all >=20 What is the hardware NIC as most of the hardware appends the FCS? Pktgen expects the NIC to append the FCS and there is a flag to disable tha= t feature? > I guess it may related about range, could help to check? > Thanks. >=20 > Best regards, > Bichan.Lu Regards, Keith