svn commit: r278650 - in stable/10: sys/kern tools/sched usr.bin/man

2015-02-12 Thread Sean Bruno
Author: sbruno Date: Fri Feb 13 00:29:57 2015 New Revision: 278650 URL: https://svnweb.freebsd.org/changeset/base/278650 Log: MFC 272315 272757 274091 274902 r272315 Explicitly return None for negative event indices. Prior to this, eventat(-1) would return the next-to-last event causin

svn commit: r278693 - in stable/10: sys/kern tools/sched usr.bin/man

2015-02-13 Thread Sean Bruno
Author: sbruno Date: Fri Feb 13 18:45:44 2015 New Revision: 278693 URL: https://svnweb.freebsd.org/changeset/base/278693 Log: Revert r278650. Definite layer 8 bug. Submitted by: dhw and Thomas Mueller Modified: stable/10/sys/kern/kern_lock.c stable/10/sys/kern/kern_mutex.c stable/1

svn commit: r278694 - in stable/10: sys/kern tools/sched

2015-02-13 Thread Sean Bruno
Author: sbruno Date: Fri Feb 13 19:06:22 2015 New Revision: 278694 URL: https://svnweb.freebsd.org/changeset/base/278694 Log: MFC 272315 272757 274091 274902 for real this time r272315 Explicitly return None for negative event indices. Prior to this, eventat(-1) would return the n

svn commit: r278961 - stable/10/usr.sbin/binmiscctl

2015-02-18 Thread Sean Bruno
Author: sbruno Date: Wed Feb 18 16:28:55 2015 New Revision: 278961 URL: https://svnweb.freebsd.org/changeset/base/278961 Log: MFC r278827 Check for required arguments before accessing argv[0] and core dumping. Modified: stable/10/usr.sbin/binmiscctl/binmiscctl.c Directory Properties: s

svn commit: r283504 - stable/10/sys/dev/e1000

2015-05-24 Thread Sean Bruno
Author: sbruno Date: Mon May 25 00:30:26 2015 New Revision: 283504 URL: https://svnweb.freebsd.org/changeset/base/283504 Log: MFC r283290 Bump rx_overruns when indicated by the ICR mask. PR: 199716 Sponsored by: Limelight Networks Modified: stable/10/sys/dev/e1000/if_em.

svn commit: r284444 - stable/10/sys/dev/e1000

2015-06-16 Thread Sean Bruno
Author: sbruno Date: Tue Jun 16 12:10:55 2015 New Revision: 28 URL: https://svnweb.freebsd.org/changeset/base/28 Log: MFC r283923 Simplify hang detection by stealing the techniques used in ixl(4) and applying them to em(4). Rely on iterations through the local timer, and the

svn commit: r284522 - in stable/10: share/man/man4 sys/conf sys/dev/e1000 sys/dev/netmap sys/modules/em

2015-06-17 Thread Sean Bruno
Author: sbruno Date: Wed Jun 17 18:50:57 2015 New Revision: 284522 URL: https://svnweb.freebsd.org/changeset/base/284522 Log: MFC r284179, r283959 Implement multiqueue (max 2 tx/rx queues) for the 82574L chipset. Change default tuning parameters to handle this new configuration if EM

svn commit: r302901 - stable/10/sys/dev/e1000

2016-07-15 Thread Sean Bruno
Author: sbruno Date: Fri Jul 15 15:30:09 2016 New Revision: 302901 URL: https://svnweb.freebsd.org/changeset/base/302901 Log: MFC r297187 Support checksum offloading for TCP/IPV6 and UDP/IPV6. Support SCTP checksum offloading for SCTP/IPV6. Support SCTP checksum offloading on all contro

svn commit: r303107 - in stable/10/sys/dev: e1000 ixgb ixgbe ixl

2016-07-20 Thread Sean Bruno
Author: sbruno Date: Wed Jul 20 18:26:48 2016 New Revision: 303107 URL: https://svnweb.freebsd.org/changeset/base/303107 Log: MFC - r302384 to 10-STABLE Do not initialize the adapter on MTU change when adapter status is down. This fixes long-standing problems when changing settings of the ad

svn commit: r303116 - stable/10/sys/dev/e1000

2016-07-20 Thread Sean Bruno
Author: sbruno Date: Wed Jul 20 22:28:26 2016 New Revision: 303116 URL: https://svnweb.freebsd.org/changeset/base/303116 Log: Fix em(4) build after r303107 Reported by: Jason Wolf Modified: stable/10/sys/dev/e1000/if_em.c Modified: stable/10/sys/dev/e1000/if_em.c =

svn commit: r303117 - stable/10/sys/dev/e1000

2016-07-20 Thread Sean Bruno
Author: sbruno Date: Wed Jul 20 22:32:19 2016 New Revision: 303117 URL: https://svnweb.freebsd.org/changeset/base/303117 Log: Fix lem(4) build after r303107 Submitted by: Jason Wolfe Modified: stable/10/sys/dev/e1000/if_lem.c Modified: stable/10/sys/dev/e1000/if_lem.c =

svn commit: r303172 - stable/10/sys/dev/hptmv

2016-07-21 Thread Sean Bruno
Author: sbruno Date: Fri Jul 22 03:03:52 2016 New Revision: 303172 URL: https://svnweb.freebsd.org/changeset/base/303172 Log: MFC r298231 hptmv(4) Fix potential buffer overflow in hpt_set_info. While here, adjust some whitespace and yeild some useful debug info. This is untested on t

svn commit: r303173 - stable/10/sys/nlm

2016-07-21 Thread Sean Bruno
Author: sbruno Date: Fri Jul 22 03:09:47 2016 New Revision: 303173 URL: https://svnweb.freebsd.org/changeset/base/303173 Log: MFC r298351 Avoid a possible heap overflow in our nlm code by limiting the number of service to the arbitrary value of 256. Log an appropriate message that indi

svn commit: r303174 - stable/10/sys/dev/e1000

2016-07-21 Thread Sean Bruno
Author: sbruno Date: Fri Jul 22 03:16:37 2016 New Revision: 303174 URL: https://svnweb.freebsd.org/changeset/base/303174 Log: MFC r299182 If ALTQ is defined in the kern conf, switch to Legacy Mode. PR: 208409 Modified: stable/10/sys/dev/e1000/if_igb.h Modified: stable/10/sys

svn commit: r303175 - stable/10/sys/dev/e1000

2016-07-21 Thread Sean Bruno
Author: sbruno Date: Fri Jul 22 03:19:49 2016 New Revision: 303175 URL: https://svnweb.freebsd.org/changeset/base/303175 Log: MFC r299188 Since igb_detach() cleans up all the data structures that will be free'd by the functions following its call, we can simply return instead of crashing a

svn commit: r303176 - stable/10/sys/dev/ciss

2016-07-21 Thread Sean Bruno
Author: sbruno Date: Fri Jul 22 03:21:47 2016 New Revision: 303176 URL: https://svnweb.freebsd.org/changeset/base/303176 Log: MFC r300551 Update some of the TBD entries in ciss(4) to match what's in the pci IDS data. Modified: stable/10/sys/dev/ciss/ciss.c Modified: stable/10/sys/dev/cis

svn commit: r303177 - stable/10/sys/dev/an

2016-07-21 Thread Sean Bruno
Author: sbruno Date: Fri Jul 22 03:26:01 2016 New Revision: 303177 URL: https://svnweb.freebsd.org/changeset/base/303177 Log: MFC r300612 Reject ioctl commands for FLSHGCHR and FLSHPCHR if the size is greater than sc->areq. This is a bounds check to ensure we're not just cramming arbitrar

svn commit: r303179 - stable/10/sys/cam/scsi

2016-07-21 Thread Sean Bruno
Author: sbruno Date: Fri Jul 22 03:34:15 2016 New Revision: 303179 URL: https://svnweb.freebsd.org/changeset/base/303179 Log: MFC r302281 Correct PERSISTENT RESERVE OUT command and populate scsi_cmd->length. PR: 202625 Modified: stable/10/sys/cam/scsi/scsi_all.c Modified: st

svn commit: r303181 - stable/10/sys/dev/e1000

2016-07-21 Thread Sean Bruno
Author: sbruno Date: Fri Jul 22 03:48:44 2016 New Revision: 303181 URL: https://svnweb.freebsd.org/changeset/base/303181 Log: MFC r303110 Remove uneeded parens. Modified: stable/10/sys/dev/e1000/if_igb.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/e1000

svn commit: r303269 - stable/10/sys/dev/ixgbe

2016-07-24 Thread Sean Bruno
Author: sbruno Date: Sun Jul 24 16:33:48 2016 New Revision: 303269 URL: https://svnweb.freebsd.org/changeset/base/303269 Log: MFC r303032 Fixup DA cable detection routines to not set the cable type to unknown if they do not match one of two cable types. PR: 150249 Modified:

svn commit: r303458 - stable/10/sys/netinet6

2016-07-28 Thread Sean Bruno
Author: sbruno Date: Thu Jul 28 20:08:01 2016 New Revision: 303458 URL: https://svnweb.freebsd.org/changeset/base/303458 Log: MFC r296063 r297397 r299213 296063: Lock the NDP default router list and count defrouter references. This addresses a number of race conditions that can cause

svn commit: r303459 - stable/10/sys/netinet6

2016-07-28 Thread Sean Bruno
Author: sbruno Date: Thu Jul 28 20:11:34 2016 New Revision: 303459 URL: https://svnweb.freebsd.org/changeset/base/303459 Log: MFC r299829 Use Node Information flag names instead of hard-coding their values. Modified: stable/10/sys/netinet6/icmp6.c Directory Properties: stable/10/ (props

svn commit: r303665 - stable/10/sys/dev/e1000

2016-08-02 Thread Sean Bruno
Author: sbruno Date: Tue Aug 2 15:44:49 2016 New Revision: 303665 URL: https://svnweb.freebsd.org/changeset/base/303665 Log: MFC r303638 Unbreak NETMAP usage with em(4) broken in r293331. Modified: stable/10/sys/dev/e1000/if_em.c Directory Properties: stable/10/ (props changed) Mod

svn commit: r304338 - stable/10/sys/dev/e1000

2016-08-18 Thread Sean Bruno
Author: sbruno Date: Thu Aug 18 07:32:02 2016 New Revision: 304338 URL: https://svnweb.freebsd.org/changeset/base/304338 Log: MFC r304149 e1000: Add support for Kaby Lake IDs Fixup some errors when transitioning to/from low power states. Modified: stable/10/sys/dev/e1000/e1000_api.

svn commit: r308136 - stable/10/sys/dev/netmap

2016-10-31 Thread Sean Bruno
Author: sbruno Date: Mon Oct 31 16:48:16 2016 New Revision: 308136 URL: https://svnweb.freebsd.org/changeset/base/308136 Log: MFC r308038: The buffer address is always overwritten in the extended descriptor format, we have to refresh it ... always. This fixes problems reported in Net

svn commit: r294025 - stable/10/sys/modules/if_gif

2016-01-14 Thread Sean Bruno
Author: sbruno Date: Thu Jan 14 17:44:45 2016 New Revision: 294025 URL: https://svnweb.freebsd.org/changeset/base/294025 Log: Fixup option handling after r293778 by wrapping MK_INET6_SUPPORT in a KERNBUILDDIR check. Sponsored by: Limelight Networks Modified: stable/10/sys/modules/if_gi

svn commit: r294030 - stable/10/sys/dev/e1000

2016-01-14 Thread Sean Bruno
Author: sbruno Date: Thu Jan 14 18:57:17 2016 New Revision: 294030 URL: https://svnweb.freebsd.org/changeset/base/294030 Log: MFC r292670 Add support for sysctl knobs to live tune the tx packet processing limits in igb and fix a wrap-around bug. Submitted by: Jason (j...@nitrology.co

svn commit: r294034 - stable/10/sys/dev/ixgbe

2016-01-14 Thread Sean Bruno
Author: sbruno Date: Thu Jan 14 20:04:44 2016 New Revision: 294034 URL: https://svnweb.freebsd.org/changeset/base/294034 Log: MFC r289238 Add support for sysctl knobs to live tune the per interrupt rx/tx packet processing limits in ixgbe(4) Submitted by: jason wolfe (j-nitrology.com)

svn commit: r294061 - stable/10/sys/dev/ixgbe

2016-01-14 Thread Sean Bruno
Author: sbruno Date: Fri Jan 15 01:26:32 2016 New Revision: 294061 URL: https://svnweb.freebsd.org/changeset/base/294061 Log: Multiple MFC for ixgbe -- v 3.1.0 r283883 -- update to 3.1.0 r283893 -- update SRIOV API changes related to future possible MFC of SRIOV work r285590

svn commit: r295008 - in stable/10/sys/dev: ixgbe netmap

2016-01-28 Thread Sean Bruno
Author: sbruno Date: Thu Jan 28 19:21:01 2016 New Revision: 295008 URL: https://svnweb.freebsd.org/changeset/base/295008 Log: Fixed up version of r294061 that was reverted due to breakage of features (netmap) and architectures(i386). r283883 -- update to 3.1.0 r283893 -- update

svn commit: r295524 - in stable/10/sys: conf dev/ixgbe modules/ix modules/ixv

2016-02-11 Thread Sean Bruno
Author: sbruno Date: Thu Feb 11 16:16:10 2016 New Revision: 295524 URL: https://svnweb.freebsd.org/changeset/base/295524 Log: MFC r292674 Update ixgbe(4) to Intel FreeBSD Networking Group version 3.1.13-k. MFC r292571 and r292697 Add support for X552 and X550T. MFC r293334

svn commit: r295525 - stable/10/sys/dev/ixgbe

2016-02-11 Thread Sean Bruno
Author: sbruno Date: Thu Feb 11 16:35:16 2016 New Revision: 295525 URL: https://svnweb.freebsd.org/changeset/base/295525 Log: Revert sysctl description change introduced in r295008 to correctly reflect the maximum number of queues supported (8) by this driver. Submitted by: jwd Reviewed

svn commit: r296452 - stable/10/sys/dev/ixgbe

2016-03-07 Thread Sean Bruno
Author: sbruno Date: Mon Mar 7 13:43:23 2016 New Revision: 296452 URL: https://svnweb.freebsd.org/changeset/base/296452 Log: Spell "maximum" correctly. noted by mav@ Modified: stable/10/sys/dev/ixgbe/if_ix.c Modified: stable/10/sys/dev/ixgbe/if_ix.c

svn commit: r297588 - stable/10/sys/kern

2016-04-05 Thread Sean Bruno
Author: sbruno Date: Tue Apr 5 18:27:47 2016 New Revision: 297588 URL: https://svnweb.freebsd.org/changeset/base/297588 Log: MFC r297488 Repair an overflow condition where a user could submit a string that was not getting a proper bounds check. PR: 206761 Submitted by: s

svn commit: r297590 - in stable/10/usr.sbin: . mpsutil

2016-04-05 Thread Sean Bruno
Author: sbruno Date: Tue Apr 5 20:34:20 2016 New Revision: 297590 URL: https://svnweb.freebsd.org/changeset/base/297590 Log: MFC 290102 - Include usr.sbin/mpsutil for management of mps(4) and mpr(4) utilities. - Thanks to scottl and bapt for making this happen. Submitted by: bapt

svn commit: r297681 - in stable/10/sys/cam: ata scsi

2016-04-07 Thread Sean Bruno
Author: sbruno Date: Thu Apr 7 18:03:42 2016 New Revision: 297681 URL: https://svnweb.freebsd.org/changeset/base/297681 Log: MFC r297237 Add 4k enabled cam quirks for Samsung SM863 Series SSDs Modified: stable/10/sys/cam/ata/ata_da.c stable/10/sys/cam/scsi/scsi_da.c Directory Properti

svn commit: r297711 - in stable/10/sys/cam: ata scsi

2016-04-08 Thread Sean Bruno
Author: sbruno Date: Fri Apr 8 13:43:39 2016 New Revision: 297711 URL: https://svnweb.freebsd.org/changeset/base/297711 Log: Revert svn 297681 as it has been deprecated by svn 297575. Submitted by: Tomoaki AOKI Modified: stable/10/sys/cam/ata/ata_da.c stable/10/sys/cam/scsi/scsi_da.c

svn commit: r299191 - stable/10/sys/cam/ctl

2016-05-06 Thread Sean Bruno
Author: sbruno Date: Fri May 6 19:11:47 2016 New Revision: 299191 URL: https://svnweb.freebsd.org/changeset/base/299191 Log: MFC r298279 Plug memory leak in ctl(4) when ctl_copyin_args() is called with a non- null terminated ASCII string. PR: 207626 Submitted by: ct...@h

svn commit: r299192 - in stable/10/sys/dev: e1000 ixgbe

2016-05-06 Thread Sean Bruno
Author: sbruno Date: Fri May 6 19:14:57 2016 New Revision: 299192 URL: https://svnweb.freebsd.org/changeset/base/299192 Log: MFC r298224 Correct possible underflow conditions when checking for available space in the tx h/w ring buffer. Sponsored by: Limelight Networks Modified: s

svn commit: r299193 - in stable/10/sys/dev: aac aacraid

2016-05-06 Thread Sean Bruno
Author: sbruno Date: Fri May 6 19:18:44 2016 New Revision: 299193 URL: https://svnweb.freebsd.org/changeset/base/299193 Log: MFC r298280 aacraid(4): Sanely copyin userland pointers and ensure that we don't get anything janky from a user. (cturt) aac(4) landergriffith+freebsdbugzi...

svn commit: r286706 - stable/10/share/man/man4

2015-08-12 Thread Sean Bruno
Author: sbruno Date: Wed Aug 12 22:51:08 2015 New Revision: 286706 URL: https://svnweb.freebsd.org/changeset/base/286706 Log: MFC r273081 brueffer: New sentence -> new line; use macros where appropriate. MFC r276345 Mikhail https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To

svn commit: r287461 - stable/10/sys/dev/ixgbe

2015-09-04 Thread Sean Bruno
Author: sbruno Date: Fri Sep 4 15:34:27 2015 New Revision: 287461 URL: https://svnweb.freebsd.org/changeset/base/287461 Log: MFC r286238 A misplaced #endif in ixgbe_ioctl() causes interface MTU to become zero when INET and INET6 are undefined. PR: 162028 Submitted by: ho

svn commit: r287462 - in stable/10/sys/x86: include x86

2015-09-04 Thread Sean Bruno
Author: sbruno Date: Fri Sep 4 15:40:19 2015 New Revision: 287462 URL: https://svnweb.freebsd.org/changeset/base/287462 Log: MFC r276834 Update Features2 to display SDBG capability of processor. This is showing up on Haswell-class CPUs From the Intel SDM, "Table 3-20. Feature Infor

svn commit: r287463 - stable/10/usr.sbin/binmiscctl

2015-09-04 Thread Sean Bruno
Author: sbruno Date: Fri Sep 4 15:45:42 2015 New Revision: 287463 URL: https://svnweb.freebsd.org/changeset/base/287463 Log: MFC r277853 Check for invalid length or more than max length for the interpreter, instead of the validity of the string pointer holding the interpreter. Submi

svn commit: r287566 - stable/10/sys/dev/ciss

2015-09-08 Thread Sean Bruno
Author: sbruno Date: Tue Sep 8 17:20:12 2015 New Revision: 287566 URL: https://svnweb.freebsd.org/changeset/base/287566 Log: MFC r287437 r249170 was just plain wrong. The effect of the change is to always delete a logic volume on status change which is NOT what we want here. The or

svn commit: r316588 - stable/10/sys/dev/e1000

2017-04-06 Thread Sean Bruno
Author: sbruno Date: Thu Apr 6 19:13:40 2017 New Revision: 316588 URL: https://svnweb.freebsd.org/changeset/base/316588 Log: Direct commit of fixes to stable/10, resolving PCI passthrough and initialization issues when trying to passthrough a i340 (igb) to VMware. While here, cleanup so

svn commit: r320117 - stable/10/sys/dev/e1000

2017-06-19 Thread Sean Bruno
Author: sbruno Date: Mon Jun 19 15:56:03 2017 New Revision: 320117 URL: https://svnweb.freebsd.org/changeset/base/320117 Log: Direct commit to stable/10 to correctly setting the EIAC and IMS registers to the same values when processing interrupts. This resolves PR https://bugs.freebsd.org