if_qlxgb trouble

David Somayajulu david.somayajulu at qlogic.com
Wed Feb 12 03:33:02 UTC 2014


Hi Hakisho,
I am using the same driver on a FreeBSD9.0  system and don't see the problem. The only difference is that the firmware version on my board is 4.9.46.1325015960

We can take this off line and discuss further.
Cheers
David S.

====

ql0: <Qlogic ISP 80xx PCI CNA Adapter-Ethernet Function v1.1.36> mem 0xfa400000-0xfa5fffff,0xfbb30000-0xfbb3ffff irq 24 at device 0.0 on pci9
ql0: qla_pci_attach: firmware[4.9.46.1325015960]
ql0: Ethernet address: 00:0e:1e:04:2d:98
ql1: <Qlogic ISP 80xx PCI CNA Adapter-Ethernet Function v1.1.36> mem 0xfa600000-0xfa7fffff,0xfbbb0000-0xfbbbffff irq 24 at device 0.1 on pci9
ql1: qla_pci_attach: firmware[4.9.46.1325015960]
ql1: Ethernet address: 00:0e:1e:04:2d:9c

# ifconfig ql0
ql0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8013b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,TSO4,LINKSTATE>
        ether 00:0e:1e:04:2d:98
        inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::20e:1eff:fe04:2d98%ql0 prefixlen 64 scopeid 0xe
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
        media: Ethernet autoselect (10Gbase-SR <full-duplex>)
        status: active


-----Original Message-----
From: owner-freebsd-net at freebsd.org [mailto:owner-freebsd-net at freebsd.org] On Behalf Of Hakisho Nukama
Sent: Tuesday, February 11, 2014 7:14 AM
To: net at freebsd.org
Subject: if_qlxgb trouble

I am trying to connect a HP NC523SFP in
FreeBSD 10.0-RELEASE over SFP+ to a switch.

This is my current progress, any hints are welcome.
More information on demand.

# kldload -v if_qlxgb
ql0: <Qlogic ISP 80xx PCI CNA Adapter-Ethernet Function v1.1.36> mem 0xfdc00000-0xfddfffff, 0xfdbf0000-0xfdbfffff irq 16 at device 0.0 on pci11
ql0: qla_pci_attach: firmware[4.8.22.1319135230]
ql0: Ethernet address: 2c:59:e5:ca:ff:ee
ql1: <Qlogic ISP 80xx PCI CNA Adapter-Ethernet Function v1.1.36> mem 0xfd800000-0xfd9fffff,0xfd7f0000-0xfd7fffff irq 16 at device 0.1 on
pci11
ql1: qla_pci_attach: firmware[4.8.22.1319135230]
ql1: Ethernet address: 2c:59:e5:ca:ff:ee

# sysctl dev.ql
dev.ql.0.%desc: Qlogic ISP 80xx PCI CNA Adapter-Ethernet Function v1.1.36
dev.ql.0.%driver: ql
dev.ql.0.%location: slot=0 function=0 handle=\_SB_.PCI0.PT02.IPE4.
IPE1.PES1
dev.ql.0.%pnpinfo: vendor=0x1077 device=0x8020 subvendor=0x103c
subdevice=0x3733 class=0x020000
dev.ql.0.%parent: pci11
dev.ql.0.stats: 0
dev.ql.0.fw_version: 4.8.22.1319135230
dev.ql.0.debug: 0
dev.ql.0.std_replenish: 8
dev.ql.0.jumbo_replenish: 2
dev.ql.0.rcv_pkt_thres: 128
dev.ql.0.rcv_pkt_thres_d: 32
dev.ql.0.snd_pkt_thres: 16
dev.ql.0.free_pkt_thres: 1024
dev.ql.0.num_rds_rings: 2
dev.ql.0.num_sds_rings: 4
dev.ql.1.%desc: Qlogic ISP 80xx PCI CNA Adapter-Ethernet Function v1.1.36
dev.ql.1.%driver: ql
dev.ql.1.%location: slot=0 function=1 handle=\_SB_.PCI0.PT02.IPE4.IPE1.PE11
dev.ql.1.%pnpinfo: vendor=0x1077 device=0x8020 subvendor=0x103c
subdevice=0x3733 class=0x020000
dev.ql.1.%parent: pci11
dev.ql.1.stats: 0
dev.ql.1.fw_version: 4.8.22.1319135230
dev.ql.1.debug: 0
dev.ql.1.std_replenish: 8
dev.ql.1.jumbo_replenish: 2
dev.ql.1.rcv_pkt_thres: 128
dev.ql.1.rcv_pkt_thres_d: 32
dev.ql.1.snd_pkt_thres: 16
dev.ql.1.free_pkt_thres: 1024
dev.ql.1.num_rds_rings: 2
dev.ql.1.num_sds_rings: 4

# ifconfig ql0 10.13.37.21
ql0: qla_issue_cmd: cmd[0x001b2218] = 0x80000002
        sig[0x001b2228] = 0xcafe0100
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql0: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000002
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql0: qla_get_max_rds: Q8_CMD_RD_MAX_RDS_PER_CNTXT failed
ql0: qla_issue_cmd: cmd[0x001b2218] = 0x80000003
        sig[0x001b2228] = 0xcafe0100
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql0: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000003
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql0: qla_get_max_sds: Q8_CMD_RD_MAX_RDS_PER_CNTXT failed
ql0: qla_issue_cmd: cmd[0x001b2218] = 0x80000004
        sig[0x001b2228] = 0xcafe0100
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql0: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000004
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql0: qla_get_max_rules: Q8_CMD_RD_MAX_RULES_PER_CNTXT failed
ql0: qla_issue_cmd: cmd[0x001b2218] = 0x80000005
        sig[0x001b2228] = 0xcafe0100
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql0: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000005
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql0: qla_get_max_rcv_cntxts: Q8_CMD_RD_MAX_RX_CNTXT failed
ql0: qla_issue_cmd: cmd[0x001b2218] = 0x80000006
        sig[0x001b2228] = 0xcafe0100
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql0: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000006
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql0: qla_get_max_tx_cntxts: Q8_CMD_RD_MAX_TX_CNTXT failed
ql0: qla_issue_cmd: cmd[0x001b2218] = 0x80000018
        sig[0x001b2228] = 0xcafe0100
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql0: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000018
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql0: qla_get_max_mtu: Q8_CMD_RD_MAX_MTU failed
ql0: qla_issue_cmd: cmd[0x001b2218] = 0x80000019
        sig[0x001b2228] = 0xcafe0100
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql0: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000019
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql0: qla_get_max_lro: Q8_CMD_RD_MAX_LRO failed
ql0: qla_issue_cmd: cmd[0x001b2218] = 0x80000016
        sig[0x001b2228] = 0xcafe0100
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql0: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000016
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql0: qla_get_flow_control: Q8_CMD_GET_FLOW_CNTRL failed
ql0: qla_issue_cmd: cmd[0x001b2218] = 0x80000007
        sig[0x001b2228] = 0xcafe0100
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x15c7d160
        arg3[0x001b2224] = 0x00000120
ql0: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000007
                 arg1 = 0x00000000
                 arg2 = 0x15c7d160
                 arg3 = 0x00000120
ql0: qla_init_rcv_cntxt: Q8_CMD_CREATE_RX_CNTXT failed
ql0: qla_fw_cmd: xmit queue full

# ifconfig ql1 10.13.37.2
ql1: qla_issue_cmd: cmd[0x001b2218] = 0x80000002
        sig[0x001b2228] = 0xcafe0101
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql1: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000002
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql1: qla_get_max_rds: Q8_CMD_RD_MAX_RDS_PER_CNTXT failed
ql1: qla_issue_cmd: cmd[0x001b2218] = 0x80000003
        sig[0x001b2228] = 0xcafe0101
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql1: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000003
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql1: qla_get_max_sds: Q8_CMD_RD_MAX_RDS_PER_CNTXT failed
ql1: qla_issue_cmd: cmd[0x001b2218] = 0x80000004
        sig[0x001b2228] = 0xcafe0101
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql1: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000004
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql1: qla_get_max_rules: Q8_CMD_RD_MAX_RULES_PER_CNTXT failed
ql1: qla_issue_cmd: cmd[0x001b2218] = 0x80000005
        sig[0x001b2228] = 0xcafe0101
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql1: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000005
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql1: qla_get_max_rcv_cntxts: Q8_CMD_RD_MAX_RX_CNTXT failed
ql1: qla_issue_cmd: cmd[0x001b2218] = 0x80000006
        sig[0x001b2228] = 0xcafe0101
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql1: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000006
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql1: qla_get_max_tx_cntxts: Q8_CMD_RD_MAX_TX_CNTXT failed
ql1: qla_issue_cmd: cmd[0x001b2218] = 0x80000018
        sig[0x001b2228] = 0xcafe0101
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql1: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000018
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql1: qla_get_max_mtu: Q8_CMD_RD_MAX_MTU failed
ql1: qla_issue_cmd: cmd[0x001b2218] = 0x80000019
        sig[0x001b2228] = 0xcafe0101
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql1: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000019
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql1: qla_get_max_lro: Q8_CMD_RD_MAX_LRO failed
ql1: qla_issue_cmd: cmd[0x001b2218] = 0x80000016
        sig[0x001b2228] = 0xcafe0101
        arg1[0x001b221c] = 0x00000000
        arg2[0x001b2220] = 0x00000000
        arg3[0x001b2224] = 0x00000000
ql1: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000016
                 arg1 = 0x00000000
                 arg2 = 0x00000000
                 arg3 = 0x00000000
ql1: qla_get_flow_control: Q8_CMD_GET_FLOW_CNTRL failed
ql1: qla_issue_cmd: cmd[0x001b2218] = 0x80000007
        sig[0x001b2228] = 0xcafe0101
        arg1[0x001b221c] = 0x00000002
        arg2[0x001b2220] = 0x0923b160
        arg3[0x001b2224] = 0x00000120
ql1: qla_issue_cmd: exit (ret = 0xffffffff)
                 rsp = 0x80000007
                 arg1 = 0x00000002
                 arg2 = 0x0923b160
                 arg3 = 0x00000120
ql1: qla_init_rcv_cntxt: Q8_CMD_CREATE_RX_CNTXT failed
ql1: qla_fw_cmd: xmit queue full

# ifconfig ql0
ql0: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=8013b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,TSO4,LINKSTATE>
    ether 2c:59:e5:ca:ff:ee
    inet 10.13.37.2 netmask 0xffffff00 broadcast 10.13.37.255
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    media: Ethernet autoselect
    status: no carrier

# ifconfig ql0
ql1: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=8013b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,TSO4,LINKSTATE>
    ether 2c:59:e5:ca:ff:ee
    inet 10.13.37.3 netmask 0xffffff00 broadcast 10.13.37.255
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    media: Ethernet autoselect
    status: no carrier


Best Regards,
Hakisho Nukama
_______________________________________________
freebsd-net at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"

________________________________

This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.


More information about the freebsd-net mailing list