From owner-freebsd-current@FreeBSD.ORG Tue Feb 19 05:57:06 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B1CB3D74 for ; Tue, 19 Feb 2013 05:57:06 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id 2ABC7DFF for ; Tue, 19 Feb 2013 05:57:05 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id ec20so6247182lab.9 for ; Mon, 18 Feb 2013 21:57:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=4cw5ylxZGf534+RxoSbUWCY/r2lpJppCR/C5dMa32MQ=; b=J9HldM+P/ASf0JPV0wRcxMG5H6Hp9WHrO+r6mOWT1nDJOYFqwzvrQRFSMB7EYy+2u8 djgZGtisxXQIWdqYvTsYAEjBvWZw88Jr4m7w1l2ftuJCjjHerPecBRLBxBpksSOwPzRo eZc9CZ96Ay2lYjFc9MmDjPs9tG7wCJ+bj0mQljz1Z6S6ybtv3KWupa06y6Ij0aE/P4VW SC3OCO9aWxqyhWr1EEhPC3DMN+CVcs37J4y+ROJmB3aPDo1gptQocvZp28Jp3pxq0YYZ RQz8XR1RdiBn0rSTqZrmyLubFK88gqGGEsJ9A5d0aYQTrrP5A5nZqnr07AGlN79B0cIq Avag== MIME-Version: 1.0 X-Received: by 10.112.101.34 with SMTP id fd2mr6595440lbb.100.1361253424913; Mon, 18 Feb 2013 21:57:04 -0800 (PST) Sender: rizzo.unipi@gmail.com Received: by 10.114.3.36 with HTTP; Mon, 18 Feb 2013 21:57:04 -0800 (PST) In-Reply-To: References: Date: Mon, 18 Feb 2013 21:57:04 -0800 X-Google-Sender-Auth: tp1zX6RugfrXW-DREduW76rO34g Message-ID: Subject: Re: netmap error (Unable to get if info for eth1) From: Luigi Rizzo To: Tahir Rauf Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2013 05:57:06 -0000 On Mon, Feb 18, 2013 at 9:51 PM, Tahir Rauf 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) -----------------------------------------+-------------------------------