What driver/NIC is using cxgb feature/s?

View: New views
2 Messages — Rating Filter:   Alert me  

What driver/NIC is using cxgb feature/s?

by Won :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

I am just curious what driver/NIC is using cxgb msi tunable. I don't have a Chelsio NIC installed on the box.

#  sysctl -a | grep msi
hw.bce.msi_enable: 1
hw.cxgb.msi_allowed: 2
hw.pci.honor_msi_blacklist: 1
hw.pci.enable_msix: 1
hw.pci.enable_msi: 1


Some relevant info:

#  uname -msrp
FreeBSD 7.1-RELEASE-p5 amd64 amd64


#  ifconfig
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 00:08:9b:bb:02:ff
        inet6 fe80::208:9bff:febb:2ff%bge0 prefixlen 64 scopeid 0x1
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
bge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 00:08:9b:bb:03:00
        inet6 fe80::208:9bff:febb:300%bge1 prefixlen 64 scopeid 0x2
        inet [removed] netmask 0xfffffff0 broadcast [removed]
        inet6 2001:418:5403:5000::1 prefixlen 52
        inet [removed] netmask 0xffffffff broadcast [removed]
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
ste0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:05:5d:64:b0:0e
        inet6 fe80::205:5dff:fe64:b00e%ste0 prefixlen 64 scopeid 0x3
        inet 10.2.62.62 netmask 0xfff00000 broadcast 10.15.255.255
        inet6 2001:418:5403:2410:62:62:62:62 prefixlen 64
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
ste1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:05:5d:64:b0:0f
        inet6 fe80::205:5dff:fe64:b00f%ste1 prefixlen 64 scopeid 0x4
        inet 10.255.255.1 netmask 0xffffff00 broadcast 10.255.255.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
ste2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:05:5d:64:b0:10
        media: Ethernet autoselect (none)
        status: no carrier
ste3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:05:5d:64:b0:11
        media: Ethernet autoselect (none)
        status: no carrier
pfsync0: flags=41<UP,RUNNING> metric 0 mtu 1460
        pfsync: syncdev: lo0 syncpeer: 224.0.0.240 maxupd: 128
pflog0: flags=100<PROMISC> metric 0 mtu 33160
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9
        inet6 ::1 prefixlen 128
enc0: flags=0<> metric 0 mtu 1536
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
        tunnel inet 124.107.255.62 --> 204.2.248.1
        inet6 2001:418:5403::c --> 2001:418:5403::a prefixlen 128
        inet6 fe80::208:9bff:febb:2ff%gif0 prefixlen 64 scopeid 0xc
vlan3800: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
        options=3<RXCSUM,TXCSUM>
        ether 00:08:9b:bb:02:ff
        inet6 fe80::208:9bff:febb:2ff%vlan3800 prefixlen 64 scopeid 0xb
        inet 124.107.255.62 netmask 0xfffffffc broadcast 124.107.255.63
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
        vlan: 3800 parent interface: bge0

Thanks!

Won


     

_______________________________________________
freebsd-drivers@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@..."

Re: What driver/NIC is using cxgb feature/s?

by M. Warner Losh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In message: <798432.42061.qm@...>
            Won De Erick <won.derick@...> writes:

: I am just curious what driver/NIC is using cxgb msi tunable. I don't have a Chelsio NIC installed on the box.

cxgb is using it.

: #  sysctl -a | grep msi
: hw.bce.msi_enable: 1
: hw.cxgb.msi_allowed: 2
: hw.pci.honor_msi_blacklist: 1
: hw.pci.enable_msix: 1
: hw.pci.enable_msi: 1

This just means that if you had a cxgb device, the hints are
suggesting you use it.  If you don't have one, then nothing will
happen.  You get this because you have cxgb compiled into the kernel,
or loaded as a module.

Warner
_______________________________________________
freebsd-drivers@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@..."