From owner-freebsd-net@FreeBSD.ORG Tue Feb 11 15:14:08 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C05F79 for ; Tue, 11 Feb 2014 15:14:08 +0000 (UTC) Received: from mail-bk0-x236.google.com (mail-bk0-x236.google.com [IPv6:2a00:1450:4008:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2091E1C4F for ; Tue, 11 Feb 2014 15:14:07 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id u14so2303649bkz.27 for ; Tue, 11 Feb 2014 07:14:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=N4NPEho5lq1JfGV2mWK1kdhehTH1UfAdFqvgG8hGunU=; b=QsaZNMBsAE9BU+l+eu1PsiO15YP4nHGpdVyHhh3om/0q5Uw59miuw3jimdgQS8/Xr4 yhOCMXl/jqXifzmlsjGgPxwZXE/KckdyvnPlrXwd9LAbFiwdSkSE1A9RLbbfx4g9hlhR kYjHzlcBbpiTl7Xq98m7U3Szh51nIhziA9SMUmpUEmlRObBRRbBKcxSvQAKgAXb6FEGV MAIEP/o4QmMaN5538o6DqsQpPt2EyU+jHOvXbRfG1eKUZBR2YgoZFpsLaoCWhnHNztvE l4Lcj+cWgkIel2f0YohO3QuSBSZLlSH3iH8gF7HcaBGh2b+X6zFBcqyz9rN3rCX76f7G OLfw== MIME-Version: 1.0 X-Received: by 10.204.104.193 with SMTP id q1mr20743702bko.6.1392131645074; Tue, 11 Feb 2014 07:14:05 -0800 (PST) Received: by 10.205.45.202 with HTTP; Tue, 11 Feb 2014 07:14:05 -0800 (PST) Date: Tue, 11 Feb 2014 15:14:05 +0000 Message-ID: Subject: if_qlxgb trouble From: Hakisho Nukama To: net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 15:14:08 -0000 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: 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: 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 metric 0 mtu 1500 options=8013b ether 2c:59:e5:ca:ff:ee inet 10.13.37.2 netmask 0xffffff00 broadcast 10.13.37.255 nd6 options=29 media: Ethernet autoselect status: no carrier # ifconfig ql0 ql1: flags=8803 metric 0 mtu 1500 options=8013b ether 2c:59:e5:ca:ff:ee inet 10.13.37.3 netmask 0xffffff00 broadcast 10.13.37.255 nd6 options=29 media: Ethernet autoselect status: no carrier Best Regards, Hakisho Nukama