summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r282212:whu2015-05-2220-476/+1812
| | | | | | | | | | | | | | | | | | | | | Microsoft vmbus, storage and other related driver enhancements for HyperV. - Vmbus multi channel support. - Vector interrupt support. - Signal optimization. - Storvsc driver performance improvement. - Scatter and gather support for storvsc driver. - Minor bug fix for KVP driver. Thanks royger, jhb and delphij from FreeBSD community for the reviews and comments. Also thanks Hovy Xu from NetApp for the contributions to the storvsc driver. PR: 195238 Submitted by: whu Reviewed by: royger Approved by: royger Relnotes: yes Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D2575
* MFC r282944:kib2015-05-222-22/+30
| | | | | | Decrement p_boundary_count in the single-threading thread, during making other thread runnable. This guarantees that upon return from the thread_single_end(), p_boundary_count is zero.
* MFC r282613: MFV r282611: netcat from OpenBSD 5.7.delphij2015-05-211-53/+227
|
* MFC r282863:pfg2015-05-211-1/+1
| | | | | | | | Adjust visibility macros. The GCC visibility attributes were introduced in GCC 4.0. Apparently the "protected" attribute was introduced only until GCC 4.2, but we are not currently using it.
* MFC r258431: Disable amd64 boot time memory test by defaultemaste2015-05-211-6/+8
| | | | | | | | | | The page presence memory test takes a long time on large memory systems and has little value on contemporary amd64 hardware. Relnotes: Yes Reviewed by: jhb, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1544
* MFC r282144: crunchide: add basic string table sanity checksemaste2015-05-211-6/+13
| | | | | | Reported by: Coverity Scan CID: 978805, 980919 Sponsored by: The FreeBSD Foundation
* MFC r282932: MFV r282927,r282928,r282930 (kientzle):delphij2015-05-212-8/+16
| | | | Don't segfault when reading malformed cpio archives.
* MFC r282608:delphij2015-05-212-4/+13
| | | | | | | | date(1): Make -r behave like GNU's version when the option can not be interpreted as a number, which checks the file's modification time and use that as the date/time value. This improves compatibility with GNU coreutils's version of date(1).
* MFC r282574:bdrewery2015-05-213-18/+3
| | | | Remove references to Giant in namei(9). This was removed in r241896.
* MFC r279955:trasz2015-05-214-2/+37
| | | | | | | | Add -noauto autofs map, for automatic handling of fstab entries marked "noauto". Relnotes: yes Sponsored by: The FreeBSD Foundation
* MFC r279954:trasz2015-05-211-10/+23
| | | | | | Get executable direct maps to work. Sponsored by: The FreeBSD Foundation
* MFC r279953:trasz2015-05-211-7/+16
| | | | | | Rework the concat() algorithm to be correct in all cases. Sponsored by: The FreeBSD Foundation
* MFC r279916:trasz2015-05-213-9/+16
| | | | | | | Make "automount -LL -o whatever" present options in the same order as used by automountd(8). Sponsored by: The FreeBSD Foundation
* MFC r279915:trasz2015-05-213-17/+8
| | | | | | Make concat() accept NULL arguments. Sponsored by: The FreeBSD Foundation
* MFC r279914:trasz2015-05-211-1/+5
| | | | | | | Options from auto_master must be appended to options from maps, not prepended. Sponsored by: The FreeBSD Foundation
* MFC r279851:trasz2015-05-211-2/+2
| | | | | | Fix typo. Sponsored by: The FreeBSD Foundation
* MFC r279846:trasz2015-05-212-27/+18
| | | | | | Properly pass options for direct maps. Sponsored by: The FreeBSD Foundation
* MFC r276774: ar: Avoid null pointer deref while reading corrupt archivesemaste2015-05-211-1/+2
| | | | | | | ELF Tool Chain ticket #467 Reported by: Alexander Cherepanov <cherepan@mccme.ru> Sponsored by: The FreeBSD Foundation
* MFC r279845:trasz2015-05-211-17/+25
| | | | | | | Fix handling of direct maps, broken in r275756. Previously, running automount(8) would unmount direct map trigger nodes every second time. Sponsored by: The FreeBSD Foundation
* MFC r279843:trasz2015-05-211-9/+14
| | | | | | Refactor. Sponsored by: The FreeBSD Foundation
* MFC r279813:trasz2015-05-215-22/+16
| | | | | | Make things more readable; no functional changes. Sponsored by: The FreeBSD Foundation
* MFC r279812:trasz2015-05-211-43/+6
| | | | | | | | | | Remove some particularly bad code; no functional changes. MFC r279815: Erm, revert chunk committed by mistake. Sponsored by: The FreeBSD Foundation
* MFC r279808:trasz2015-05-211-2/+4
| | | | | | Fix memory leak. Sponsored by: The FreeBSD Foundation
* MFC r279807:trasz2015-05-211-2/+8
| | | | | Improve separated_concat() to properly handle the case of concatenating "/" and "/foo".
* MFC r279806:trasz2015-05-211-10/+12
| | | | Minor optimization/cleanup in node_path(); no functional changes.
* MFC r277171:trasz2015-05-211-9/+4
| | | | | | Use newly added GEOM notifications to discard autofs caches. Sponsored by: The FreeBSD Foundation
* MFC r276883:trasz2015-05-211-3/+58
| | | | | | | Improve documentation for autofs variables and executable maps; also some markup fixes. Sponsored by: The FreeBSD Foundation
* MFC r276833:trasz2015-05-211-1/+1
| | | | | | Make /net use -intr by default. Linux does that, and it seems a good idea. Sponsored by: The FreeBSD Foundation
* MFC r275681:trasz2015-05-215-7/+118
| | | | | | | | | | | | | | Add "-media" autofs map, to access data on removable media, such as CD drives or flash keys. It can be enabled by uncommenting a single entry in default /etc/auto_master. It can also be easily modified to use fuse-based filesystems instead of in-kernel ones. There is still one deficiency - the mountpoints are permanent, they don't disappear when user removes the media. Fixing it needs some autofs changes. Relnotes: yes Sponsored by: The FreeBSD Foundation
* MFC: r282269, r282277royger2015-05-213-70/+22
| | | | | atkbd: remove usage of x86bios Remove leftover from r282269.
* MFC: r282908royger2015-05-211-4/+5
| | | | | | netfront: wait for backend to connect before sending ARP Sponsored by: Citrix Systems R&D
* MFC: r283051arybchik2015-05-211-2/+7
| | | | | | sfxge: do not advertise LRO capability if LRO is compiled out Sponsored by: Solarflare Communications, Inc.
* MFC: r283050arybchik2015-05-211-5/+34
| | | | | | | | sfxge: automatically turn off TSO when Tx checksum offload is disabled Also return error if TSO is requested without Tx checksum offload. Sponsored by: Solarflare Communications, Inc.
* MFC: r283049arybchik2015-05-211-1/+1
| | | | | | | | sfxge: allow to disable checksum offloads over VLAN It just affects capabilities of the created VLAN interface. Sponsored by: Solarflare Communications, Inc.
* MFC: r283048arybchik2015-05-211-8/+2
| | | | | | | | | | | | | | | | | | | | | | sfxge: fix overflow queue freeze If TxQ lock is obtained, deferred packet list shold be serviced even if the packet addition fails because of overflow. Without the patch freeze happens if: - queue is not blocked (i.e. completion does not trigger unblock and service) - put-list overflow (1024 entries) - sfxge_tx_packet_add() acquires TxQ lock just as it is released it in sfxge_tx_qdpl_service() on the second CPU but before pending check - sfxge_tx_packet_add() swizzles put-list to get-list, fails because of non-tcp get-list overflow and returns without packet list service - sfxge_tx_qdpl_service() on the second CPU checks that there are no pending packets in the put-list and returns Other possible solution is to guaranee that maximum length of the put-list is less than maximum length of any get-list. Sponsored by: Solarflare Communications, Inc.
* MFC: r283007arybchik2015-05-211-25/+107
| | | | | | | | | | sfxge: avoid usage of ifm_data The driver uses ifm_data to save capabilities mask calculated during initialization when supported phy modes are discovered. The patch simply calculates it when either media or options are changed. Sponsored by: Solarflare Communications, Inc.
* MFC: r283000arybchik2015-05-211-4/+17
| | | | | | | | | sfxge: add local variable with changed capabilities mask It is required for the next patch which adds dependency of TSO capabilities from Tx checksum offloads. Sponsored by: Solarflare Communications, Inc.
* MFC: r282998arybchik2015-05-211-8/+5
| | | | | | | | | sfxge: move mbuf free to sfxge_if_transmit() It is a preparation to the next patch which will service packet queue even if packet addtion fails. Sponsored by: Solarflare Communications, Inc.
* MFC: r282997arybchik2015-05-211-10/+10
| | | | | | | | | sfxge: get rid of locked variable in sfxge_tx_packet_add() Now each branch has one and only one possible TxQ lock state. It simplifies understanding of the code. Sponsored by: Solarflare Communications, Inc.
* MFC: r282996arybchik2015-05-212-14/+30
| | | | | | | | | sfxge: support Rx checksum offloads disabling We can't disable it in HW, but we can ignore result. Discard Rx descriptor checksum flags if Rx checksum offload is off. Sponsored by: Solarflare Communications, Inc.
* MFC: r282942arybchik2015-05-212-64/+79
| | | | | | | | | sfxge: split sfxge_tx_qdpl_put() into *_locked() and *_unlocked() It simplifies understanding of the sfxge_tx_packet_add() logic and avoids passing of 'locked' to called function. Sponsored by: Solarflare Communications, Inc.
* MFC: r282941arybchik2015-05-211-4/+8
| | | | | | | | | | | sfxge: do not change CSUM_TSO when IFCAP_TSOx is changed It is simply not required since the kernel checks corresponding IFCAP_TSOx capability and CSUM_TSO in hw-assisted offloads. Note that CSUM_TSO is two bits (CSUM_IP_TSO|CSUM_IP6_TSO) and both bits are set in IPv4 and IPv6 mbufs. Sponsored by: Solarflare Communications, Inc.
* MFC: r282940arybchik2015-05-211-6/+13
| | | | | | | | | sfxge: LRO may be done only if checksums are OK Also it is cheaper to check Rx descriptor flags than TCP protocol in IP header. Sponsored by: Solarflare Communications, Inc.
* MFC: r282903arybchik2015-05-212-2/+10
| | | | | | | | sfxge: advertise IPv6 Rx and Tx checksum offload support Tx checksum offload may be enabled/disabled. Sponsored by: Solarflare Communications, Inc.
* MFC: r282900arybchik2015-05-211-3/+3
| | | | | | | | sfxge: IPv4 Tx checksum offload may be disabled in fact Split IFCAP_HWCSUM to IFCAP_RXCSUM and IFCAP_TXCSUM to highlight Tx and Rx. Sponsored by: Solarflare Communications, Inc.
* MFC: r282899arybchik2015-05-211-3/+4
| | | | | | sfxge: add local variable with Rx descriptor flags Sponsored by: Solarflare Communications, Inc.
* MFC: r282897arybchik2015-05-211-1/+1
| | | | | | sfxge: add missing const qualifier to sfxge_link_mode Sponsored by: Solarflare Communications, Inc.
* MFC r282594:ae2015-05-211-0/+1
| | | | | | | m_dup() is supposed to give a writable copy of an mbuf chain. It uses m_dup_pkthdr(), that uses M_COPYFLAGS mask to copy m_flags field. If original mbuf chain has M_RDONLY flag, its copy also will have it. Reset this flag explicitly.
* MFC r282505:hselasky2015-05-212-0/+2
| | | | | | Add new USB ID. PR: 199843
* MFC r282017:hselasky2015-05-211-3/+10
| | | | | | Allow DSP basename cloning to be disabled or enabled at boot and runtime. This is useful when implementing OSS sound stacks in userspace via libcuse for example.
OpenPOWER on IntegriCloud