netmap error (Unable to get if info for eth1)

From: Tahir Rauf <tahir.rauf1_at_gmail.com>
Date: Tue, 19 Feb 2013 10:51:48 +0500
Hi all,

I am giving netmap a try and have tested it on my Realtech and Intel 1G
NICs (by using r8169 and e1000e kernel modules), and it is working fine.

However, I am facing problem while running it on my intel 10G NIC (82598EB
10-Gigabit AF Dual Port Network Connection). Whenever, I run the pkt-gen
example with 10G interface, it shows me following error

=======================================================================
sudo ./pkt-gen -i eth1 -f tx -l 60
extract_ip_range [119] extract IP range from 10.0.0.1
extract_ip_range [129] 10.0.0.1 starts at 10.0.0.1
extract_ip_range [119] extract IP range from 10.1.0.1
extract_ip_range [129] 10.1.0.1 starts at 10.1.0.1
extract_mac_range [135] extract MAC range from 00:1b:21:ce:f3:6a
extract_mac_range [150] 00:1b:21:ce:f3:6a starts at 0:1b:21:ce:f3:6a
extract_mac_range [135] extract MAC range from ff:ff:ff:ff:ff:ff
extract_mac_range [150] ff:ff:ff:ff:ff:ff starts at ff:ff:ff:ff:ff:ff
main [1053] map size is 207712 Kb
main [1059] Unable to get if info for eth1
main [1066] bad nthreads 1, have 0 queues
main [1075] mmapping 207712 Kbytes
main [1094] Unable to register interface eth1
Sending on eth1: 0 queues, 1 threads and 1 cpus.
10.0.0.1 -> 10.1.0.1 (00:1b:21:ce:f3:6a -> ff:ff:ff:ff:ff:ff)
main [1128] Wait 2 secs for phy reset
main [1130] Ready...
main [1181] Unable to register eth1
main [1242] 0 pps
Sent 0 packets, 60 bytes each, in 0.00 seconds.
=======================================================================

Any idea that what's going wrong here?

Regards

Tahir Rauf
(+92) 312-7767761
--------------------------------------------------------------------------------------------------------------------------------------------------------------
This electronic message transmission contains information from the Company
that may be proprietary, confidential and/or privileged. The information is
intended only for the use of the individuals or entity named above. If you
are not the intended recipient, be aware that any disclosure, copying or
distribution or use of the contents of this information is prohibited. If
you have received this electronic transmission in error, please notify the
sender immediately by replying to this email.
Received on Tue Feb 19 2013 - 04:51:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:35 UTC