* [dpdk-users] pktgen-dpdk runts when start size is 64 @ 2018-11-08 2:12 Bichan.Lu 2018-11-08 13:48 ` Wiles, Keith 0 siblings, 1 reply; 3+ messages in thread From: Bichan.Lu @ 2018-11-08 2:12 UTC (permalink / raw) To: 'users@dpdk.org' Hi, OS: CentOS 7.5.1804 Pktgen version: pktgen-3.5.8 DPDK verison: dpdk-18.08 I use the pktgen in follows command. When I start pktgen, default PktSize is 64, in the command I sad: ./pktgen -l 0-4 -n 3 -- -P -m "[1:3].0,[2:4].1" Pktgen:/> start all Link State : <UP-1000-FD> <UP-1000-FD> ----TotalRate---- 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 2002/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 >..... 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 I guess it may related about range, could help to check? Thanks. Best regards, Bichan.Lu ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] pktgen-dpdk runts when start size is 64 2018-11-08 2:12 [dpdk-users] pktgen-dpdk runts when start size is 64 Bichan.Lu @ 2018-11-08 13:48 ` Wiles, Keith 2018-11-12 10:02 ` Bichan.Lu 0 siblings, 1 reply; 3+ messages in thread From: Wiles, Keith @ 2018-11-08 13:48 UTC (permalink / raw) To: Bichan.Lu; +Cc: users > On Nov 8, 2018, at 2:12 AM, Bichan.Lu <Bichan.Lu@advantech.com.tw> wrote: > > Hi, > > OS: CentOS 7.5.1804 > Pktgen version: pktgen-3.5.8 > DPDK verison: dpdk-18.08 > > I use the pktgen in follows command. When I start pktgen, default PktSize is 64, in the command I sad: > > ./pktgen -l 0-4 -n 3 -- -P -m "[1:3].0,[2:4].1" > Pktgen:/> start all > > Link State : <UP-1000-FD> <UP-1000-FD> ----TotalRate---- > 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 2002/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 >..... > > 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 > 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 that feature? > I guess it may related about range, could help to check? > Thanks. > > Best regards, > Bichan.Lu Regards, Keith ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] pktgen-dpdk runts when start size is 64 2018-11-08 13:48 ` Wiles, Keith @ 2018-11-12 10:02 ` Bichan.Lu 0 siblings, 0 replies; 3+ messages in thread From: Bichan.Lu @ 2018-11-12 10:02 UTC (permalink / raw) To: Wiles, Keith; +Cc: users Hi, I try to add --crc-strip parameter in pktgen , and will work success now. Follow is command and result: By the way, it seems there is no conditional expressions to check whether support crc-strip or not, when set pktgen size? Will you add after? Because --crc-strip only check Pkts receive, it seems mismatch. ./pktgen -l 0-4 -n 3 -- -P --crc-strip -m "[1:3].0,[2:4].1" Pktgen:/> start all \ Ports 0-1 of 2 <Main Page> Copyright (c) <2010-2018>, Intel Corporation Flags:Port : P--------------:0 P--------------:1 Link State : <UP-1000-FD> <UP-1000-FD> ----TotalRate---- Pkts/s Max/Rx : 1487850/1487850 1491605/1491605 2979455/2979455 Max/Tx : 1491605/1491605 1487850/1487850 2979455/2979455 MBits/s Rx/Tx : 999/1002 1002/999 2002/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] 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 <Bichan.Lu@advantech.com.tw> wrote: > > Hi, > > OS: CentOS 7.5.1804 > Pktgen version: pktgen-3.5.8 > DPDK verison: dpdk-18.08 > > I use the pktgen in follows command. When I start pktgen, default PktSize is 64, in the command I sad: > > ./pktgen -l 0-4 -n 3 -- -P -m "[1:3].0,[2:4].1" > Pktgen:/> start all > > Link State : <UP-1000-FD> <UP-1000-FD> ----TotalRate---- > 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 2002/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 >..... > > 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 > 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 that feature? > I guess it may related about range, could help to check? > Thanks. > > Best regards, > Bichan.Lu Regards, Keith ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-12 10:02 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-11-08 2:12 [dpdk-users] pktgen-dpdk runts when start size is 64 Bichan.Lu 2018-11-08 13:48 ` Wiles, Keith 2018-11-12 10:02 ` Bichan.Lu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).