I am also not able to run it in quick-txmode.
I would appreciate any help.
Thanks,

Pedro

** info

root@ronin02:~# tcpreplay -i eth0 -tK --loop 5 --quick-tx smallFlows.pcap

Fatal Error: failed to open device eth0: [quick_tx] error while opening 
device
Check that the QuickTX module is loaded and the interface name is correct

root@ronin02:~# lsmod | grep quick
quick_tx               59489  0

root@ronin02:~# ethtool -i eth0
driver: virtio_net_nm
version: 1.0.0
firmware-version:
bus-info: 0000:00:03.0
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
root@ronin02:~#

root@ronin02:~# ethtool -i eth0
driver: virtio_net_nm
version: 1.0.0
firmware-version:
bus-info: 0000:00:03.0
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
root@ronin02:~# tcpreplay -V
tcpreplay version: 4.1.0 (build git:v4.1.0)
Copyright 2013-2014 by Fred Klassen <tcpreplay at appneta dot com> - 
AppNeta Inc.
Copyright 2000-2012 by Aaron Turner <aturner at synfin dot net>
The entire Tcpreplay Suite is licensed under the GPLv3
Cache file supported: 04
Not compiled with libdnet.
Compiled against libpcap: 1.6.0-PRE-GIT_2015_07_28
64 bit packet counters: enabled
Verbose printing via tcpdump: enabled
Packet editing: disabled
Fragroute engine: disabled
Default injection method: PF_PACKET send()
Optional injection method: Quick TX
Optional injection method: netmap
root@ronin02:~#


On 30-07-2015 8:41 PM, Pedro Neves wrote:
> I found the problem.
> --with-netmap=/root/netmap-master/
> instead of
> --with-netmap=/root/netmap-master/LINUX
>
>
>
> root@ronin02:~/tcpreplay-4.1.0# tcpreplay -i eth0 -tK --loop 5 
> --netmap smallFlows.pcap
> Switching network driver for eth0 to netmap bypass mode... Warning: 
> ioctl error -1 35142:21
> failed!
>  Switching network driver for eth0 to normal mode...
> Fatal Error: failed to open device eth0: nm_do_ioctl: Operation not 
> supported
> root@ronin02:~/tcpreplay-4.1.0#
>
>
> Not sure what the problem is.
> Do you think is a netmap problem or a tcpreplay one ?
>
> Thanks,
>
> Pedro
>
>
>
>
> On 30-07-2015 7:57 PM, Pedro Neves wrote:
>> .......
>>
>> ** tcpreplay config
>> ./configure --enable-quick-tx 
>> --with-kernel=/mnt/data/kernel/linux-lts-utopic-3.16.0 
>> --with-netmap=/root/netmap-master/LINUX
>>
>


------------------------------------------------------------------------------
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to