Intel 82574L (em)
Sean Bruno
sbruno at ignoranthack.me
Thu Feb 5 04:11:01 UTC 2015
-----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-----
More information about the freebsd-net
mailing list