From owner-freebsd-net@freebsd.org  Sun Jan 24 03:53:02 2016
Return-Path: <owner-freebsd-net@freebsd.org>
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 62789A8D08A
 for <freebsd-net@mailman.ysv.freebsd.org>;
 Sun, 24 Jan 2016 03:53:02 +0000 (UTC)
 (envelope-from cenzatti@hush.com)
Received: from smtp2.hushmail.com (smtp2a.hushmail.com [65.39.178.237])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "smtp.hushmail.com", Issuer "smtp.hushmail.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 409C4151F
 for <freebsd-net@freebsd.org>; Sun, 24 Jan 2016 03:53:02 +0000 (UTC)
 (envelope-from cenzatti@hush.com)
Received: from smtp2.hushmail.com (smtp2a.hushmail.com [65.39.178.237])
 by smtp2.hushmail.com (Postfix) with SMTP id C0E57A0420
 for <freebsd-net@freebsd.org>; Sun, 24 Jan 2016 03:53:00 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=hush.com;
 h=date:to:subject:from; s=hush;
 bh=YVJm0lMOwUJkGAHWsubPDSbYZdOE3i3C3pjcJTMHB9c=;
 b=gTUcVA8iiKOsYXN6w623KbWyFDkEivWuSP9FD0TJEmuS7wZLv6DliPkRmFHOzRXsfTu07eDGz/ean6krs1gS3+B9BkRmxhAh7wfiQ4fpFlrnDMgHS7uD7fC15AFwXagCEttxqqX5riElRwQjAXJzcOL3hAHH5yS1mqSo7+ATdW3n7gaiy4uMYkSZ4cDVUQxH5E2ls9KeKt04ZhshlE55S56r0iQcud4Jp+1loEfv1xvyJyH5MQsg9qKARzWqY9oZDeTHZx4a5gX7cEB9H8Sd94Bc7vj/5LSHPpXP3CvrlfoI2QOppf+cN8P8V8rJLc4nR4RG0lhA71BCqVkzP6R5ww==
Received: from smtp.hushmail.com (w5.hushmail.com [65.39.178.80])
 by smtp2.hushmail.com (Postfix) with ESMTP;
 Sun, 24 Jan 2016 03:53:00 +0000 (UTC)
Received: by smtp.hushmail.com (Postfix, from userid 99)
 id 3E533A0126; Sun, 24 Jan 2016 03:53:00 +0000 (UTC)
MIME-Version: 1.0
Date: Sun, 24 Jan 2016 01:52:59 -0200
To: "Adrian Chadd" <adrian@freebsd.org>, "Luigi Rizzo" <rizzo@iet.unipi.it>
Cc: freebsd-net@freebsd.org, "Navdeep Parhar" <nparhar@gmail.com>
Subject: Re: solved: Re: Chelsio T520-SO-CR low performance (netmap tested)
 for RX
From: "Marcus Cenzatti" <cenzatti@hush.com>
In-Reply-To: <CAJ-Vmo=ScLDOEgebffdnFwTDod6q6UngcxChX6TxwVK_MN+bjQ@mail.gmail.com>
References: <CA+hQ2+g7_haaXLFjMuG00ANsUkFdyGzFQyjT4NYVBmPY-vECBg@mail.gmail.com>
 <CAJ-Vmo=ScLDOEgebffdnFwTDod6q6UngcxChX6TxwVK_MN+bjQ@mail.gmail.com> 
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="UTF-8"
Message-Id: <20160124035300.3E533A0126@smtp.hushmail.com>
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net/>
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Jan 2016 03:53:02 -0000



On 1/24/2016 at 1:20 AM, "Adrian Chadd" <adrian@freebsd.org> wrote:
>
>[snip]
>
>You should be able to run with cxl0 down but ncxl0 up. If that 
>doesn't
>work then it's a bug. It worked when I last tried 40g bridging 
>(about
>5 months ago.)
>
>Try that manually - ifconfig cxl0 down; ifconfig ncxl0 up
>
>

tried, ncxl really won't up while cxl is down, here you are:

chelsio# ifconfig cxl0 down
chelsio# ifconfig ncxl0 up

chelsio# ifconfig cxl0
cxl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=ec00bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	ether 00:07:43:33:8d:c0
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet 10Gbase-SR <full-duplex>
	status: no carrier

chelsio# ifconfig ncxl0
ncxl0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC> metric 0 mtu 1500
	ether 00:07:43:33:8d:c1
	inet 172.16.0.1 netmask 0xffffff00 broadcast 172.16.0.255
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet 10Gbase-SR <full-duplex>
	status: no carrier

chelsio# ifconfig ncxl0 up

(insisted)

chelsio# ifconfig cxl0
cxl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=ec00bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	ether 00:07:43:33:8d:c0
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet 10Gbase-SR <full-duplex>
	status: no carrier

chelsio# ifconfig ncxl0
ncxl0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC> metric 0 mtu 1500
	ether 00:07:43:33:8d:c1
	inet 172.16.0.1 netmask 0xffffff00 broadcast 172.16.0.255
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet 10Gbase-SR <full-duplex>
	status: no carrier

chelsio# ifconfig cxl0 up

chelsio# ifconfig cxl0
cxl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=ec00bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	ether 00:07:43:33:8d:c0
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet 10Gbase-SR <full-duplex>
	status: active

chelsio# ifconfig ncxl0
ncxl0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC> metric 0 mtu 1500
	ether 00:07:43:33:8d:c1
	inet 172.16.0.1 netmask 0xffffff00 broadcast 172.16.0.255
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet 10Gbase-SR <full-duplex>
	status: active
chelsio#