| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Reported by: Coverity Scan
CID: 978805, 980919
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Don't segfault when reading malformed cpio archives.
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
Remove references to Giant in namei(9). This was removed in r241896.
|
|
|
|
|
|
|
|
| |
Add -noauto autofs map, for automatic handling of fstab entries
marked "noauto".
Relnotes: yes
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Get executable direct maps to work.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Rework the concat() algorithm to be correct in all cases.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Make "automount -LL -o whatever" present options in the same order
as used by automountd(8).
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Make concat() accept NULL arguments.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Options from auto_master must be appended to options from maps,
not prepended.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Fix typo.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Properly pass options for direct maps.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
ELF Tool Chain ticket #467
Reported by: Alexander Cherepanov <cherepan@mccme.ru>
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Refactor.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Make things more readable; no functional changes.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
| |
Remove some particularly bad code; no functional changes.
MFC r279815:
Erm, revert chunk committed by mistake.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Fix memory leak.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
| |
Improve separated_concat() to properly handle the case of concatenating
"/" and "/foo".
|
|
|
|
| |
Minor optimization/cleanup in node_path(); no functional changes.
|
|
|
|
|
|
| |
Use newly added GEOM notifications to discard autofs caches.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Improve documentation for autofs variables and executable maps;
also some markup fixes.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Make /net use -intr by default. Linux does that, and it seems a good idea.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
atkbd: remove usage of x86bios
Remove leftover from r282269.
|
|
|
|
|
|
| |
netfront: wait for backend to connect before sending ARP
Sponsored by: Citrix Systems R&D
|
|
|
|
|
|
| |
sfxge: do not advertise LRO capability if LRO is compiled out
Sponsored by: Solarflare Communications, Inc.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
sfxge: allow to disable checksum offloads over VLAN
It just affects capabilities of the created VLAN interface.
Sponsored by: Solarflare Communications, Inc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
sfxge: advertise IPv6 Rx and Tx checksum offload support
Tx checksum offload may be enabled/disabled.
Sponsored by: Solarflare Communications, Inc.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
sfxge: add local variable with Rx descriptor flags
Sponsored by: Solarflare Communications, Inc.
|
|
|
|
|
|
| |
sfxge: add missing const qualifier to sfxge_link_mode
Sponsored by: Solarflare Communications, Inc.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Add new USB ID.
PR: 199843
|
|
|
|
|
|
| |
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.
|