From owner-freebsd-net@FreeBSD.ORG Fri Aug 18 13:21:40 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81D8616A4DE; Fri, 18 Aug 2006 13:21:40 +0000 (UTC) (envelope-from sivakumar.subramani@wipro.com) Received: from wip-ectls-mx1.wipro.com (wip-ectls-mx1.wipro.com [203.91.193.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 748BF43D49; Fri, 18 Aug 2006 13:21:39 +0000 (GMT) (envelope-from sivakumar.subramani@wipro.com) Received: from wip-ectls-mx1.wipro.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id 97F692203F3; Fri, 18 Aug 2006 18:51:41 +0530 (IST) Received: from blr-ec-bh01.wipro.com (blr-ec-bh01.wipro.com [10.201.50.91]) by wip-ectls-mx1.wipro.com (Postfix) with ESMTP id 8C284220092; Fri, 18 Aug 2006 18:51:41 +0530 (IST) Received: from blr-m3-msg.wipro.com ([10.114.50.99]) by blr-ec-bh01.wipro.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 18 Aug 2006 18:51:34 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 18 Aug 2006 18:51:37 +0530 Message-ID: In-Reply-To: <20060818095554.GM96644@cell.sick.ru> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: netgraph with 10Gig interfaces Thread-Index: AcbCrAVxYzAS0ovRR4++Zhqp9usvUQAHNcbQ From: To: , X-OriginalArrivalTime: 18 Aug 2006 13:21:34.0797 (UTC) FILETIME=[3A3D9FD0:01C6C2C9] Cc: freebsd-net@FreeBSD.org, brueffer@FreeBSD.org Subject: RE: netgraph with 10Gig interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2006 13:21:40 -0000 Hi Mark, >>This snippet is from a script, and the variables '$if1' and '$if2' >>are set to the interfaces. In effect, the 'connect' lines above are actually (for Neterion 10Gig driver): >>ngctl connect xge0: ngeth0:lower lower many0 ngctl connect xge1: ngeth0:lower lower many0 Can You please send me the steps/command that you used to test the Neterion card. I means what are the argument that you gave for msg command. Info on how did you verify the traffic flow? Thanks, ~Siva -----Original Message----- From: Gleb Smirnoff [mailto:glebius@FreeBSD.org]=0D Sent: Friday, August 18, 2006 3:26 PM To: SIVAKUMAR SUBRAMANI (WT01 - Computing Systems & Storage) Cc: mark@immermail.com; brueffer@FreeBSD.org; freebsd-net@FreeBSD.org Subject: Re: netgraph with 10Gig interfaces On Thu, Aug 17, 2006 at 06:21:50PM +0530, sivakumar.subramani@wipro.com wrote: s> I have bge and fxp interface on the system. I enabled the NETGRAPH by s> enabling the NETGRAPH in the config file and compiled the new kernel. s> Then, booted with the new kernel. s>=0D s>=0D s> fxp0: flags=3D8843 mtu 1500 s> options=3D8 s> inet6 fe80::290:27ff:fe85:8b8c%fxp0 prefixlen 64 scopeid 0x1 s> inet 17.1.1.150 netmask 0xff000000 broadcast 17.255.255.255 s> ether 00:90:27:85:8b:8c s> media: Ethernet autoselect (none) s> status: no carrier s>=0D s> bge0: flags=3D8843 mtu 1500 s> options=3D1a s> inet6 fe80::2e0:81ff:fe29:f38d%bge0 prefixlen 64 scopeid 0x3 s> inet 10.114.52.152 netmask 0xffffff00 broadcast 10.114.52.255 s> ether 00:e0:81:29:f3:8d s> media: Ethernet autoselect (100baseTX ) s> status: active s>=0D s> Even then I could not see the above interfaces listed in the output=0D s> of the list command of ngctl. s>=0D s> + list -l s> There are 2 total nodes: s> Name: ngctl1088 Type: socket ID: 00000007 Num hooks: s> 0 s> Name: Type: eiface ID: 00000004 Num hooks: s> 0 s> + list -n s> There are 1 total named nodes: s> Name: ngctl1088 Type: socket ID: 00000007 Num hooks: s> 0 s> + s>=0D s>=0D s> But as per the document in the below link it is mentioned that=0D s> network interface by default should be listed in the output. s> http://ezine.daemonnews.org/200003/netgraph.html s>=0D s> Is that means these drivers are not supporting the netgraph? No. You need either kldload ng_ether or add NETGRAPH_ETHER to kernel config. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and= may contain proprietary, confidential or privileged information. If you= are not the intended recipient, you should not disseminate, distribute or= copy this e-mail. Please notify the sender immediately and destroy all= copies of this message and any attachments.=0D WARNING: Computer viruses can be transmitted via email. The recipient= should check this email and any attachments for the presence of viruses.= The company accepts no liability for any damage caused by any virus= transmitted by this email. =0D www.wipro.com