svn commit: r335305 - head/sys/dev/virtio

2018-06-17 Thread Bryan Venteicher
Author: bryanv Date: Sun Jun 17 20:45:48 2018 New Revision: 335305 URL: https://svnweb.freebsd.org/changeset/base/335305 Log: Update VirtIO definitions from Linux virtio_config.h and virtio_ring.h headers Modified: head/sys/dev/virtio/virtio_config.h head/sys/dev/virtio/virtio_ring.h Modif

svn commit: r331112 - stable/11/sys/dev/virtio

2018-03-17 Thread Bryan Venteicher
Author: bryanv Date: Sat Mar 17 20:37:01 2018 New Revision: 331112 URL: https://svnweb.freebsd.org/changeset/base/331112 Log: MFC r327958, r329601, r329602: Sync VirtIO IDs with Linux Add VirtIO bus config_generation method Add more virtqueue getter methods Modified: stable/11/

svn commit: r331111 - in stable/11: share/man/man9 sys/dev/pci

2018-03-17 Thread Bryan Venteicher
Author: bryanv Date: Sat Mar 17 20:20:29 2018 New Revision: 33 URL: https://svnweb.freebsd.org/changeset/base/33 Log: MFC r329598: Add PCI methods to iterate over the PCI capabilities VirtIO V1 provides configuration in multiple VENDOR capabilities so this allows all of the c

svn commit: r329602 - head/sys/dev/virtio

2018-02-19 Thread Bryan Venteicher
Author: bryanv Date: Mon Feb 19 19:31:18 2018 New Revision: 329602 URL: https://svnweb.freebsd.org/changeset/base/329602 Log: Add more virtqueue getter methods MFC after:2 weeks Modified: head/sys/dev/virtio/virtqueue.c head/sys/dev/virtio/virtqueue.h Modified: head/sys/dev/virtio

svn commit: r329601 - head/sys/dev/virtio

2018-02-19 Thread Bryan Venteicher
Author: bryanv Date: Mon Feb 19 19:28:24 2018 New Revision: 329601 URL: https://svnweb.freebsd.org/changeset/base/329601 Log: Add VirtIO bus config_generation method VirtIO buses (PCI, MMIO) can provide a generation field so a driver can ensure either a 64-bit or array read was stable.

svn commit: r329598 - in head: share/man/man9 sys/dev/pci

2018-02-19 Thread Bryan Venteicher
Author: bryanv Date: Mon Feb 19 18:41:56 2018 New Revision: 329598 URL: https://svnweb.freebsd.org/changeset/base/329598 Log: Add PCI methods to iterate over the PCI capabilities VirtIO V1 provides configuration in multiple VENDOR capabilities so this allows all of the configuration to be

svn commit: r329217 - stable/11/share/man/man9

2018-02-13 Thread Bryan Venteicher
Author: bryanv Date: Tue Feb 13 15:55:31 2018 New Revision: 329217 URL: https://svnweb.freebsd.org/changeset/base/329217 Log: MFC 328917: Correct structure name used in bus_map_resource(9) example Modified: stable/11/share/man/man9/bus_map_resource.9 Directory Properties: stable/11/

svn commit: r328917 - head/share/man/man9

2018-02-05 Thread Bryan Venteicher
Author: bryanv Date: Tue Feb 6 04:28:21 2018 New Revision: 328917 URL: https://svnweb.freebsd.org/changeset/base/328917 Log: Correct structure name used in bus_map_resource(9) example Reviewed by: jhb MFC after:1 week Differential Revision:https://reviews.freebsd.org/D1418

svn commit: r327958 - head/sys/dev/virtio

2018-01-13 Thread Bryan Venteicher
Author: bryanv Date: Sun Jan 14 06:03:40 2018 New Revision: 327958 URL: https://svnweb.freebsd.org/changeset/base/327958 Log: Sync VirtIO IDs with Linux Modified: head/sys/dev/virtio/virtio.c head/sys/dev/virtio/virtio_ids.h Modified: head/sys/dev/virtio/virtio.c ==

svn commit: r327956 - stable/11/share/man/man4

2018-01-13 Thread Bryan Venteicher
Author: bryanv Date: Sun Jan 14 05:07:15 2018 New Revision: 327956 URL: https://svnweb.freebsd.org/changeset/base/327956 Log: MFC r327448: Add rc.conf vxlan example Modified: stable/11/share/man/man4/vxlan.4 Directory Properties: stable/11/ (props changed) Modified: stable/11/share/

svn commit: r327955 - stable/11/etc

2018-01-13 Thread Bryan Venteicher
Author: bryanv Date: Sun Jan 14 05:05:06 2018 New Revision: 327955 URL: https://svnweb.freebsd.org/changeset/base/327955 Log: MFC r327438: Add VXLAN (RFC 7348) port Modified: stable/11/etc/services Directory Properties: stable/11/ (props changed) Modified: stable/11/etc/services ===

svn commit: r327948 - head/sys/dev/virtio/console

2018-01-13 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 13 21:39:46 2018 New Revision: 327948 URL: https://svnweb.freebsd.org/changeset/base/327948 Log: Fix possible panic when creating VirtIO console dev aliases Since we have no control over the name, the MAKEDEV_CHECKNAME flag must be used to return an error on a

svn commit: r327927 - in stable/11: sbin/ifconfig sys/net

2018-01-13 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 13 17:21:45 2018 New Revision: 327927 URL: https://svnweb.freebsd.org/changeset/base/327927 Log: MFC r327375, r327385, r327386: Add support for IPv6 scoped addresses to vxlan Advertise IFCAP_LINKSTAT after r326480 added link status support Add macro fo

svn commit: r327635 - stable/11/sbin/ifconfig

2018-01-06 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 6 20:22:32 2018 New Revision: 327635 URL: https://svnweb.freebsd.org/changeset/base/327635 Log: MFC r326654: Use consistent name for the vxlan VNI parameter name and provide shorthand Modified: stable/11/sbin/ifconfig/ifvxlan.c Directory Properties: stable

svn commit: r327448 - head/share/man/man4

2017-12-31 Thread Bryan Venteicher
Author: bryanv Date: Sun Dec 31 21:23:14 2017 New Revision: 327448 URL: https://svnweb.freebsd.org/changeset/base/327448 Log: Add rc.conf vxlan example PR: 206288 Submitted by: ja...@lodge.me.uk MFC after:2 weeks Modified: head/share/man/man4/vxlan.4 Modified: head/share/man/m

svn commit: r327438 - head/etc

2017-12-31 Thread Bryan Venteicher
Author: bryanv Date: Sun Dec 31 17:11:12 2017 New Revision: 327438 URL: https://svnweb.freebsd.org/changeset/base/327438 Log: Add VXLAN (RFC 7348) port PR: 202316 Submitted by: olgeni@ MFC after:2 weeks Modified: head/etc/services Modified: head/etc/services ==

svn commit: r327386 - head/sys/net

2017-12-30 Thread Bryan Venteicher
Author: bryanv Date: Sat Dec 30 19:49:40 2017 New Revision: 327386 URL: https://svnweb.freebsd.org/changeset/base/327386 Log: Add macro for vxlan list mutex lock and unlock This will simplify some later VNET support. Submitted by: hrs MFC after:2 weeks Modified: head/sys/net/i

svn commit: r327385 - head/sys/net

2017-12-30 Thread Bryan Venteicher
Author: bryanv Date: Sat Dec 30 19:35:12 2017 New Revision: 327385 URL: https://svnweb.freebsd.org/changeset/base/327385 Log: Advertise IFCAP_LINKSTAT after r326480 added link status support MFC after:2 weeks Modified: head/sys/net/if_vxlan.c Modified: head/sys/net/if_vxlan.c ==

svn commit: r327375 - in head: sbin/ifconfig sys/net

2017-12-29 Thread Bryan Venteicher
Author: bryanv Date: Sat Dec 30 04:03:53 2017 New Revision: 327375 URL: https://svnweb.freebsd.org/changeset/base/327375 Log: Add support for IPv6 scoped addresses to vxlan MFC after:2 weeks Modified: head/sbin/ifconfig/ifvxlan.c head/sys/net/if_vxlan.c head/sys/net/if_vxlan.h M

svn commit: r327217 - stable/11/sys/net

2017-12-26 Thread Bryan Venteicher
Author: bryanv Date: Tue Dec 26 17:12:16 2017 New Revision: 327217 URL: https://svnweb.freebsd.org/changeset/base/327217 Log: MFC r326480: Add if media and link status events to vxlan Modified: stable/11/sys/net/if_vxlan.c Directory Properties: stable/11/ (props changed) Modified: s

svn commit: r326751 - stable/11/sys/dev/vmware/vmxnet3

2017-12-10 Thread Bryan Venteicher
Author: bryanv Date: Sun Dec 10 19:22:43 2017 New Revision: 326751 URL: https://svnweb.freebsd.org/changeset/base/326751 Log: MFC r326744: Correctly report the vmxnet3 link down media status Modified: stable/11/sys/dev/vmware/vmxnet3/if_vmx.c Directory Properties: stable/11/ (props c

svn commit: r326654 - head/sbin/ifconfig

2017-12-06 Thread Bryan Venteicher
Author: bryanv Date: Thu Dec 7 04:55:31 2017 New Revision: 326654 URL: https://svnweb.freebsd.org/changeset/base/326654 Log: Use consistent name for the vxlan VNI parameter name and provide shorthand Submitted by: hrs MFC after:1 month Differential Revision:https://reviews.

svn commit: r326480 - head/sys/net

2017-12-02 Thread Bryan Venteicher
Author: bryanv Date: Sat Dec 2 22:04:00 2017 New Revision: 326480 URL: https://svnweb.freebsd.org/changeset/base/326480 Log: Add if media and link status events to vxlan PR: 214359 MFC after:2 weeks Modified: head/sys/net/if_vxlan.c Modified: head/sys/net/if_vxlan.c ===

svn commit: r326309 - head/sys/dev/vmware/vmxnet3

2017-11-27 Thread Bryan Venteicher
Author: bryanv Date: Tue Nov 28 06:21:37 2017 New Revision: 326309 URL: https://svnweb.freebsd.org/changeset/base/326309 Log: Correctly report the vmxnet3 link down media status Reported by: l...@perftech.com MFC after:1 week Modified: head/sys/dev/vmware/vmxnet3/if_vmx.c Modifie

svn commit: r284365 - in stable/10: sbin/ifconfig share/man/man4 sys/conf sys/modules sys/modules/if_vxlan sys/net sys/sys

2015-06-13 Thread Bryan Venteicher
try_init(struct vxlan_sof fe->vxlfe_flags = flags; fe->vxlfe_expire = time_uptime + sc->vxl_ftable_timeout; - memcpy(fe->vxlfe_mac, mac, ETHER_HDR_LEN); + memcpy(fe->vxlfe_mac, mac, ETHER_ADDR_LEN); vxlan_sockaddr_copy(&fe->vxlfe_raddr, sa); }

svn commit: r284347 - stable/10/sbin/ifconfig

2015-06-13 Thread Bryan Venteicher
Author: bryanv Date: Sat Jun 13 19:36:32 2015 New Revision: 284347 URL: https://svnweb.freebsd.org/changeset/base/284347 Log: MFC r271603: Add DEF_CLONE_CMD_ARG2 Modified: stable/10/sbin/ifconfig/ifconfig.h Directory Properties: stable/10/ (props changed) Modified: stable/10/sbin/if

svn commit: r284344 - stable/10/sys/dev/virtio/block

2015-06-13 Thread Bryan Venteicher
Author: bryanv Date: Sat Jun 13 17:40:33 2015 New Revision: 284344 URL: https://svnweb.freebsd.org/changeset/base/284344 Log: MFC r277788: Rework vtblk dump handling of in flight requests Previously, the driver resets the device and abandon the requests that are caught in flight when

svn commit: r284342 - head/sys/dev/virtio/network

2015-06-13 Thread Bryan Venteicher
Author: bryanv Date: Sat Jun 13 16:13:31 2015 New Revision: 284342 URL: https://svnweb.freebsd.org/changeset/base/284342 Log: Fix typo when deregistering the VLAN unconfig event handler Submitted by: Masao Uebayashi MFC after:3 days Modified: head/sys/dev/virtio/network/if_vtnet.c

Re: svn commit: r280154 - head/usr.sbin/bhyve

2015-03-16 Thread Bryan Venteicher
On Mon, Mar 16, 2015 at 3:13 PM, Alexander Motin wrote: > Author: mav > Date: Mon Mar 16 20:13:25 2015 > New Revision: 280154 > URL: https://svnweb.freebsd.org/changeset/base/280154 > > Log: > Report that we may have write cache, and that we do support FLUSH. > > FreeBSD guest driver does not

Re: svn commit: r278473 - in head/sys: amd64/amd64 amd64/include amd64/vmm contrib/dev/acpica/include i386/i386 i386/include x86/acpica x86/include x86/x86 x86/xen

2015-02-11 Thread Bryan Venteicher
On Wed, Feb 11, 2015 at 9:20 AM, John Baldwin wrote: > On Wednesday, February 11, 2015 10:32:00 AM Konstantin Belousov wrote: > > On Wed, Feb 11, 2015 at 12:43:39AM +, Rui Paulo wrote: > > > On Feb 09, 2015, at 01:01 PM, Konstantin Belousov > wrote: > > > > > > Author: kib > > > Date: Mon Fe

svn commit: r278184 - in head/sys/x86: include x86

2015-02-04 Thread Bryan Venteicher
Author: bryanv Date: Wed Feb 4 08:33:04 2015 New Revision: 278184 URL: https://svnweb.freebsd.org/changeset/base/278184 Log: Add interface to derive a TSC frequency from the pvclock This can later use this to determine the TSC frequency like is done with VMware, instead of using a DELAY

svn commit: r278183 - in head/sys: amd64/include conf dev/xen/timer i386/include i386/xen x86/include x86/x86

2015-02-04 Thread Bryan Venteicher
(void) { - return (xen_timer_last_time); + return (pvclock_get_last_cycles()); } Added: head/sys/x86/include/pvclock.h == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/x

svn commit: r277790 - stable/10/sys/sys

2015-01-26 Thread Bryan Venteicher
Author: bryanv Date: Tue Jan 27 06:24:33 2015 New Revision: 277790 URL: https://svnweb.freebsd.org/changeset/base/277790 Log: Bump __FreeBSD_version after r277789: Changes to the UDP tunneling callback Modified: stable/10/sys/sys/param.h Modified: stable/10/sys/sys/param.h ==

svn commit: r277789 - in stable/10/sys: netinet netinet6

2015-01-26 Thread Bryan Venteicher
Author: bryanv Date: Tue Jan 27 06:19:30 2015 New Revision: 277789 URL: https://svnweb.freebsd.org/changeset/base/277789 Log: MFC r272886: Add context pointer and source address to the UDP tunnel callback These are needed for the forthcoming vxlan implementation. The context po

svn commit: r277788 - head/sys/dev/virtio/block

2015-01-26 Thread Bryan Venteicher
Author: bryanv Date: Tue Jan 27 05:34:46 2015 New Revision: 277788 URL: https://svnweb.freebsd.org/changeset/base/277788 Log: Rework vtblk dump handling of in flight requests Previously, the driver resets the device and abandon the requests that are caught in flight when the dump was init

svn commit: r277389 - stable/10/sys/dev/virtio/network

2015-01-19 Thread Bryan Venteicher
Author: bryanv Date: Mon Jan 19 17:02:30 2015 New Revision: 277389 URL: https://svnweb.freebsd.org/changeset/base/277389 Log: MFC r276491: Add softc flag for when the indirect descriptor feature was negotiated Modified: stable/10/sys/dev/virtio/network/if_vtnet.c stable/10/sys/dev/vi

svn commit: r277388 - stable/10/sys/dev/virtio/network

2015-01-19 Thread Bryan Venteicher
Author: bryanv Date: Mon Jan 19 17:00:53 2015 New Revision: 277388 URL: https://svnweb.freebsd.org/changeset/base/277388 Log: MFC r276489: Use the appropriate IPv4 or IPv6 TSO HW assist flag Modified: stable/10/sys/dev/virtio/network/if_vtnet.c Directory Properties: stable/10/ (pro

Re: svn commit: r272886 - in head/sys: netinet netinet6

2015-01-13 Thread Bryan Venteicher
On Mon, Jan 12, 2015 at 5:20 PM, Michael Tuexen wrote: > > > On 12 Jan 2015, at 18:42, Bjoern A. Zeeb wrote: > > > > > >> On 12 Jan 2015, at 15:51 , John Baldwin wrote: > >> > >> On Tuesday, January 06, 2015 07:07:11 PM Bryan Venteicher wr

Re: svn commit: r272886 - in head/sys: netinet netinet6

2015-01-12 Thread Bryan Venteicher
On Mon, Jan 12, 2015 at 9:51 AM, John Baldwin wrote: > On Tuesday, January 06, 2015 07:07:11 PM Bryan Venteicher wrote: > > On Tue, Jan 6, 2015 at 5:27 PM, Bryan Drewery > wrote: > > > On 1/6/2015 4:00 PM, Bryan Venteicher wrote: > > > > On Tue, Jan

Re: svn commit: r272886 - in head/sys: netinet netinet6

2015-01-06 Thread Bryan Venteicher
On Tue, Jan 6, 2015 at 5:27 PM, Bryan Drewery wrote: > On 1/6/2015 4:00 PM, Bryan Venteicher wrote: > > > > > > On Tue, Jan 6, 2015 at 2:52 PM, John Nielsen > <mailto:li...@jnielsen.net>> wrote: > > > > Bryan- > > > > On Oct 1

Re: svn commit: r272886 - in head/sys: netinet netinet6

2015-01-06 Thread Bryan Venteicher
On Tue, Jan 6, 2015 at 2:52 PM, John Nielsen wrote: > Bryan- > > On Oct 10, 2014, at 12:09 AM, Bryan Venteicher wrote: > > > Author: bryanv > > Date: Fri Oct 10 06:08:59 2014 > > New Revision: 272886 > > URL: https://svnweb.freebsd.org/changeset/base/272886 &

svn commit: r276491 - head/sys/dev/virtio/network

2014-12-31 Thread Bryan Venteicher
Author: bryanv Date: Thu Jan 1 02:06:00 2015 New Revision: 276491 URL: https://svnweb.freebsd.org/changeset/base/276491 Log: Add softc flag for when the indirect descriptor feature was negotiated MFC after:2 weeks Modified: head/sys/dev/virtio/network/if_vtnet.c head/sys/dev/virti

svn commit: r276489 - head/sys/dev/virtio/network

2014-12-31 Thread Bryan Venteicher
Author: bryanv Date: Thu Jan 1 02:03:09 2015 New Revision: 276489 URL: https://svnweb.freebsd.org/changeset/base/276489 Log: Use the appropriate IPv4 or IPv6 TSO HW assist flag MFC after:2 weeks Modified: head/sys/dev/virtio/network/if_vtnet.c Modified: head/sys/dev/virtio/network/

svn commit: r276487 - stable/10/sys/dev/virtio/block

2014-12-31 Thread Bryan Venteicher
Author: bryanv Date: Thu Jan 1 01:43:00 2015 New Revision: 276487 URL: https://svnweb.freebsd.org/changeset/base/276487 Log: MFC r275335: Cleanup and performance improvement of the virtio_blk driver - Add support for GEOM direct completion. Depending on the benchmark, th

svn commit: r276354 - in head/sys/dev/beri/virtio: . network

2014-12-28 Thread Bryan Venteicher
Author: bryanv Date: Mon Dec 29 00:35:44 2014 New Revision: 276354 URL: https://svnweb.freebsd.org/changeset/base/276354 Log: Remove dev/virtio/virtio.h include from BERI VirtIO This header file contains prototypes and defines that only make sense to the guest VirtIO device drivers.

svn commit: r275851 - in head: sbin/ifconfig share/man/man4

2014-12-16 Thread Bryan Venteicher
Author: bryanv Date: Wed Dec 17 05:36:34 2014 New Revision: 275851 URL: https://svnweb.freebsd.org/changeset/base/275851 Log: Prefix all the vxlan ifconfig commands so they are unique And rehook ifvxlan back into the build. Modified: head/sbin/ifconfig/Makefile head/sbin/ifconfig/ifcon

svn commit: r275630 - stable/10/sbin/camcontrol

2014-12-08 Thread Bryan Venteicher
Author: bryanv Date: Tue Dec 9 07:03:49 2014 New Revision: 275630 URL: https://svnweb.freebsd.org/changeset/base/275630 Log: MFC r274322: Attempt to report a better error if sanitize is not supported Modified: stable/10/sbin/camcontrol/camcontrol.c Directory Properties: stable/10/

Re: svn commit: r273331 - in head: sbin/ifconfig share/man/man4 sys/conf sys/modules sys/modules/if_vxlan sys/net sys/sys

2014-12-01 Thread Bryan Venteicher
On Mon, Dec 1, 2014 at 6:57 AM, Dag-Erling Smørgrav wrote: > Bryan Venteicher writes: > > Log: > > Add vxlan interface > > [...] > > This breaks the existing "group" command, which means I now have > machines that won't boot without manual interv

svn commit: r275335 - head/sys/dev/virtio/block

2014-11-30 Thread Bryan Venteicher
Author: bryanv Date: Sun Nov 30 16:36:26 2014 New Revision: 275335 URL: https://svnweb.freebsd.org/changeset/base/275335 Log: Cleanup and performance improvement of the virtio_blk driver - Add support for GEOM direct completion. Depending on the benchmark, this tends to give a ~30%

svn commit: r275275 - stable/9/sys/dev/virtio/network

2014-11-29 Thread Bryan Venteicher
Author: bryanv Date: Sat Nov 29 23:10:19 2014 New Revision: 275275 URL: https://svnweb.freebsd.org/changeset/base/275275 Log: MFC r274325: Enable LRO by default when available on vtnet interfaces The prior change to not enable LRO by default has confused several people. The con

svn commit: r275274 - stable/10/sys/dev/virtio/network

2014-11-29 Thread Bryan Venteicher
Author: bryanv Date: Sat Nov 29 23:05:01 2014 New Revision: 275274 URL: https://svnweb.freebsd.org/changeset/base/275274 Log: MFC r274325: Enable LRO by default when available on vtnet interfaces The prior change to not enable LRO by default has confused several people. The con

svn commit: r275273 - in stable/10: share/man/man4 sys/amd64/conf sys/conf sys/dev/virtio/console sys/i386/conf sys/modules/virtio sys/modules/virtio/console

2014-11-29 Thread Bryan Venteicher
Author: bryanv Date: Sat Nov 29 22:48:40 2014 New Revision: 275273 URL: https://svnweb.freebsd.org/changeset/base/275273 Log: MFC r273515, r274055, r274063, r274215, r274065, r274502: Add VirtIO console driver. Added: stable/10/share/man/man4/virtio_console.4 - copied, changed from

svn commit: r274325 - head/sys/dev/virtio/network

2014-11-09 Thread Bryan Venteicher
Author: bryanv Date: Sun Nov 9 20:04:12 2014 New Revision: 274325 URL: https://svnweb.freebsd.org/changeset/base/274325 Log: Enable LRO by default when available on vtnet interfaces The prior change to not enable LRO by default has confused several people. The configurations where LRO is

svn commit: r274322 - head/sbin/camcontrol

2014-11-09 Thread Bryan Venteicher
Author: bryanv Date: Sun Nov 9 18:13:08 2014 New Revision: 274322 URL: https://svnweb.freebsd.org/changeset/base/274322 Log: Attempt to report a better error if sanitize is not supported MFC after:1 month Modified: head/sbin/camcontrol/camcontrol.c Modified: head/sbin/camcontrol/ca

svn commit: r274266 - in stable/10/sys: netinet netinet6

2014-11-07 Thread Bryan Venteicher
Author: bryanv Date: Sat Nov 8 02:53:55 2014 New Revision: 274266 URL: https://svnweb.freebsd.org/changeset/base/274266 Log: MFC r272844: Add missing UDP multicast receive dtrace probes Modified: stable/10/sys/netinet/udp_usrreq.c stable/10/sys/netinet6/udp6_usrreq.c Directory Propert

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

2014-11-07 Thread Bryan Venteicher
Author: bryanv Date: Sat Nov 8 02:47:23 2014 New Revision: 274265 URL: https://svnweb.freebsd.org/changeset/base/274265 Log: MFC r272801: Move the calls to u_tun_func() into udp6_append() A similar cleanup for UDPv4 was performed in r220620. Modified: stable/10/sys/netinet6/udp6_us

svn commit: r274264 - stable/10/sys/netinet

2014-11-07 Thread Bryan Venteicher
Author: bryanv Date: Sat Nov 8 02:40:00 2014 New Revision: 274264 URL: https://svnweb.freebsd.org/changeset/base/274264 Log: MFC r272797: Check for mbuf copy failure when there are multiple multicast sockets This partitular case is the only path where the mbuf could be NULL. udp_app

svn commit: r274215 - head/sys/dev/virtio/console

2014-11-06 Thread Bryan Venteicher
Author: bryanv Date: Fri Nov 7 03:36:28 2014 New Revision: 274215 URL: https://svnweb.freebsd.org/changeset/base/274215 Log: Several minor changes to hopefully complete the VirtIO console driver - Support the KDB alt break sequence to enter the debugger, panic, reboot, etc. [1]

svn commit: r274065 - in head/sys: amd64/conf conf i386/conf

2014-11-03 Thread Bryan Venteicher
Author: bryanv Date: Mon Nov 3 22:37:10 2014 New Revision: 274065 URL: https://svnweb.freebsd.org/changeset/base/274065 Log: Add VirtIO console to the x86 NOTES and files Requested by: jhb Modified: head/sys/amd64/conf/NOTES head/sys/conf/files.amd64 head/sys/conf/files.i386 head/

svn commit: r274063 - head/sys/dev/virtio/console

2014-11-03 Thread Bryan Venteicher
Author: bryanv Date: Mon Nov 3 22:17:25 2014 New Revision: 274063 URL: https://svnweb.freebsd.org/changeset/base/274063 Log: Create the tty device after the port is completely initialized This fixes a race with a tty open before the host is the ready. MFC after:1 month Modified:

svn commit: r274055 - head/sys/dev/virtio/console

2014-11-03 Thread Bryan Venteicher
Author: bryanv Date: Mon Nov 3 16:57:01 2014 New Revision: 274055 URL: https://svnweb.freebsd.org/changeset/base/274055 Log: Add support for the multiport feature and fix hot plug races MFC after:1 month Modified: head/sys/dev/virtio/console/virtio_console.c Modified: head/sys/dev/

svn commit: r273515 - in head: share/man/man4 sys/dev/virtio/console sys/modules/virtio sys/modules/virtio/console

2014-10-22 Thread Bryan Venteicher
/virtio_console.4 == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/virtio_console.4Thu Oct 23 04:47:32 2014 (r273515) @@ -0,0 +1,66 @@ +.\" Copyright (c) 2014 Bryan Vente

svn commit: r273451 - stable/10/sys/vm

2014-10-21 Thread Bryan Venteicher
Author: bryanv Date: Wed Oct 22 04:09:47 2014 New Revision: 273451 URL: https://svnweb.freebsd.org/changeset/base/273451 Log: MFC r272573: Change the UMA mutex into a rwlock Acquire the lock in read mode when just needed to ensure the stability of the keg list. The UMA lock may

svn commit: r273450 - stable/10/sys/sys

2014-10-21 Thread Bryan Venteicher
Author: bryanv Date: Wed Oct 22 04:01:27 2014 New Revision: 273450 URL: https://svnweb.freebsd.org/changeset/base/273450 Log: MFC r272796: Add M_FLOWID to M_COPYFLAGS The M_FLOWID flag should be propagated to the new mbuf pkthdr in m_move_pkthdr() and m_dup_pkthdr(). The new mbuf alr

svn commit: r273371 - head/sys/net

2014-10-20 Thread Bryan Venteicher
Author: bryanv Date: Tue Oct 21 05:45:57 2014 New Revision: 273371 URL: https://svnweb.freebsd.org/changeset/base/273371 Log: Use the size of the Ethernet address, not the entire header, when copying into forwarding entry. Reported by: Coverity CID: 1248849 Modified: head/s

Re: svn commit: r273331 - in head: sbin/ifconfig share/man/man4 sys/conf sys/modules sys/modules/if_vxlan sys/net sys/sys

2014-10-20 Thread Bryan Venteicher
On Mon, Oct 20, 2014 at 5:37 PM, Andrew Thompson wrote: > > > On 21 October 2014 03:42, Bryan Venteicher wrote: > >> Author: bryanv >> Date: Mon Oct 20 14:42:42 2014 >> New Revision: 273331 >> URL: https://svnweb.freebsd.org/changeset/base/273331

svn commit: r273331 - in head: sbin/ifconfig share/man/man4 sys/conf sys/modules sys/modules/if_vxlan sys/net sys/sys

2014-10-20 Thread Bryan Venteicher
=== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sbin/ifconfig/ifvxlan.cMon Oct 20 14:42:42 2014 (r273331) @@ -0,0 +1,648 @@ +/*- + * Copyright (c) 2014, Bryan Venteicher + * All rights reserved. + * + * Redistribution and use in source and bina

svn commit: r272886 - in head/sys: netinet netinet6

2014-10-09 Thread Bryan Venteicher
Author: bryanv Date: Fri Oct 10 06:08:59 2014 New Revision: 272886 URL: https://svnweb.freebsd.org/changeset/base/272886 Log: Add context pointer and source address to the UDP tunnel callback These are needed for the forthcoming vxlan implementation. The context pointer means we do not ha

svn commit: r272844 - in head/sys: netinet netinet6

2014-10-09 Thread Bryan Venteicher
Author: bryanv Date: Thu Oct 9 22:36:21 2014 New Revision: 272844 URL: https://svnweb.freebsd.org/changeset/base/272844 Log: Add missing UDP multicast receive dtrace probes Phabricator: https://reviews.freebsd.org/D924 Reviewed by: rpaulo markj MFC after:1 month Modified: head

svn commit: r272801 - head/sys/netinet6

2014-10-08 Thread Bryan Venteicher
Author: bryanv Date: Thu Oct 9 05:42:07 2014 New Revision: 272801 URL: https://svnweb.freebsd.org/changeset/base/272801 Log: Move the calls to u_tun_func() into udp6_append() A similar cleanup for UDPv4 was performed in r220620. Phabricator: https://reviews.freebsd.org/D383 Reviewe

svn commit: r272797 - head/sys/netinet

2014-10-08 Thread Bryan Venteicher
Author: bryanv Date: Thu Oct 9 05:17:47 2014 New Revision: 272797 URL: https://svnweb.freebsd.org/changeset/base/272797 Log: Check for mbuf copy failure when there are multiple multicast sockets This partitular case is the only path where the mbuf could be NULL. udp_append() checked for

svn commit: r272796 - head/sys/sys

2014-10-08 Thread Bryan Venteicher
Author: bryanv Date: Thu Oct 9 04:40:19 2014 New Revision: 272796 URL: https://svnweb.freebsd.org/changeset/base/272796 Log: Add M_FLOWID to M_COPYFLAGS The M_FLOWID flag should be propagated to the new mbuf pkthdr in m_move_pkthdr() and m_dup_pkthdr(). The new mbuf already got the exi

svn commit: r272725 - stable/8/sys/vm

2014-10-07 Thread Bryan Venteicher
Author: bryanv Date: Wed Oct 8 04:34:46 2014 New Revision: 272725 URL: https://svnweb.freebsd.org/changeset/base/272725 Log: MFC 272550: Remove stray uma_mtx lock/unlock in zone_drain_wait() Callers of zone_drain_wait(M_WAITOK) do not need to hold (and were not) the uma_mtx, b

svn commit: r272723 - stable/9/sys/vm

2014-10-07 Thread Bryan Venteicher
Author: bryanv Date: Wed Oct 8 04:11:05 2014 New Revision: 272723 URL: https://svnweb.freebsd.org/changeset/base/272723 Log: MFC 272550: Remove stray uma_mtx lock/unlock in zone_drain_wait() Callers of zone_drain_wait(M_WAITOK) do not need to hold (and were not) the uma_mtx, b

svn commit: r272722 - stable/10/sys/vm

2014-10-07 Thread Bryan Venteicher
Author: bryanv Date: Wed Oct 8 04:07:07 2014 New Revision: 272722 URL: https://svnweb.freebsd.org/changeset/base/272722 Log: MFC 272550: Remove stray uma_mtx lock/unlock in zone_drain_wait() Callers of zone_drain_wait(M_WAITOK) do not need to hold (and were not) the uma_mtx, b

svn commit: r272573 - head/sys/vm

2014-10-05 Thread Bryan Venteicher
Author: bryanv Date: Sun Oct 5 21:34:56 2014 New Revision: 272573 URL: https://svnweb.freebsd.org/changeset/base/272573 Log: Change the UMA mutex into a rwlock Acquire the lock in read mode when just needed to ensure the stability of the keg list. The UMA lock may be held for a long time

svn commit: r272550 - head/sys/vm

2014-10-04 Thread Bryan Venteicher
Author: bryanv Date: Sun Oct 5 03:18:30 2014 New Revision: 272550 URL: https://svnweb.freebsd.org/changeset/base/272550 Log: Remove stray uma_mtx lock/unlock in zone_drain_wait() Callers of zone_drain_wait(M_WAITOK) do not need to hold (and were not) the uma_mtx, but we would attempt to

svn commit: r271603 - head/sbin/ifconfig

2014-09-14 Thread Bryan Venteicher
Author: bryanv Date: Sun Sep 14 22:10:35 2014 New Revision: 271603 URL: http://svnweb.freebsd.org/changeset/base/271603 Log: Add DEF_CLONE_CMD_ARG2 This will be used in the forthcoming vxlan import. Reviewed by: gnn Phabric: https://reviews.freebsd.org/D382 Modified: head/sb

svn commit: r270739 - stable/10/sys/dev/vmware/vmxnet3

2014-08-27 Thread Bryan Venteicher
Author: bryanv Date: Thu Aug 28 04:20:24 2014 New Revision: 270739 URL: http://svnweb.freebsd.org/changeset/base/270739 Log: MFC r267632: Fix GCC compile warning: Variable(s) can be used uninitialized. PR: 193076 Modified: stable/10/sys/dev/vmware/vmxnet3/if_vmx.c Direct

svn commit: r270509 - stable/10/sys/dev/virtio/network

2014-08-24 Thread Bryan Venteicher
Author: bryanv Date: Sun Aug 24 19:31:26 2014 New Revision: 270509 URL: http://svnweb.freebsd.org/changeset/base/270509 Log: MFC r270063 (vtnet) The vtnet changes were not originally merged in r270252 since r268480 and r268481 had not been MFC'ed. Modified: stable/10/sys/dev/virtio/net

svn commit: r270334 - stable/10/sys/dev/virtio/network

2014-08-22 Thread Bryan Venteicher
Author: bryanv Date: Fri Aug 22 15:12:20 2014 New Revision: 270334 URL: http://svnweb.freebsd.org/changeset/base/270334 Log: MFC r268481: Rework when the Tx queue completion interrupt is enabled The Tx interrupt is now kept disabled in the common case, only enabled when the num

svn commit: r270270 - stable/10/sys/dev/virtio

2014-08-21 Thread Bryan Venteicher
Author: bryanv Date: Thu Aug 21 13:27:05 2014 New Revision: 270270 URL: http://svnweb.freebsd.org/changeset/base/270270 Log: MFC r268480: Add accessor to get the number of free descriptors in the virtqueue Modified: stable/10/sys/dev/virtio/virtqueue.c stable/10/sys/dev/virtio/virtqu

Re: svn commit: r270252 - in stable/10: sys/conf sys/dev/e1000 sys/dev/ixgbe sys/dev/netmap tools/tools/netmap

2014-08-20 Thread Bryan Venteicher
On Wed, Aug 20, 2014 at 6:36 PM, Navdeep Parhar wrote: > On 08/20/14 16:34, Luigi Rizzo wrote: > >> Author: luigi >> Date: Wed Aug 20 23:34:36 2014 >> New Revision: 270252 >> URL: http://svnweb.freebsd.org/changeset/base/270252 >> >> Log: >>MFC 270063: update of netmap code >>(vtnet and c

svn commit: r268481 - head/sys/dev/virtio/network

2014-07-09 Thread Bryan Venteicher
Author: bryanv Date: Thu Jul 10 05:36:04 2014 New Revision: 268481 URL: http://svnweb.freebsd.org/changeset/base/268481 Log: Rework when the Tx queue completion interrupt is enabled The Tx interrupt is now kept disabled in the common case, only enabled when the number of free descriptors

svn commit: r268480 - head/sys/dev/virtio

2014-07-09 Thread Bryan Venteicher
Author: bryanv Date: Thu Jul 10 05:26:01 2014 New Revision: 268480 URL: http://svnweb.freebsd.org/changeset/base/268480 Log: Add accessor to get the number of free descriptors in the virtqueue MFC after:1 month Modified: head/sys/dev/virtio/virtqueue.c head/sys/dev/virtio/virtqueue

svn commit: r268349 - head/sys/netinet6

2014-07-06 Thread Bryan Venteicher
Author: bryanv Date: Mon Jul 7 00:02:49 2014 New Revision: 268349 URL: http://svnweb.freebsd.org/changeset/base/268349 Log: Use the appropriate IPv6 hashtype defines when looking up the PCBGROUP Reviewed by: adrian@ Modified: head/sys/netinet6/in6_pcbgroup.c Modified: head/sys/netinet

svn commit: r268281 - stable/10/sys/dev/vmware/vmxnet3

2014-07-04 Thread Bryan Venteicher
Author: bryanv Date: Sat Jul 5 03:48:22 2014 New Revision: 268281 URL: http://svnweb.freebsd.org/changeset/base/268281 Log: MFC r268012, r268196: - Remove some write only variables - Give each interrupt a descriptive name when using MSIX Modified: stable/10/sys/dev/vmware/vmxnet3/

svn commit: r268196 - head/sys/dev/vmware/vmxnet3

2014-07-02 Thread Bryan Venteicher
Author: bryanv Date: Wed Jul 2 23:28:21 2014 New Revision: 268196 URL: http://svnweb.freebsd.org/changeset/base/268196 Log: Remove some write only variables MFC after:3 days Modified: head/sys/dev/vmware/vmxnet3/if_vmx.c Modified: head/sys/dev/vmware/vmxnet3/if_vmx.c ==

svn commit: r268012 - head/sys/dev/vmware/vmxnet3

2014-06-28 Thread Bryan Venteicher
Author: bryanv Date: Sun Jun 29 01:04:11 2014 New Revision: 268012 URL: http://svnweb.freebsd.org/changeset/base/268012 Log: Give each interrupt a descriptive name when using MSIX MFC after:3 days Modified: head/sys/dev/vmware/vmxnet3/if_vmx.c Modified: head/sys/dev/vmware/vmxnet3/i

svn commit: r268011 - stable/10/sys/dev/vmware/vmxnet3

2014-06-28 Thread Bryan Venteicher
Author: bryanv Date: Sun Jun 29 00:50:56 2014 New Revision: 268011 URL: http://svnweb.freebsd.org/changeset/base/268011 Log: MFC r267661, r267662, r267663: - Remove an unnecessary kick of the host at the end of transmitting - Handle multiple calls to rxq_eof for single packet completi

svn commit: r268010 - in stable/10/sys/dev/virtio: . network pci

2014-06-28 Thread Bryan Venteicher
Author: bryanv Date: Sun Jun 29 00:37:59 2014 New Revision: 268010 URL: http://svnweb.freebsd.org/changeset/base/268010 Log: MFC r267520, r267521, r267522, r267523, r267524: - Remove two write-only local variables - Remove unused element in the vtnet_rxq structure - Remove kernel

svn commit: r267663 - head/sys/dev/vmware/vmxnet3

2014-06-19 Thread Bryan Venteicher
Author: bryanv Date: Fri Jun 20 02:54:04 2014 New Revision: 267663 URL: http://svnweb.freebsd.org/changeset/base/267663 Log: Increment the pending packets more aggressively for TSO Assume the number of description used is reasonable value to increment this otherwise opaque field by.

svn commit: r267662 - head/sys/dev/vmware/vmxnet3

2014-06-19 Thread Bryan Venteicher
Author: bryanv Date: Fri Jun 20 02:49:03 2014 New Revision: 267662 URL: http://svnweb.freebsd.org/changeset/base/267662 Log: Handle multiple calls to rxq_eof for single packet completion This requires the VMware vmxnet3 device to flip the start of packet descriptor's generation before the

svn commit: r267661 - head/sys/dev/vmware/vmxnet3

2014-06-19 Thread Bryan Venteicher
Author: bryanv Date: Fri Jun 20 02:31:52 2014 New Revision: 267661 URL: http://svnweb.freebsd.org/changeset/base/267661 Log: Remove an unnecessary kick of the host at the end of transmitting MFC after:1 week Modified: head/sys/dev/vmware/vmxnet3/if_vmx.c Modified: head/sys/dev/vmwar

svn commit: r267562 - stable/10/sys/dev/virtio/block

2014-06-16 Thread Bryan Venteicher
Author: bryanv Date: Tue Jun 17 05:24:45 2014 New Revision: 267562 URL: http://svnweb.freebsd.org/changeset/base/267562 Log: MFC r267313: Always append new bios to the tail of the queue, instead of sorting them Modified: stable/10/sys/dev/virtio/block/virtio_blk.c Directory Properties:

svn commit: r267524 - head/sys/dev/virtio/network

2014-06-15 Thread Bryan Venteicher
Author: bryanv Date: Mon Jun 16 04:32:27 2014 New Revision: 267524 URL: http://svnweb.freebsd.org/changeset/base/267524 Log: Force two byte alignment for all control message headers The header structure consists of two 1-byte elements, but it must always be describable by a single SG entr

svn commit: r267523 - head/sys/dev/virtio/network

2014-06-15 Thread Bryan Venteicher
Author: bryanv Date: Mon Jun 16 04:29:28 2014 New Revision: 267523 URL: http://svnweb.freebsd.org/changeset/base/267523 Log: Make the feature negotiation code easier to follow MFC after:1 week Modified: head/sys/dev/virtio/network/if_vtnet.c Modified: head/sys/dev/virtio/network/if_

svn commit: r267522 - in head/sys/dev/virtio: . pci

2014-06-15 Thread Bryan Venteicher
Author: bryanv Date: Mon Jun 16 04:25:04 2014 New Revision: 267522 URL: http://svnweb.freebsd.org/changeset/base/267522 Log: Move the VIRTIO_RING_F_* defines out of virtqueue.h into virtio_config.h These defines are applicable to userland too, but virtqueue.h contains the kernel virtqueue

svn commit: r267521 - head/sys/dev/virtio/pci

2014-06-15 Thread Bryan Venteicher
Author: bryanv Date: Mon Jun 16 04:16:31 2014 New Revision: 267521 URL: http://svnweb.freebsd.org/changeset/base/267521 Log: Remove kernel specific macro out of the VirtIO PCI header file The eventual goal is to share this file with userland, so remove the macro that is only specific for

svn commit: r267520 - head/sys/dev/virtio/network

2014-06-15 Thread Bryan Venteicher
Author: bryanv Date: Mon Jun 16 04:12:33 2014 New Revision: 267520 URL: http://svnweb.freebsd.org/changeset/base/267520 Log: - Remove two write-only local variables - Remove unused element in the vtnet_rxq structure MFC after:1 week Modified: head/sys/dev/virtio/network/if_vtne

  1   2   3   >