netgraph with 10Gig interfaces

sivakumar.subramani at wipro.com sivakumar.subramani at wipro.com
Fri Aug 18 13:21:40 UTC 2006


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 at FreeBSD.org]
Sent: Friday, August 18, 2006 3:26 PM
To: SIVAKUMAR SUBRAMANI (WT01 - Computing Systems & Storage)
Cc: mark at immermail.com; brueffer at FreeBSD.org; freebsd-net at FreeBSD.org
Subject: Re: netgraph with 10Gig interfaces

On Thu, Aug 17, 2006 at 06:21:50PM +0530, sivakumar.subramani at 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>
s>
s> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
s>         options=8<VLAN_MTU>
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>
s> bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
s>         options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
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 <full-duplex>)
s>         status: active
s>
s> Even then I could not see the above interfaces listed in the output
s> of the list command of ngctl.
s>
s> + list -l
s> There are 2 total nodes:
s>   Name: ngctl1088       Type: socket          ID: 00000007   Num
hooks:
s> 0
s>   Name: <unnamed>       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>
s>
s> But as per the document in the below link it is mentioned that
s> network interface by default should be listed in the output.
s> http://ezine.daemonnews.org/200003/netgraph.html
s>
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.

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.

www.wipro.com


More information about the freebsd-net mailing list