- 03 Jun, 2015 11 commits
-
-
Sean Bruno authored
up to 2 rx/tx queues for the 82574. Program the 82574 to enable 5 msix vectors, assign 1 to each rx queue, 1 to each tx queue and 1 to the link handler. Inspired by DragonFlyBSD, enable some RSS logic for handling tx queue handling/processing. Move multiqueue handler functions so that they line up better in a diff review to if_igb.c Always enqueue tx work to be done in em_mq_start, if unable to acquire the TX lock, then this will be processed in the background later by the taskqueue. Remove mbuf argument from em_start_mq_locked() as the work is always enqueued. (stolen from igb) Setup TARC, TXDCTL and RXDCTL registers for better performance and stability in multiqueue and singlequeue implementations. Handle Intel errata 3 and generic multiqueue behavior with the initialization of TARC(0) and TARC(1) Bind interrupt threads to cpus in order. (stolen from igb) Add 2 new DDB functions, one to display the queue(s) and their settings and one to reset the adapter. Primarily used for debugging. In the multiqueue configuration, bump RXD and TXD ring size to max for the adapter (4096). Setup an RDTR of 64 and an RADV of 128 in multiqueue configuration to cut down on the number of interrupts. RADV was arbitrarily set to 2x RDTR and can be adjusted as needed. Cleanup the display in top a bit to make it clearer where the taskqueue threads are running and what they should be doing. Ensure that both queues are processed by em_local_timer() by writing them both to the IMS register to generate soft interrupts. Ensure that an soft interrupt is generated when em_msix_link() is run so that any races between assertion of the link/status interrupt and a rx/tx interrupt are handled. Document existing tuneables: hw.em.eee_setting, hw.em.msix, hw.em.smart_pwr_down, hw.em.sbp Document use of hw.em.num_queues and the new kernel option EM_MULTIQUEUE Thanks to Intel for their continued support of FreeBSD. Reviewed by: erj jfv hiren gnn wblock Obtained from: Intel Corporation MFC after: 2 weeks Relnotes: Yes Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D1994
-
John-Mark Gurney authored
-
John-Mark Gurney authored
really the man page should be renamed as nanobsd.sh is not installed as nanobsd..
-
Hans Petter Selasky authored
-
Luiz Otavio O Souza authored
Pointy hat to: loos Reported by: araujo
-
Luiz Otavio O Souza authored
Previously the OACTIVE flag was being set when the tx descriptors are fully allocated but it wasn't unset anywhere. As soon as a packet is transmitted, unset the OACTIVE flag and call start routine to push any pending packets from the tx queue. This closes another race where a full tx queue would jam the tx path (tx queue is full, new packets cannot be added to queue and dwc_txstart never gets called).
-
Ian Lepore authored
On armv6, cache maintenance can trigger page faults. Add handling so that these turn into SIGSEGV that kills the process rather than panics that kill the kernel. Differential Revision: https://reviews.freebsd.org/D2035 Submitted by: Michal Meloun <meloun@miracle.cz>
-
Baptiste Daroussin authored
gzip(1) cannot be used as bootstrap tools as it depends on syscalls that only exists on HEAD
-
Baptiste Daroussin authored
This allows to not depend on gunzip(1) at bootstrap time, and is good enough to wait for upstream real implementation using zlib.
-
Andriy Gapon authored
Additionally, sort all real filesystems before the virtual ones. Differential Revision: https://reviews.freebsd.org/D2709 Reviewed by: grehan MFC after: 5 days
-
Baptiste Daroussin authored
with compressed manpages. This should fix spam during installworld: "exec: No such file or directory" Reported by: many
-
- 02 Jun, 2015 17 commits
-
-
Alexander Motin authored
smh@ at r278034 made it base17, that is somewhat odd. :) MFC after: 3 days
-
Gleb Smirnoff authored
Remove extra argument from iwi_wme_setparams(), a softc has 1 to 1 accordance with ieee80211com.
-
Gleb Smirnoff authored
This fatal mismatch appeared to be absolutely harmless, since both structs have pointer to struct ifnet as their first member, and they both point to the same ifnet. And the first member is the only one used from the argument.
-
Devin Teske authored
MFC after: 3 days X-MFC-to: stable/10
-
Ed Maste authored
PM starts at 12:00, not 13:00. PR: 194291, 200133 Submitted by: Nick Price MFC after: 1 week
-
Bryan Drewery authored
-
Eric van Gyzen authored
When providing memory map information to userland, populate the vnode pointer for tmpfs files. Set the memory mapping to appear as a vnode type, to match FreeBSD 9 behavior. This fixes the use of tmpfs files with the dtrace pid provider, procstat -v, procfs, linprocfs, pmc (pmcstat), and ptrace (PT_VM_ENTRY). Submitted by: Eric Badger <eric@badgerio.us> (initial revision) Obtained from: Dell Inc. PR: 198431 MFC after: 2 weeks Reviewed by: jhb Approved by: kib (mentor)
-
Sean Bruno authored
applying them to em(4). Rely on iterations through the local timer, and the tx queue state to determine if an actual hang has occurred. Any time a descriptor is used (packet sent), the tx queue is flagged as busy. Then when txeof runs, it either clears the flag when all is clean, or resets it to 1 if ANY are cleaned, if nothing is cleaned it increments the flag. Local timer simply checks to see if busy ever reaches MAX (10, which is compile time configurable), and then sets it as HUNG, at that point there is one more timer cycle in which to have any cleans, if not a watchdog reset will occur. Differential Revision: https://reviews.freebsd.org/D2019 Submitted by: jfv Reviewed by: hiren Obtained from: Intel Corporation MFC after: 2 weeks Relnotes: Yes Sponsored by: Limelight Networks
-
Hans Petter Selasky authored
stage processing is only allowed after the setup complete event has been received. Else a race may occur and the OUT data can be corrupted. While at it ensure resetting a FIFO has the required wait loop. MFC after: 3 days
-
Glen Barber authored
Sponsored by: The FreeBSD Foundation
-
Glen Barber authored
MFC after: 3 days Sponsored by: The FreeBSD Foundation
-
Ian Lepore authored
Also, validate the chipselect parameter before grabbing ownership of the hardware, and report timeout errors after releasing it. PR: 200584
-
Glen Barber authored
in the correct place. MFC after: 3 days Sponsored by: The FreeBSD Foundation
-
Marcelo Araujo authored
Differential Revision: D2688 Reviewed by: rodrigc, mav
-
Marcelo Araujo authored
Differential Revision: D2684 Reviewed by: rodrigc
-
Alexander Motin authored
is not negotiated as minimum, but only reported by sides to each other. MFC after: 1 week
-
Andrey V. Elsukov authored
outer addresses using multiple FIBs. X-MFC after: r282809
-
- 01 Jun, 2015 12 commits
-
-
Glen Barber authored
Disabling soft updates journaling appears to resolve issues with kernel panics, and may also be generally bad to have enabled for SD cards. Requested by: ian MFC after: 3 days Sponsored by: The FreeBSD Foundation
-
Glen Barber authored
pw(8) to set the correct /etc directory for the user/group files. Provided by: ian (thanks!) MFC after: 3 days X-MFC-with: r283894 Sponsored by: The FreeBSD Foundation
-
Glen Barber authored
user in the userland for the target image, but creates the user in the build chroot. Before this is re-enabled, I want to figure out a clean way to do this without requiring the overhead of third-party utilities (such as qemu). MFC after: 3 days Sponsored by: The FreeBSD Foundation
-
John Baldwin authored
-
Xin LI authored
Noticed by: jhb Reviewed by: sef Sponsored by: iXsystems, Inc. MFC after: 2 weeks
-
Xin LI authored
Without this, if a process was being traced by truss(1), which uses different p_stops bits than gdb(1), the latter would misbehave because of the unexpected bits. Reported by: jceel Submitted by: sef Sponsored by: iXsystems, Inc. MFC after: 2 weeks
-
Andrew Turner authored
-
Andrew Turner authored
return value. We use this bit to signal when a syscall has failed, and without this getcontext/setcontext may fail. MFC after: 1 week
-
Jack F Vogel authored
NOTE: This is a technology preview, while it has undergone development testing, Intel has not yet completed full validation of the feature. It is being integrated for early access and customer testing.
-
Jack F Vogel authored
-
Jack F Vogel authored
NOTE: This is a technology preview, while it has undergone development tests, Intel has not yet completed full validation of the feature. It is being integrated for early access and customer testing.
-
Hans Petter Selasky authored
-