summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove ixgbe from wrap kernelsRenato Botelho2016-02-262-2/+0
|
* The ixgbe is now built as an amd64 module. Remove the driver from kernel.Luiz Otavio O Souza2016-02-261-1/+0
|
* apply r295094 after latest import:Luiz Otavio O Souza2016-02-251-1/+4
| | | | | | Fix ixgbe flow control autoneg reporting Spotted by: Jorge Oliveira
* Fix the build... again...Luiz Otavio O Souza2016-02-251-0/+3
| | | | ixgbe_start_locked() is only available when IXGBE_LEGACY_TX is defined.
* Fix the build, there is no RSS support in stable/10.Luiz Otavio O Souza2016-02-252-0/+4
|
* Import of Intel ix-3.1.14 driver.Luiz Otavio O Souza2016-02-2510-470/+307
| | | | | | This is intended to fix the loss of link uppon applying certain settings to the interface. Ticket #5913
* Restore missing pieces lost during net80211 revertRenato Botelho2016-02-242-1/+2
| | | | | | | These chenages were introduced by b15337b0d that happened after we first import net80211 code from HEAD and were reverted together with it Add them back should fix the build
* Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-02-2419-447/+725
|\
| * MFC r295914: MFV r295913:delphij2016-02-241-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Partially apply upstream changeset 6e06b1c8 (kientzle). Limit filter recursion level to 25 (instead of infinite). This fixes a potential crash issue discovered by Alexander Cherepanov. PR: 207362 Reported by: Robert Clausecker Obtained from: libarchive github project Approved by: re (marius)
| * MFH: 285685araujo2016-02-245-4/+40
| | | | | | | | | | | | | | | | | | | | | | Add support to the jail framework to be able to mount linsysfs(5) and linprocfs(5). PR: 207179 Requested by: thomas@gibfest.dk Reviewed by: jamie, bapt Approved by: re (gjb) Sponsored by: gandi.net Differential Revision: https://reviews.freebsd.org/D5390
| * MFC [Hyper-V]: r294553, r294700sephe2016-02-249-188/+593
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r294553 hyperv/vmbus: Lookup channel through id table Vmbus event handler will need to find the channel by its relative id, when software interrupt for event happens. The original lookup searches the channel list, which is not very efficient. We now create a table indexed by the channel relative id to speed up the channel lookup. Submitted by: Hongjiang Zhang <honzhan microsoft com> Reviewed by: delphij, adrain, sephe, Dexuan Cui <decui microsoft com> Approved by: adrian (mentor) Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D4802 ------------- r294700 hyperv/hn: Partly rework transmission path - Avoid unnecessary malloc/free on transmission path. - busdma(9)-fy transmission path. - Properly handle IFF_DRV_OACTIVE. This should fix the network stalls reported by many. - Properly setup TSO parameters. - Properly handle bpf(4) tapping. This 5 times the performance during TCP sending test, when there is one bpf(4) attached. - Allow size of chimney sending be tuned on a running system. Default value still needs more test to determine. Reviewed by: adrian, delphij Approved by: adrian (mentor) Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D4972 Approved by: re (marius) Sponsored by: Microsoft OSTC
| * In preparation for 10.3-RELEASE, temporarily revert the MFC of r291244marius2016-02-231-242/+80
| | | | | | | | | | | | | | | | | | | | | | done as part of r292895 on stable/10 as that change causes hangs with ZFS and the cause on at least amd64 so far not understood. Discussed with: kib For further information see: https://lists.freebsd.org/pipermail/freebsd-stable/2016-February/084045.html PR: 207281 Approved by: re (gjb)
| * MFC r295665:bdrewery2016-02-231-8/+0
| | | | | | | | | | | | Remove temporary hack from r294370 for SSH upgrades. Approved by: re (marius)
| * MFC r295737:markj2016-02-221-2/+3
| | | | | | | | | | | | | | Use the _SAFE loop variant. PR: 207146 Approved by: re (gjb, glebius)
| * MFC r295574:markj2016-02-221-1/+4
| | | | | | | | | | | | Clear the cookie pointer on error in tmpfs_readdir(). Approved by: re (glebius)
* | Revert "Revert 295285 which was an MFC of the tryforward work ↵Renato Botelho2016-02-2210-151/+20
| | | | | | | | | | | | | | | | | | (r290383,295282,295283)" We are keeping tryforward enabled on pfSense since we do not use IPFW + NAT This reverts commit b899cad3faf3673f41a3fcf021164dcd7ee19a7e.
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-02-2210-20/+151
|\ \ | |/
| * Revert 295285 which was an MFC of the tryforward work (r290383,295282,295283)gnn2016-02-2210-20/+151
| | | | | | | | | | | | | | In the IPFW+NAT+divergent MTU case there is a bug in sening ICMP MTU updates. Approved by: re (marius, gjb) Sponsored by: Rubicon Communications (Netgate)
* | Revert "Importing pfSense patches net80211HEAD.tgz and conf.file.ieee80211.diff"Renato Botelho2016-02-22168-44317/+4879
| | | | | | | | This reverts commit 6ee75bdd7bf7c20359dd6e38c243586cb062edea.
* | Revert "Fix the build after net80211HEAD.tgz."Renato Botelho2016-02-222-2/+1
| | | | | | | | This reverts commit b05262eae8651c5f280c6fadf2e22f70af66d6ca.
* | Merge remote-tracking branch 'origin/stable/10' into develLuiz Otavio O Souza2016-02-221-2/+2
|\ \ | |/
| * MFC r286641 (from oshogbo):garga2016-02-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Use correct src/dst ports when removing states. Submitted by: Milosz Kaniewski <m.kaniewski@wheelsystems.com>, UMEZAWA Takeshi <umezawa@iij.ad.jp> (orginal) Reviewed by: glebius Approved by: re (marius) Obtained from: OpenBSD Sponsored by: Rubicon Communications (Netgate) Differential revision: https://reviews.freebsd.org/D5392
* | Revert "MFC of r286641:"Luiz Otavio O Souza2016-02-221-2/+2
| | | | | | | | This reverts commit b8ac7a6968caff799a8f2b7eaa7b50a44102e35f.
* | Correct a mis-merge when imported VLAN PCP code:Renato Botelho2016-02-221-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | There was a mistake when code was imported that lead us to end up with duplicated block of code on IPv6 code path while one of these blocks belong to IPv4. Whithout this patch pf wouldn't apply vlan pcp value correctly to outbound IPv4 traffic. Patch: pf_802.1p.diff Submitted by: Matthew Grooms <mgrooms@shrew.net>
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-02-227-31/+1319
|\ \ | |/
| * MFC: r287299 [1]marius2016-02-223-23/+1227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a gop command to help diagnose VT efifb problems. The gop command has the following sub-commands: list - list all possible modes (paged) get - return the current mode set <mode> - set the current mode to <mode> MFC: r287317, r287422, r287475, r287489, r287538 [2] Add support for the UGA draw protocol. This includes adding a command called 'uga' to show whether UGA is implemented by the firmware and what the settings are. It also includes filling the efi_fb structure from the UGA information when GOP isn't implemented by the firmware. PR: 207313 [1], 202730 [2] Approved by: re (gjb)
| * MFC: r264565marius2016-02-211-1/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not set M_BESTFIT if a strategy has already been provided. This fixes problems when using M_FIRSTFIT. MFC: r280805 Add four new DDB commands to display vmem(9) statistics. In particular, such DDB commands were added: show vmem <addr> show all vmem show vmemdump <addr> show all vmemdump As possible usage, that allows to see KVA usage and fragmentation. Approved by: re (gjb)
| * MFH (r294326): fall back to standard / configured CA storedes2016-02-201-3/+10
| | | | | | | | | | PR: 193871 Approved by: re (gjb)
| * MFC r272785:smh2016-02-201-3/+5
| | | | | | | | | | | | | | | | Null terminate boot config buffer PR: 207070 Approved by: re (gjb) Sponsored by: Multiplay
| * MFC, r295417:ken2016-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | r295417 | ken | 2016-02-08 15:13:08 -0700 (Mon, 08 Feb 2016) | 9 lines Fix the SCSI Extended INQUIRY probe case when an error is returned and a retry is scheduled. Instead of leaving the device queue frozen, unfreeze the device queue so that the retry can happen. Sponsored by: Spectra Logic Approved by: re (gjb)
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-02-1920-205/+649
|\ \ | |/
| * MFC [Hyper-V]: r293719-r293722, r293869-r293871, r293873-r293875, r293877sephe2016-02-1916-189/+603
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r293719 hyperv/hn: Implement LRO r293720 hyperv/hn: Implement SIOC[SG]IFMEDIA support r293721 hyperv/hn: Avoid mbuf cluster allocation, if the packet is small. r293722 hyperv/hn: Removed unused netvsc_init() r293869 hyperv/hn: Unbreak LINT-NOIP r293870 hyperv: use x86 generic code to do the hypervisor detection r293871 hyperv: remove unused vmbus definitions r293873 hyperv: implement an event timer r293874 hyperv: add interrupt counters r293875 hyperv: set receive buffer size according to NVSP protocol version r293877 Unbreak `make depend` with sys/modules/hyperv/vmbus after r293870 Approved by: re (glebius), adrian (mentor) Sponsored by: Microsoft OSTC
| * MFC r295616:pfg2016-02-171-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | ext2fs: Remove panics for rename() race conditions. Sync with r84642 from UFS: The panics are inappropriate because the IN_RENAME flag only fixes a few of the huge number of race conditions that can result in the source path becoming invalid even prior to the VOP_RENAME() call. Approved by: re (glebius)
| * MFC r295022:jimharris2016-02-172-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nvd: add hw.nvd.delete_max tunable The NVMe specification does not define a maximum or optimal delete size, so technically max delete size is min(full size of namespace, 2^32 - 1 LBAs). A single delete operation for a multi-TB NVMe namespace though may take much longer to complete than the nvme(4) I/O timeout period. So choose a sensible default here that is still suitably large to minimize the number of overall delete operations. This also fixes possible uint32_t overflow on initial TRIM operation for zpool create operations for NVMe namespaces with >4G LBAs. Approved by: re (glebius) Sponsored by: Intel
| * MFC r295532:jimharris2016-02-171-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nvme: avoid duplicate SET_NUM_QUEUES commands nvme(4) issues a SET_NUM_QUEUES command during device initialization to ensure enough I/O queues exists for each of the MSI-X vectors we have allocated. The SET_NUM_QUEUES command is then issued again during nvme_ctrlr_start(), to ensure that is properly set after any controller reset. At least one NVMe drive exists which fails this second SET_NUM_QUEUES command during device initialization. So change nvme_ctrlr_start() to only issue its SET_NUM_QUEUES command when it is coming out of a reset - avoiding the duplicate SET_NUM_QUEUES during device initialization. Approved by: re (glebius) Sponsored by: Intel
* | MFC of r286641:Luiz Otavio O Souza2016-02-181-2/+2
| | | | | | | | | | | | | | | | | | | | Use correct src/dst ports when removing states. Submitted by: Milosz Kaniewski <m.kaniewski@wheelsystems.com>, UMEZAWA Takeshi <umezawa@iij.ad.jp> (original) Reviewed by: glebius Approved by: pjd (mentor) Obtained from: OpenBSD
* | Importing pfSense patch pfaltq_interface_bw.diffLuiz Otavio O Souza2016-02-171-8/+5
| | | | | | | | Sets default speed to 1G.
* | Revert "Importing pfSense patch pfaltq_interface_bw.diff"Luiz Otavio O Souza2016-02-171-5/+8
| | | | | | | | This reverts commit 9b3c3fc58b6b3162259b33fc56746f42a48e0301.
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-02-1723-165/+287
|\ \ | |/
| * MFH (r295536): fix double-free error when SSL connection failsdes2016-02-171-1/+0
| | | | | | | | | | | | PR: 206774 Submitted by: Christian Heckendorf <heckendorfc@gmail.com> Approved by: re (glebius)
| * MFH (r295535): use insecure-lan-zones option instead of hardcoded listdes2016-02-1715-139/+269
| | | | | | | | | | Approved by: re (glebius) Relnotes: yes
| * MFH (r295533): remove broken unbound-control-setup scriptdes2016-02-173-2/+2
| | | | | | | | | | Approved by: re (glebius) Relnotes: yes
| * MFC r295455bapt2016-02-161-1/+2
| | | | | | | | | | | | | | Fix make universe when running with non POSIX/C locales using a locale sensitive pattern Approved by: re@ (gjb, marius)
| * MFC 295418,295419:jhb2016-02-162-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix hangs or panics when misbehaved kernel threads return from their main function. 295418: Mark proc0 as a kernel process via the P_KTHREAD flag. All other kernel processes have this flag set and all threads in proc0 (including thread0) have the similar TDP_KTHREAD flag set. 295419: Call kthread_exit() rather than kproc_exit() for a premature kthread exit. Kernel threads (and processes) are supposed to call kthread_exit() (or kproc_exit()) to terminate. However, the kernel includes a fallback in fork_exit() to force a kthread exit if a kernel thread's "main" routine returns. This fallback was added back when the kernel only had processes and was not updated to call kthread_exit() instead of kproc_exit() when threads were added to the kernel. This mistake was particularly exciting when the errant thread belonged to proc0. Due to the missing P_KTHREAD flag the fallback did not kick in and instead tried to return to userland via whatever garbage was in the trapframe. With P_KTHREAD set it tried to terminate proc0 resulting in other amusements. PR: 204999 Approved by: re (glebius)
| * MFC r295497: Update uefi.8 for ZFS and multi device boot supportemaste2016-02-161-20/+12
| | | | | | | | Approved by: re (gjb)
* | Import patch from https://reviews.freebsd.org/D5186Renato Botelho2016-02-154-7/+11
| | | | | | | | | | This is a new approach to fix pfSense ticket #4523. The fix we had in place works but makes the process really slow for big user databases.
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-02-1510-25/+43
|\ \ | |/
| * drm/i915: Restore pci_enable_busmaster() call in the init pathdumbbell2016-02-155-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a GPU hang on i945GM. While here, merge some minor fixes to DRM core and i915: * Remove obsolete drm_agp_*_memory() prototypes * Fix comment in drm_fops.c (outisde -> outside) * Fix some formatting issues in drm_stub.c (spaces -> tabs) Approved by: re (marius) MFC of: r288653, r288952, r293851 Submitted by: <s3erios@gmail.com> Differential Revision: https://reviews.freebsd.org/D3413
| * MFC r295495 - Update leapsecond file in non-chroot environments.cy2016-02-141-4/+4
| | | | | | | | | | | | PR: 207095 Submitted by: madpilot Approved by: re (marius)
| * MFC r295496: Document boot1.efi's handling of /boot.configemaste2016-02-141-1/+12
| | | | | | | | Approved by: re (marius)
OpenPOWER on IntegriCloud