Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2017 14:36:11 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Chelsio netmap support ? (RELENG_11)
Message-ID:  <93e10699-ecc7-c062-bf85-a26de0de9633@sentex.net>

next in thread | raw e-mail | index | archive | help
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<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@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?93e10699-ecc7-c062-bf85-a26de0de9633>