netmap error (Unable to get if info for eth1)

Luigi Rizzo rizzo at iet.unipi.it
Tue Feb 19 05:57:06 UTC 2013


On Mon, Feb 18, 2013 at 9:51 PM, Tahir Rauf <tahir.rauf1 at gmail.com> wrote:

> 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
>
>
likely you are running an unpatched version of the ixgbe driver.
Does dmesg say anything about netmap when loading the ixgbe driver ?
(also which version of the code are you using ? it seems you
are running linux...)

cheers
luigi

=======================================================================
> 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.
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>



-- 
-----------------------------------------+-------------------------------
 Prof. Luigi RIZZO, rizzo at iet.unipi.it  . Dip. di Ing. dell'Informazione
 http://www.iet.unipi.it/~luigi/        . Universita` di Pisa
 TEL      +39-050-2211611               . via Diotisalvi 2
 Mobile   +39-338-6809875               . 56122 PISA (Italy)
-----------------------------------------+-------------------------------


More information about the freebsd-current mailing list