From owner-freebsd-current@FreeBSD.ORG Tue Feb 19 05:51:56 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 0113CBBD for ; Tue, 19 Feb 2013 05:51:55 +0000 (UTC) (envelope-from tahir.rauf1@gmail.com) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx1.freebsd.org (Postfix) with ESMTP id BD118DB9 for ; Tue, 19 Feb 2013 05:51:55 +0000 (UTC) Received: by mail-ve0-f175.google.com with SMTP id cy12so5469740veb.6 for ; Mon, 18 Feb 2013 21:51:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=DBV/jColqj7jvBWzFaao9Kwy83gLLIQkS17VkZpcwWs=; b=B5dBS0QUxy88empiuuzoJ4+4yls1NBZtV3LQPV3tQ3sWn95BCqDWIKeJsCU+Dfe/bq M6iqrA7RJi8Ohr2ptL8ajOVuhGLsFOZ/grizUb4hXp0iTmEcTm5a9IDQUqKpurFjTatr FJ2DTSapxB/uPOcKrMcNoKtURHY0s7M7FGensQlOvUBVGTHUTc0cX2R9BUrP97QmPnuj Qk7jOOaDCPMvIBerAGIL3rbWvMmiN7SCMjv8XvjSSU+9bLuXIZJbfmyaqRFpgiNMt/mS woHH2zZYj0JpcUPDU7lLq4bpSw1lC+seY7zYGDbPlmdRZEtaKi8ZwY8GSH1qI02bVPIo 9yHw== MIME-Version: 1.0 X-Received: by 10.58.239.38 with SMTP id vp6mr19749952vec.13.1361253108952; Mon, 18 Feb 2013 21:51:48 -0800 (PST) Received: by 10.58.155.97 with HTTP; Mon, 18 Feb 2013 21:51:48 -0800 (PST) Date: Tue, 19 Feb 2013 10:51:48 +0500 Message-ID: Subject: netmap error (Unable to get if info for eth1) From: Tahir Rauf To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:51:56 -0000 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.