From owner-freebsd-net@freebsd.org Tue Mar 7 19:36:14 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1DB78D01CED for ; Tue, 7 Mar 2017 19:36:14 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D86F817E1 for ; Tue, 7 Mar 2017 19:36:13 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v27JaC1R081435 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 7 Mar 2017 14:36:12 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c] ([IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v27JaADK021848 for ; Tue, 7 Mar 2017 14:36:10 -0500 (EST) (envelope-from mike@sentex.net) To: "freebsd-net@freebsd.org" From: Mike Tancsa Subject: Chelsio netmap support ? (RELENG_11) Organization: Sentex Communications Message-ID: <93e10699-ecc7-c062-bf85-a26de0de9633@sentex.net> Date: Tue, 7 Mar 2017 14:36:11 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Mar 2017 19:36:14 -0000 I have a Chelsio T520 NIC that I have been trying to get netmap working with. I see reference to the ncxl# vs cxl# interface on the lists, but I never see ncxl come up. The man pages dont say anything about having to specifically enable anything that I can see. I am using RELENG11 as of today (r314848). ---Mike t5nex0@pci0:2:0:4: class=0x020000 card=0x00001425 chip=0x54071425 rev=0x00 hdr=0x00 vendor = 'Chelsio Communications Inc' device = 'T520-SO Unified Wire Ethernet Controller' class = network subclass = ethernet bar [10] = type Memory, range 64, base 0xdd300000, size 524288, enabled bar [18] = type Memory, range 64, base 0xdc000000, size 16777216, enabled bar [20] = type Memory, range 64, base 0xdd884000, size 8192, enabled cap 01[40] = powerspec 3 supports D0 D3 current D0 cap 05[50] = MSI supports 32 messages, 64 bit, vector masks cap 10[70] = PCI-Express 2 endpoint max data 256(2048) FLR RO NS link x8(x8) speed 8.0(8.0) cap 11[b0] = MSI-X supports 256 messages, enabled Table in map 0x20[0x0], PBA in map 0x20[0x1000] cap 03[d0] = VPD ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected ecap 0003[170] = Serial 1 0000000000000000 ecap 000e[190] = ARI 1 ecap 0019[1a0] = PCIe Sec 1 lane errors 0 ecap 0010[1c0] = SR-IOV 1 IOV disabled, Memory Space disabled, ARI disabled 0 VFs configured out of 0 supported First VF RID Offset 0x0008, VF RID Stride 0x0004 VF Device ID 0x5807 Page Sizes: 4096 (enabled), 8192, 65536, 262144, 1048576, 4194304 ecap 0017[200] = TPH Requester 1 netmap seems to activate on the onboard igb NICs. # dmesg | grep -i netma netmap: loaded module igb0: netmap queues/slots: TX 4/1024, RX 4/1024 igb1: netmap queues/slots: TX 4/1024, RX 4/1024 # ifconfig cxl1 cxl1: flags=8843 metric 0 mtu 1500 options=ec07bb ether 00:07:43:39:9d:b8 inet 10.151.10.1 netmask 0xffffff00 broadcast 10.151.10.255 nd6 options=29 media: Ethernet 10Gbase-Twinax status: active plugged: SFP/SFP+/SFP28 Unknown (Copper pigtail) vendor: CISCO-TYCO PN: 1-2053783-2 SN: TED1605BGWC DATE: 2016-02-01 ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/