From owner-freebsd-net@FreeBSD.ORG Tue Mar 27 21:39:10 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 466E01065670 for ; Tue, 27 Mar 2012 21:39:10 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id EFF1F8FC14 for ; Tue, 27 Mar 2012 21:39:09 +0000 (UTC) Received: by vbmv11 with SMTP id v11so387548vbm.13 for ; Tue, 27 Mar 2012 14:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6y2th+n0qF7nPgTpBXE+ZTInzLBKgjm61q0+Q3+JXP8=; b=QfRm+eFdjLEX25GUrLruOcLpKwu54lOGylHiGRufUR3leZQ/JHLRaGpJco3xdr56qC 28fMHV9PrLnPdLO+hjIE844knWw9MLqDBU6uLrVEIrGTeCyhAmJn3jYxip1xclYFeAAi xzgixgv1xpc2095RSwDpyh1AaktqLqZOahkUna87ld5yQ9vpO1zgMp6bKyoch9cOqDWE 2i4RwQvD2007AH0Az+v3dnBIli+5JStPiTTSxNEthrkMqv8c8opmqRJXDh9qUeFrz7/S ziLn2D+YO+2l4TVfYIWDNG0sQd+3v6DwG0wbT6KHROSPorOPwnkHvWZ/3fTjhDRXAu0k KLpg== MIME-Version: 1.0 Received: by 10.52.90.20 with SMTP id bs20mr10542172vdb.98.1332884348929; Tue, 27 Mar 2012 14:39:08 -0700 (PDT) Received: by 10.220.198.138 with HTTP; Tue, 27 Mar 2012 14:39:08 -0700 (PDT) In-Reply-To: References: <5E4F49720D0BAD499EE1F01232234BA8743824C2AD@AVEXMB1.qlogic.org> <20120327210818.GA10492@owl.midgard.homeip.net> Date: Tue, 27 Mar 2012 14:39:08 -0700 Message-ID: From: Freddie Cash To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Re: bus width and PCIe version X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2012 21:39:10 -0000 On Tue, Mar 27, 2012 at 2:14 PM, Jack Vogel wrote: > I'm pretty sure that pciconf can give you this information, but you need to > use the right flags, not to mention that you look at the correct device. Yeah, it does: # pciconf -lc ... igb1@pci0:2:0:1: class=0x020000 card=0x10c915d9 chip=0x10c98086 rev=0x01 hdr=0x00 cap 01[40] = powerspec 3 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message, 64 bit, vector masks cap 11[70] = MSI-X supports 10 messages in map 0x1c enabled cap 10[a0] = PCI-Express 2 endpoint max data 128(512) link x4(x4) ... mps1@pci0:3:0:0: class=0x010700 card=0x040015d9 chip=0x00721000 rev=0x03 hdr=0x00 vendor = 'LSI Logic / Symbios Logic' device = 'SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]' class = mass storage subclass = SAS cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 10[68] = PCI-Express 2 endpoint max data 128(4096) link x8(x8) cap 03[d0] = VPD cap 05[a8] = MSI supports 1 message, 64 bit cap 11[c0] = MSI-X supports 15 messages in map 0x14 enabled ... -- Freddie Cash fjwcash@gmail.com