Chelsio netmap support ? (RELENG_11)
Navdeep Parhar
nparhar at gmail.com
Tue Mar 7 20:21:14 UTC 2017
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 <mike at sentex.net> 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 at 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>
> options=ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
> ether 00:07:43:39:9d:b8
> inet 10.151.10.1 netmask 0xffffff00 broadcast 10.151.10.255
> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> media: Ethernet 10Gbase-Twinax <full-duplex>
> 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 at sentex.net
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
More information about the freebsd-net
mailing list