From owner-svn-src-head@freebsd.org Wed Feb 15 16:46:03 2017 Return-Path: Delivered-To: svn-src-head@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 C18F0CE0C52; Wed, 15 Feb 2017 16:46:03 +0000 (UTC) (envelope-from royger@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 54DD61643; Wed, 15 Feb 2017 16:46:03 +0000 (UTC) (envelope-from royger@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id r18so9108252wmd.3; Wed, 15 Feb 2017 08:46:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=ymUOytC/VvzYSrKdIcuwDKcucO6RiNfMhyRW9JwI1jk=; b=nOIZ4rUFwRCzgPYZ5gSP7OpfS4QN0XvXhsxvK60PxFL505EjAlR3LpkkeA89CQjgmm 1Ant3Wqtx4IipwhWrrpuo4Tt8QRuqJKzxSDh8k1TEQ+uMIXB8Fi2roAehzeGfRCk//jp f87so3Y2+9Ty8+26C6ocAiSLPgqLmt6jKcRlUW5+HeF9kgLuUIfPmDejtQj9CMST4LQS +mcKaaTNanSSOFqTZW9984GYKQMXW3L7IPgwJVl3/he49AQCesS8nZo/2JcYqJYEQWQa 5aebzSmNVNRvwdNFgFmn6zwV4gcNG5fraBDnizkXRqK04YIet1SWXy6LaQxn295zSjCy s/PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=ymUOytC/VvzYSrKdIcuwDKcucO6RiNfMhyRW9JwI1jk=; b=lbC/W6Q2PPatDowVYSOY099WF0EmMamcDvfi5feVLqqOS5GIrjRqKMSQ1DHLqd0tHX olBluB0Wy3NcdWW5ZnvESRJHwmf+3EbaGVlFLkRd8KPyjBaZrPrMjoJa/oq4HLbc4dzw ALfH/rvQ+eQMk7In23b3frpKozAz9NM1GBb6saOe/FlXlSp+/PQSA1UpEaEZoSkADK2e XeJ53VXOZLQjyd0j/Wh/2AcREqhwj8hncwzjPsjCL6lkORuIssDKWOdU5H5+22uC09nn PMXxSYFmI8/LPQn/29ZBD6ngtvpNoHnPpV/DvHHIWb4dcktXC0UhVI/c6tzcA0DYi/AI ttyQ== X-Gm-Message-State: AMke39nXLylTayieS5Kbf1GtfFPxaJsIzbtkMqRt19enybPih4Hn2GYMvT6Qm4ZW33dy2A== X-Received: by 10.28.17.133 with SMTP id 127mr8615775wmr.80.1487177160491; Wed, 15 Feb 2017 08:46:00 -0800 (PST) Received: from localhost (default-46-102-197-194.interdsl.co.uk. [46.102.197.194]) by smtp.gmail.com with ESMTPSA id o2sm5521308wra.42.2017.02.15.08.45.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Feb 2017 08:45:59 -0800 (PST) Sender: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Date: Wed, 15 Feb 2017 16:45:55 +0000 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Cc: davidch@FreeBSD.org, edavis@broadcom.com, davidch@broadcom.com, zambrano@broadcom.com Subject: Re: svn commit: r313771 - head/sys/dev/bxe Message-ID: <20170215164555.hvhpsh5s57ukf323@dhcp-3-221.uk.xensource.com> References: <201702151434.v1FEYejW075993@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201702151434.v1FEYejW075993@repo.freebsd.org> User-Agent: NeoMutt/20170206 (1.7.2) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 16:46:03 -0000 On Wed, Feb 15, 2017 at 02:34:40PM +0000, Roger Pau Monné wrote: > Author: royger > Date: Wed Feb 15 14:34:40 2017 > New Revision: 313771 > URL: https://svnweb.freebsd.org/changeset/base/313771 > > Log: > bxe: enable usage with NetXtreme II BCM57840 2x20GbE chip FWIW, I see the following message at boot: bxe0: mem 0x93800000-0x93ffffff,0x93000000-0x937fffff,0x95000000-0x9500ffff irq 16 at device 0.0 numa-domain 0 on pci5 bxe0: PCI BAR0 [10] memory allocated: 0x93800000-0x93ffffff (8388608) -> 0xfffff80093800000 bxe0: PCI BAR2 [18] memory allocated: 0x93000000-0x937fffff (8388608) -> 0xfffff80093000000 bxe0: PCI BAR4 [20] memory allocated: 0x95000000-0x9500ffff (65536) -> 0xfffff80095000000 bxe0: ERROR: Invalid config for Switch Dependent mode bxe0: Found 10GBase-CX4 media. bxe0: Using defaults for TSO: 65518/35/2048 bxe0: bpf attached bxe0: Ethernet address: 5c:b9:01:da:XX:XX bxe0: attempting to allocate 5 MSI-X vectors (32 supported) msi: routing MSI-X IRQ 264 to local APIC 34 vector 48 msi: routing MSI-X IRQ 265 to local APIC 36 vector 48 msi: routing MSI-X IRQ 266 to local APIC 38 vector 48 msi: routing MSI-X IRQ 267 to local APIC 40 vector 48 msi: routing MSI-X IRQ 268 to local APIC 48 vector 48 bxe0: using IRQs 264-268 for MSI-X bxe0: MSI-X vectors Requested 5 and Allocated 5 random: harvesting attach, 8 bytes (4 bits) from bxe0 bxe1: mem 0x94800000-0x94ffffff,0x94000000-0x947fffff,0x95010000-0x9501ffff irq 17 at device 0.1 numa-domain 0 on pci5 bxe1: PCI BAR0 [10] memory allocated: 0x94800000-0x94ffffff (8388608) -> 0xfffff80094800000 bxe1: PCI BAR2 [18] memory allocated: 0x94000000-0x947fffff (8388608) -> 0xfffff80094000000 bxe1: PCI BAR4 [20] memory allocated: 0x95010000-0x9501ffff (65536) -> 0xfffff80095010000 bxe1: ERROR: Invalid config for Switch Dependent mode bxe1: Found 10GBase-CX4 media. bxe1: Using defaults for TSO: 65518/35/2048 bxe1: bpf attached bxe1: Ethernet address: 5c:b9:01:da:XX:XX bxe1: attempting to allocate 5 MSI-X vectors (32 supported) msi: routing MSI-X IRQ 269 to local APIC 50 vector 48 msi: routing MSI-X IRQ 270 to local APIC 52 vector 48 msi: routing MSI-X IRQ 271 to local APIC 54 vector 48 msi: routing MSI-X IRQ 272 to local APIC 56 vector 48 msi: routing MSI-X IRQ 273 to local APIC 0 vector 58 bxe1: using IRQs 269-273 for MSI-X bxe1: MSI-X vectors Requested 5 and Allocated 5 But the card seems to be working fine AFAIK (I'm not able to do any kind of benchmarking anyway). Adding the Broadcom guys in case they can provide some input on this error message. Thansk, Roger.