From owner-freebsd-net@freebsd.org Tue Mar 7 20:21: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 ADE54D02D09 for ; Tue, 7 Mar 2017 20:21:14 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pg0-x22f.google.com (mail-pg0-x22f.google.com [IPv6:2607:f8b0:400e:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B18214F0 for ; Tue, 7 Mar 2017 20:21:14 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by mail-pg0-x22f.google.com with SMTP id 25so4377829pgy.0 for ; Tue, 07 Mar 2017 12:21:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UBcfcjD73h/DVOuPpqh2Gg7PA6IGZkRTEq/c3q64ABw=; b=W3TqcnK7BK4/DR3KR1hrK5kVwb9chP2NL8h41MUuWrz5Aw+kb1RZOm6s32tjQxCsq7 ewts4szaWsdphPCUeu5a9z3ZUGKbCpIr23IqWeJbiCwIU9QWIyDqpfaZv2AkWj+XeyXM tgGaUTag1mzAYdMtyQFBkTAC2HQgAXK2BAzZBCagWIU6tXYgjEiLHrltDlz4cbEcgay1 9pjsyNWIgdT1D5Du3e85WToYnH+uYrT3A7zB+wVGRyf08TEbivv8Xy/miLsSEo2I7F0P +1BVN6on1hu7uGyoMRDhsxRf/22aowMLeJGW8wGurU+NxrU/oDT+Py+ZyU42rINPdype trIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UBcfcjD73h/DVOuPpqh2Gg7PA6IGZkRTEq/c3q64ABw=; b=eMCymUvyc0WnFsXFAOZcXtSH5PjmcE6NZj04UiBWixnOkCaCW1MIniG+QV2o9I7apJ AQFJYHTGcomfWSr3ssItMy5GOTrqyLsMuGNNur5xjDZp7w8BtU9itsfdkIjYD989OJPh 818qlcpaXzhixCNI+aVwy0HccH0yvyHAWtwuszukyCXIyRkWlnb1t8rim5nQtkmrVukk LGUP5XJn5kbVL7fOxP+vQF9bHXPXlV7kBJ86mqdJ+XFrQ0xbS3w/STZ7J+qlc8P5CeeZ 7/yGBq8zwv00fWIl5tyYYqD9NWwJucE1nCJZ/piwEcY9mO56k7m3RZESJfcJmfRE3OHU JWkg== X-Gm-Message-State: AMke39ncrnh1bPWJGsc6PRt9jR+d95ZuTZGIG9OEdqz8yOH6P4Em3w1ZecCVwNMLuW/wAocA1vA7ge0UuVJxPQ== X-Received: by 10.84.192.107 with SMTP id b98mr3063757pld.160.1488918073989; Tue, 07 Mar 2017 12:21:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.182.172 with HTTP; Tue, 7 Mar 2017 12:21:13 -0800 (PST) In-Reply-To: <93e10699-ecc7-c062-bf85-a26de0de9633@sentex.net> References: <93e10699-ecc7-c062-bf85-a26de0de9633@sentex.net> From: Navdeep Parhar Date: Tue, 7 Mar 2017 12:21:13 -0800 Message-ID: Subject: Re: Chelsio netmap support ? (RELENG_11) To: Mike Tancsa Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 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 20:21:14 -0000 Is it possible for you to run 10-STABLE? The netmap support in cxgbe was enhanced and uses the general purpose 'vcxl' interfaces now. You can enable them with hw.cxgbe.num_vis=2 in loader.conf. If -STABLE is not an option then check if you built your kernel with device NETMAP. config -x /boot/kernel/kernel | grep -i netmap. cxgbe has compile time checks for netmap so loadable netmap module may not work. Regards, Navdeep On Tue, Mar 7, 2017 at 11:36 AM, Mike Tancsa wrote: > 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/ > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"