summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r291982:ngie2015-12-151-2/+1
| | | | | | | Skip the MAC portacl tests if MAC_PORTACL support is missing instead of marking them failed Sponsored by: EMC / Isilon Storage Division
* Partial MFC r291349:bdrewery2015-12-151-0/+3
| | | | | | | Standardize on OBJTOP in and outside of META MODE. For stable/10 this means bringing OBJTOP support in which simplifies MFCs.
* Add SRCTOP and RELDIR support.bdrewery2015-12-151-0/+13
| | | | | | | This is a direct commit to stable/10. It allows simpler MFCing from head where these are being used more frequently. Sponsored by: EMC / Isilon Storage Division
* MFC: r291536rmacklem2015-12-143-1/+15
| | | | | | | | Add support for the new "-manage-gids" option for the nfsuserd daemon to the rc scripts. With these changes, setting nfs_server_managegids="YES" in /etc/rc.conf will enable this capability. Relnotes: yes
* MFC: r291535rmacklem2015-12-141-4/+18
| | | | | Document the new "-manage-gids" option for the nfsuserd daemon. This is a content change.
* MFC: r291534rmacklem2015-12-141-9/+51
| | | | | | | | | | Add support for the "-manage-gids" option to the nfsuserd daemon. When this option is set, the NFS server uses the list of groups acquired via getgrouplist(3) for the uid instead of the list of groups in the RPC request. This can be used to avoid the 16 gid limit for the group list in the RPC request. Relnotes: yes
* MFC r266566:bdrewery2015-12-141-1/+0
| | | | | | | | | | | | | | | | | Add .../share/mk to the default system make path. This will fix the problem with broken in-tree builds (which are used far more pervasively than I'd known outside the tree). However, weird results may now happen if at any point in the tree above you there happens to be a directory that has subdirectory of share/mk, as unpredictable results will follow. This was considered the lessor of the two evils, at least for now. In the future this will be removed again when the underlying issues are resolved. For MFCing, this is to ensure that when upgrading to head the share/mk in-tree is always used. Otherwise several build features will not work. This passes a build using head's bmake which has this as the default already. Relnotes: yes
* Bump __FreeBSD_version since r292223 changed the internal interfacermacklem2015-12-142-1/+6
| | | | | between the nfsd.ko and nfscommon.ko modules such that they need to be upgraded to-gether.
* MFC: r291527rmacklem2015-12-147-220/+548
| | | | | | | | | | | | | | | | Add kernel support to the NFS server for the "-manage-gids" option that will be added to the nfsuserd daemon in a future commit. It modifies the cache used by NFSv4 for name<-->id translation (both username/uid and group/gid) to support this. When "-manage-gids" is set, the server looks up each uid for the RPC and uses the list of groups cached in the server instead of the list of groups provided in the RPC request. The cached group list is acquired for the cache by the nfsuserd daemon via getgrouplist(3). This avoids the 16 groups limit for the list in the RPC request. Since the cache is now used for every RPC when "-manage-gids" is enabled, the code also modifies the cache to use a separate mutex for each hash list instead of a single global mutex.
* MFC r291942:bdrewery2015-12-141-1/+1
| | | | Add missing CLEANFILES.
* Fix the XEN build by disabling the mlx5 and mlx5en moduleshselasky2015-12-141-0/+3
| | | | | | | | when XEN is enabled. This is a direct commit to stable/10. Sponsored by: Mellanox Technologies
* Unbreak the powerpc/powerpc64 tinderboxngie2015-12-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | PR: 198805 Submitted by: sbruno MFC r280430: r280430 (by bz): Make ix_crcstrip a public symbol for the moment; it probably is not the right solution but I will leave it to experts to untangle this problem to properly stop the build failures. At the moment only if_ix.c includes dev/netmap/ixgbe_netmap.h which is good as ixgbe_netmap.h defines a couple of (file) static variables--thus local to if_ix.c. static int ix_crcstrip however now also got checked from ix_txrx.c (as an extern) and should not be visible there. In fact we do see powerpc and powerpc64 build failures because of this. It is unclear to me why on other (clang built?) architectures this does not lead to a reference of an undefined symbol and similar build breakage.
* MFH: r291957brueffer2015-12-141-2/+2
| | | | | | | Fix a comment typo in the code example. PR: 203497 Submitted by: chadf@triularity.org
* MFH: r291954brueffer2015-12-141-0/+1
| | | | | | | Add an MLINK for m_collapse. PR: 204205 Submitted by: avos
* MFH: r291950brueffer2015-12-141-1/+1
| | | | | | | Fix a typo in the CPUTYPE list. PR: 205099 Submitted by: xxjack12xx@gmail.com
* MFC r291939:hselasky2015-12-148-3/+1025
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the mlx5 shared driver code to the latest version, which include the following list of changes: - Added eswitch ACL table management Introduce API for managing ACL table. This API include the following features: 1) vlan filter - for VST/VGT+ support. 2) spoofcheck. 3) robust functionality to allow/drop general untagged/tagged traffic. 4) support for both ingress and egress ACL types. - Added loopback filter to the vacl table. - Added multicast list set in the vPort context - Added promiscuous mode set in the vPort context - Set the vlan list in vPort context 1) Check caps if VLAN list is not longer than FW supports 2) Set MODIFY_NIC_VPORT_CONTEXT command - Changed MLX5_EEPROM_MAX_BYTES from 48 to 32 so that a single EEPROM reading cannot cross the 128-byte boundary. Previously reading the MCIA register was done in batches of 48 bytes. The third reading would then by-pass the 127th byte, which means that part of the low page and part of the high page would be read at the same time, which created a bug: 1st: 0-47 bytes 2nd: 48-95 bytes 3rd: 96-143 bytes Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4411
* MFC r291938:hselasky2015-12-145-11/+140
| | | | | | | | | | | Add full support for Receive Side Scaling, RSS, to the mlx5en driver. This includes binding all interrupt and worker threads according to the RSS configuration, setting up correct Toeplitz hashing keys as given by RSS and setting the correct mbuf hashtype for all received traffic. Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4410
* MFC r290003:hselasky2015-12-141-1/+18
| | | | | | | Add support for binding IRQs to CPUs in the LinuxKPI. The new function added is for BSD only and does not exist in Linux. Sponsored by: Mellanox Technologies
* MFC r291932:hselasky2015-12-143-1/+21
| | | | | | | | | Add support for setting the TX moderation mode via a sysctl entry. TX completion events can be moderated in the same way like RX completion events. Expose this functionality by a sysctl variable. Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4409
* MFC r291931:hselasky2015-12-141-20/+3
| | | | | | | | | The firmware no longer supports setting a port MTU of zero bytes. Set the port MTU and then query it and report if any problems instead. Submitted by: Shahar Klein <shahark@mellanox.com> Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4408
* MFC r291684:hselasky2015-12-141-1/+7
| | | | | | | | Update the mlx5en(4) manual page. Submitted by: Mark Bloch <markb@mellanox.com> Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4348
* MFC r291703:hselasky2015-12-141-19/+268
| | | | Regenerate usb.conf .
* MFC r291953:hselasky2015-12-141-1/+1
| | | | | | | | | | | | When setting up VLANs on a Raspberry Pi ethernet port, the MTU drops from 1500 to 1496 bytes. The MTU should remain at 1500, extending the frame size as per IEEE 802.3. Adding IFCAP_VLAN_MTU to the if_capabilities field in the smsc driver solves the problem. The datasheet for the LAN9512 chip, section 3.2.3 states that the chip supports the extended frame. Submitted by: rpp@ci.com.au PR: 205050
* MFC r263985, r275646 and r289028:hselasky2015-12-143-3/+69
| | | | | | Add more USB IDs. PR: usb/188046
* MFC r291948:kib2015-12-141-6/+1
| | | | Use ANSI C definition.
* MFC r291837:ngie2015-12-133-4/+6
| | | | | | | | | | split.ih: - Create automatically generated include header for split.c main.c: - Use function definitions from debug.ih and split.ih instead of externs Sponsored by: EMC / Isilon Storage Division
* Revert r292168 -- I used the wrong commit message by accidentngie2015-12-133-6/+4
|
* MFC r276737,r289369,r289376,r289424,r291219,r291382,r291385,r291908:ngie2015-12-133-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r276737 (by imp): Remove old ioctl use and support, once and for all. r289369 (by emaste): newfs_msdos: rework option parsing to match NetBSD NetBSD split newfs_msdos in two so that they can reuse the file system creation part in makefs. This change is a step on the path of bringing that support to FreeBSD. Reviewed by: kib, pfg Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3905 r289376 (by emaste): newfs_msdos: move mkfs_msdos to separate file for later use in makefs Sponsored by: The FreeBSD Foundation r289424 (by emaste): newfs_msdos: prefer snprintf to sprintf Obtained from: NetBSD Sponsored by: The FreeBSD Foundation r291219 (by emaste): newfs_msdos: rework error handling for eventual use in makefs Return -1 on errors from mkfs_msdos() instead of err()/errx(), to allow different consumers to handle errors as appropriate. Obtained from: NetBSD Sponsored by: The FreeBSD Foundation r291382 (by emaste): mkfs_msdos: sync with NetBSD Add a sanity test and clean up whitespace. Obtained from: NetBSD r291385 (by emaste): Use netbsd usage() implementation in newfs_msdos In r289629 newfs_msdos option descriptions are available in mkfs_msdos.h. Obtained from: NetBSD r291908: Fix leak in mkfs_msdos(..) by initializing img to NULL and free'ing at the end of the function Differential Revision: https://reviews.freebsd.org/D4405 PR: 204943 Reviewed by: emaste, jilles Reported by: David Binderman <dcb314@hotmail.com> Sponsored by: EMC / Isilon Storage Division
* MFC r291980,r291981:ngie2015-12-133-1/+4
| | | | | | | | | | | | | | | | | r291980: Add missing va_ends for corresponding va_starts to clean up variable arguments initialized in _test_fmt(..) Reported by: cppcheck Sponsored by: EMC / Isilon Storage Division r291981: Delete bogus freeing of uninitialized data Reported by: cppcheck Sponsored by: EMC / Isilon Storage Division
* MFC r292013:ngie2015-12-132-4/+4
| | | | | | | Use stdint.h instead of inttypes.h as the latter pollutes namespace more Submitted by: bde Sponsored by: EMC / Isilon Storage Division
* MFC r291891:ngie2015-12-131-16/+21
| | | | | | | | Use .Fx instead of explicitly spelling out FreeBSD Fix several warnings reported by igor Sponsored by: EMC / Isilon Storage Division
* MFC r291896:ngie2015-12-131-23/+0
| | | | | | | | | | | | Remove unused atf.test.mk variables - ATF_BUILD_CC - ATF_BUILD_CPP - ATF_BUILD_CXX - ATF_SHELL - ATF_PREFIX Sponsored by: EMC / Isilon Storage Division
* MFC r291832,r291833,r291834,r291835,r291836,r291838:ngie2015-12-133-78/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r291832: Fix -Wformat warnings by using the correct format qualifiers Sponsored by: EMC / Isilon Storage Division r291833: - Use ANSI C function prototypes/definitions instead of K&R style ones - Add a missing return type for main(..) Sponsored by: EMC / Isilon Storage Division r291834: Add missing headers and sort #includes per style(9) Sponsored by: EMC / Isilon Storage Division r291835: Use ANSI C function prototypes/definitions instead of K&R style ones Sponsored by: EMC / Isilon Storage Division r291836: Use `==` instead of `=` in the function comment above split(..) so mkh -p exposes split(..). Sponsored by: EMC / Isilon Storage Division r291838: Fix -Wformat issues and minor whitespace issues in surrounding areas Sponsored by: EMC / Isilon Storage Division
* MFC r291983,r291984:ngie2015-12-132-4/+13
| | | | | | | | | | | | | | | | | r291983: Fix compilation warnings by adding unistd.h #include and missing return statements Sponsored by: EMC / Isilon Storage Division r291984: Add missing stdlib.h header Apply some minor style(9) fixes Sponsored by: EMC / Isilon Storage Division
* MFC r292004:ngie2015-12-132-0/+6
| | | | | | | | | | Fix compilation when -DDEBUG is defined by adding inttypes.h #include for intmax_t Differential Revision: https://reviews.freebsd.org/D4434 Reported by: cppcheck Reviewed by: jhb Sponsored by: EMC / Isilon Storage Division
* MFC r291979:ngie2015-12-131-0/+1
| | | | | | | Unbreak compiling getnetgrent.c with -DDEBUG after r236402 by adding a missing "}" Sponsored by: EMC / Isilon Storage Division
* MFC r291753:ngie2015-12-131-1/+7
| | | | | | | | | | | Fix scope of bridge_header and bridge_pcix_cap in mthca_reset(..) They're only used in the __linux__ case Differential Revision: https://reviews.freebsd.org/D4332 Reported by: cppcheck Reviewed by: hselasky Sponsored by: EMC / Isilon Storage Division
* Enable the mlx4en TSO limits.hselasky2015-12-111-2/+0
| | | | | | This is a direct commit to stable/10. Sponsored by: Mellanox Technologies
* MFC r290710, r291694, r291699 and r291793:hselasky2015-12-1117-2545/+1019
| | | | | | | | | | | | | | | | | | | - Fix print formatting compile warnings for Sparc64 and PowerPC platforms. - Updated the mlx4 and mlxen drivers to the latest version, v2.1.6: - Added support for dumping the SFP EEPROM content to dmesg. - Fixed handling of network interface capability IOCTLs. - Fixed race when loading and unloading the mlxen driver by applying appropriate locking. - Removed two unused C-files. - Convert the mlxen driver to use the BUSDMA(9) APIs instead of vtophys() when loading mbufs for transmission and reception. While at it all pointer arithmetic and cast qualifier issues were fixed, mostly related to transmission and reception. - Fix i386 build WITH_OFED=YES. Remove some redundant KASSERTs. Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4283 Differential Revision: https://reviews.freebsd.org/D4284
* MFC r291693:hselasky2015-12-111-0/+19
| | | | | | | | Add some structures and defines which will be used when decoding small form factor, SFF, standards compliant ethernet EEPROMs. Obtained from: Linux Sponsored by: Mellanox Technologies
* MFC r291408:kib2015-12-111-5/+6
| | | | | In vm_pageout_grow_cache(), do not re-try the inactive queue when active queue scan initiated write, to avoid infinite loop.
* MFC r291690:hselasky2015-12-111-4/+0
| | | | | | | Remove incorrect defines. The proper version of these macros is defined in linux/etherdevice.h. Sponsored by: Mellanox Technologies
* MFC r289231: Fix used function warnings in ixl(4)smh2015-12-111-0/+4
| | | | Sponsored by: Multiplay
* MFC r285768: LAA MAC/VLAN filter + success checksmh2015-12-111-1/+4
| | | | Sponsored by: Multiplay
* MFC r284049: Update SW4 to the Intel ixl/ixlvsmh2015-12-1120-252/+3261
| | | | Sponsored by: Multiplay
* MFC r283119: Remove executable property from ixlsmh2015-12-1119-0/+0
| | | | Sponsored by: Multiplay
* MFC r280043: Remove redundant sysctl_handle_stringsmh2015-12-111-2/+9
| | | | Sponsored by: Multiplay
* MFC r279858 & r279860: SRIOV & 20G supportsmh2015-12-1111-367/+1986
| | | | Sponsored by: Multiplay
* MFC r279232: Add native netmap support to ixlsmh2015-12-113-0/+514
| | | | Sponsored by: Multiplay
* MFC r279033: Bring the XL710 drivers up to the SW3smh2015-12-1112-234/+335
| | | | Sponsored by: Multiplay
OpenPOWER on IntegriCloud