From owner-freebsd-net@FreeBSD.ORG Thu Nov 1 00:40:38 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2B4C40C; Thu, 1 Nov 2012 00:40:38 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 793178FC0A; Thu, 1 Nov 2012 00:40:38 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so1447308pbb.13 for ; Wed, 31 Oct 2012 17:40:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=mq2gcRrLrIj80S4zpFggUhRh5uTCi421czrVpl+I1+0=; b=isgqx0dwXbpTSbfMl+XT75k+Woh0aXit7NU+6KiNUBAw7IF+XS2x09wwxvx08I5Xvu Qos5NKPRocPJNjwkenU4Jhqc7droUya6KwbuZUA9K44kq20d3/R1nVv4OPq02dI+osiA UlEswR0Muf9ybENHygiFL6HeD9GaQAX8/m/CpK18GUuY1NqiT6uYHpC8uJJXWzgRxkg7 SVa4sgihlBaapUs19qg76q8mUygtalOqnMhW95HBuH5vPE7zLpeFKpHr2FwOOxzWRvqt 5JjEW27b1KiNq+9grPvlFar6wzh9jiY80qo+zhvVzHKpp5m505mPJ7oOm601GO0vP32a +XJA== Received: by 10.68.237.6 with SMTP id uy6mr15813365pbc.147.1351730437888; Wed, 31 Oct 2012 17:40:37 -0700 (PDT) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPS id pw2sm3064126pbb.59.2012.10.31.17.40.34 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 31 Oct 2012 17:40:36 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 01 Nov 2012 09:40:08 +0900 From: YongHyeon PYUN Date: Thu, 1 Nov 2012 09:40:08 +0900 To: Tom Judge Subject: Re: bxe + if_lagg Message-ID: <20121101004008.GA3154@michelle.cdnetworks.com> References: <508FF0F9.9020105@freebsd.org> <20121031074737.GB1471@michelle.cdnetworks.com> <50914C51.50407@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50914C51.50407@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2012 00:40:38 -0000 On Wed, Oct 31, 2012 at 12:05:37PM -0400, Tom Judge wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 10/31/12 3:47 AM, YongHyeon PYUN wrote: > > On Tue, Oct 30, 2012 at 11:23:37AM -0400, Tom Judge wrote: > > > > [...] > > > >> I am trying to get if_lagg working in an HP blade for failover > >> between the 2 in chassis cisco switches, but it would seem that > >> the link state is not being propagated up to the lagg device. > >> > >> Any hints/ideas? > >> > >> > >> > >> dmesg: bxe1: >> v:1.5.52 bxe1: Ethernet address: 00:25:b3:a8:76:e4 bxe1: ASIC > >> (0x16500000); Rev (A0); Bus (PCIe x4, 5Gbps); Flags (MSI-X); > >> Queues (RSS:16); BD's (RX:510,TX:255); Firmware (5.2.13); > >> Bootcode (4.8.0) > >> > > > > Try attached patch and let me know whether it makes any > > difference. > > > > This results in zero network connectivity, even with an IP assigned to > the bxe device directly. > > It does show status: active and the same 10Gbase-SR media however. > > Ping results in no route to host. :-( It seems upper stack still thinks link is down so it didn't even bother to send any packets. Probably that was the reason why bxe(4) did not announce IFCAP_LINKSTATE capability to stack. It seems slow path handler(link state change tracker) does not work as expected.