Date: Mon, 18 Feb 2013 21:57:04 -0800 From: Luigi Rizzo <rizzo@iet.unipi.it> To: Tahir Rauf <tahir.rauf1@gmail.com> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: netmap error (Unable to get if info for eth1) Message-ID: <CA%2BhQ2%2BgdtRBYVCnBMTQxH9frWpmn07X14gdreuQbbhUXTodKsA@mail.gmail.com> In-Reply-To: <CAOx3-HKjHK4v7zBtw_XiE0PoSN2Bt1r5wBNhAdxRofGd78PWZg@mail.gmail.com> References: <CAOx3-HKjHK4v7zBtw_XiE0PoSN2Bt1r5wBNhAdxRofGd78PWZg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 18, 2013 at 9:51 PM, Tahir Rauf <tahir.rauf1@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@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) -----------------------------------------+-------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BhQ2%2BgdtRBYVCnBMTQxH9frWpmn07X14gdreuQbbhUXTodKsA>