From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 04:11:01 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 897D3127 for ; Thu, 5 Feb 2015 04:11:01 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 65FA7C9E for ; Thu, 5 Feb 2015 04:11:01 +0000 (UTC) Received: from [192.168.200.212] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 8421E1941DD; Thu, 5 Feb 2015 04:10:59 +0000 (UTC) Message-ID: <54D2ED52.7060100@ignoranthack.me> Date: Wed, 04 Feb 2015 20:10:58 -0800 From: Sean Bruno Reply-To: sbruno@freebsd.org User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Jack Vogel Subject: Re: Intel 82574L (em) References: <54CBF396.3090903@ignoranthack.me> <20150131010014.GB19333@strugglingcoder.info> <2A35EA60C3C77D438915767F458D6568806C25DE@ORSMSX111.amr.corp.intel.com> <54CFB38E.1040408@ignoranthack.me> <2A35EA60C3C77D438915767F458D6568806C268D@ORSMSX111.amr.corp.intel.com> In-Reply-To: <2A35EA60C3C77D438915767F458D6568806C268D@ORSMSX111.amr.corp.intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: "Pieper, Jeffrey E" , FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2015 04:11:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 02/02/15 09:35, Pieper, Jeffrey E wrote: > In the past we have, yes. This was a few years ago, but iirc the > current implementation is supposed to be the official solution. > > Jeff Jeff: Thanks for you feedback. Jack: I've tried compiling with EM_MULTIQUEUE set to 1 and changing num_queues to 2 and current just for fun. It panics on initialization. Not sure if you guys care or not. diff: Index: sys/dev/e1000/if_em.c =================================================================== - --- sys/dev/e1000/if_em.c (revision 273639) +++ sys/dev/e1000/if_em.c (working copy) @@ -88,6 +88,7 @@ #include "e1000_82571.h" #include "if_em.h" +#define EM_MULTIQUEUE 1 /********************************************************************* * Set this to one to display debug statistics *********************************************************************/ @@ -2438,7 +2439,7 @@ adapter->hw.hw_addr = (u8 *)&adapter->osdep.mem_bus_space_handle; /* Default to a single queue */ - - adapter->num_queues = 1; + adapter->num_queues = 2; /* * Setup MSI/X or MSI if PCI Express panic: Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xffffffff8093bf6d stack pointer = 0x28:0xfffffe011e3b1b80 frame pointer = 0x28:0xfffffe011e3b1bb0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (em0 rxq) trap number = 9 panic: general protection fault cpuid = 0 KDB: stack backtrace: #0 0xffffffff8092e150 at kdb_backtrace+0x60 #1 0xffffffff808f76c1 at panic+0x1c1 #2 0xffffffff80cbf93f at trap_fatal+0x38f #3 0xffffffff80cbf59e at trap+0x74e #4 0xffffffff80ca5132 at calltrap+0x8 #5 0xffffffff808ccaa1 at fork_exit+0x71 #6 0xffffffff80ca566e at fork_trampoline+0xe Uptime: 1s Automatic reboot in 15 seconds - press a key on the console to abort -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJU0u1OXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5k7nYIAIq91wQcbtQQn/+EFHoiB6+z P0qOT0cytI1x3Bfm38e+CjtoZE2/198xUypAYJlzSIT4MVPVEnqQKEn8m2dRKSmJ bqHES/bA5Ho4M7Io3T5A2/aPBKXPyMFTUt38mYoui94fRezuOu48Q0967cwzR8k0 JTPIBlybfiZfoVv7eX7w+aOOJ2ErTWQC/EBCpnKuESVEi2zHKorvZsZdq+zVMpKh QZTZj//SF+22c1Jaab0AtocwUCM5mjO77kF6sDVRUFXquDCTyMH9/ieS9SeUwVrP F9H4yNoQPHJ9QAV14BRHWoOKOUUvKMEzrTOQOoTgckxxxUiyt2UzajSTsjuffoM= =Zbdu -----END PGP SIGNATURE-----