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: 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: 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: 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: 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: 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: 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: 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: 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: 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

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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

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

2014-06-14 Thread Bryan Venteicher
Author: bryanv Date: Sat Jun 14 23:36:17 2014 New Revision: 267488 URL: http://svnweb.freebsd.org/changeset/base/267488 Log: Don't check the dma map address for a static DMA mapping against NULL to determine if the mapping is valid. Submitted by: jhb Modified: head/sys/dev/vmware/vmxne

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

2014-06-09 Thread Bryan Venteicher
Author: bryanv Date: Tue Jun 10 03:29:15 2014 New Revision: 267313 URL: http://svnweb.freebsd.org/changeset/base/267313 Log: Always append new bios to the tail of the queue, instead of sorting them MFC after:1 week Modified: head/sys/dev/virtio/block/virtio_blk.c Modified: head/sys/

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

2014-06-08 Thread Bryan Venteicher
Author: bryanv Date: Mon Jun 9 02:45:53 2014 New Revision: 267253 URL: http://svnweb.freebsd.org/changeset/base/267253 Log: Fix TSO support on VMware Fusion Apparently for VMware Fusion (and presumably VMware Workstation/Player since the PR states TSO is broken there too, but I cannot te

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

2014-06-08 Thread Bryan Venteicher
Author: bryanv Date: Mon Jun 9 02:39:05 2014 New Revision: 267252 URL: http://svnweb.freebsd.org/changeset/base/267252 Log: Remove an unnecessary variable reassignment And it would be bad if 'm' was different from '*m0' at this point, since we've already populated the SG list. MFC a

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

2014-06-01 Thread Bryan Venteicher
@@ /*- - * This header is BSD licensed so anyone can use the definitions to implement - * compatible drivers/servers. + * Copyright (c) 2014, Bryan Venteicher + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided

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

2014-05-03 Thread Bryan Venteicher
Author: bryanv Date: Sat May 3 19:57:17 2014 New Revision: 265287 URL: http://svnweb.freebsd.org/changeset/base/265287 Log: Fix SYNOPSIS ("device if_vtnet" -> "device vtnet"). Obtained from:DragonFlyBSD MFC after:3 days Modified: head/share/man/man4/vtnet.4 Modified: head

svn commit: r264867 - head/sys/dev/virtio/random

2014-04-23 Thread Bryan Venteicher
Author: bryanv Date: Thu Apr 24 05:04:54 2014 New Revision: 264867 URL: http://svnweb.freebsd.org/changeset/base/264867 Log: Wait for the callout to finish before unloading the module MFC after:3 days Modified: head/sys/dev/virtio/random/virtio_random.c Modified: head/sys/dev/virtio

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

2014-04-23 Thread Bryan Venteicher
Author: bryanv Date: Thu Apr 24 03:31:07 2014 New Revision: 264865 URL: http://svnweb.freebsd.org/changeset/base/264865 Log: Update the date that was missed in r263259 Modified: head/share/man/man4/vmx.4 Modified: head/share/man/man4/vmx.4

svn commit: r263259 - in head: share/man/man4 sys/dev/vmware/vmxnet3 sys/modules/vmware/vmxnet3

2014-03-16 Thread Bryan Venteicher
Author: bryanv Date: Mon Mar 17 05:45:29 2014 New Revision: 263259 URL: http://svnweb.freebsd.org/changeset/base/263259 Log: Add Tx/Rx multiqueue support to vmx(4) As a prerequisite for multiple queues, the guest must have MSIX enabled. Unfortunately, to work around device passthrough bug

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

2014-02-01 Thread Bryan Venteicher
Author: bryanv Date: Sun Feb 2 05:20:46 2014 New Revision: 261395 URL: http://svnweb.freebsd.org/changeset/base/261395 Log: Use m_defrag() instead of m_collapse() to compact a long mbuf chain This should be an infrequent occurrence, so remove the per-queue counters in favor of just globa

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

2014-02-01 Thread Bryan Venteicher
Author: bryanv Date: Sun Feb 2 05:15:36 2014 New Revision: 261394 URL: http://svnweb.freebsd.org/changeset/base/261394 Log: Do not place the sglist used for Rx/Tx on the stack The sglist segment array has grown to a bit over 512 bytes (on 64-bit system) which is more than ideally should

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

2014-01-25 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 25 19:57:30 2014 New Revision: 261167 URL: http://svnweb.freebsd.org/changeset/base/261167 Log: Avoid queue unlock followed by relock when the enable interrupt race is lost This already happens infrequently, and the hold time is still bounded since we defer to

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

2014-01-25 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 25 19:55:42 2014 New Revision: 261166 URL: http://svnweb.freebsd.org/changeset/base/261166 Log: Move duplicated transmit start code into a single function Modified: head/sys/dev/virtio/network/if_vtnet.c Modified: head/sys/dev/virtio/network/if_vtnet.c ==

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

2014-01-25 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 25 19:58:53 2014 New Revision: 261168 URL: http://svnweb.freebsd.org/changeset/base/261168 Log: Check for a full virtqueue in the multiqueue transmit path With most hosts, we'll negotiate indirect descriptors, so all we need is one available descriptor to tran

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

2014-01-25 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 25 18:34:57 2014 New Revision: 261164 URL: http://svnweb.freebsd.org/changeset/base/261164 Log: Remove stray space Modified: head/sys/dev/virtio/network/if_vtnet.c Modified: head/sys/dev/virtio/network/if_vtnet.c ==

Re: svn commit: r261149 - head/sys/dev/virtio/scsi

2014-01-25 Thread Bryan Venteicher
On Sat, Jan 25, 2014 at 2:38 AM, Aryeh Friedman wrote: > > > > On Sat, Jan 25, 2014 at 2:01 AM, Bryan Venteicher wrote: > >> Author: bryanv >> Date: Sat Jan 25 07:01:51 2014 >> New Revision: 261149 >> URL: http://svnweb.freebsd.org/changeset/base/261149

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

2014-01-24 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 25 07:35:09 2014 New Revision: 261151 URL: http://svnweb.freebsd.org/changeset/base/261151 Log: Also include the mbuf's csum_flags in an assert message Modified: head/sys/dev/virtio/network/if_vtnet.c Modified: head/sys/dev/virtio/network/if_vtnet.c =

Re: svn commit: r261150 - head/sys/dev/virtio/network

2014-01-24 Thread Bryan Venteicher
On Sat, Jan 25, 2014 at 1:24 AM, Alexey Dokuchaev wrote: > On Sat, Jan 25, 2014 at 07:13:47AM +0000, Bryan Venteicher wrote: > > New Revision: 261150 > > URL: http://svnweb.freebsd.org/changeset/base/261150 > > > > Log: > > Read and write the MAC address

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

2014-01-24 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 25 07:13:47 2014 New Revision: 261150 URL: http://svnweb.freebsd.org/changeset/base/261150 Log: Read and write the MAC address in the config space byte by byte Modified: head/sys/dev/virtio/network/if_vtnet.c Modified: head/sys/dev/virtio/network/if_vtnet.c =

svn commit: r261149 - head/sys/dev/virtio/scsi

2014-01-24 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 25 07:01:51 2014 New Revision: 261149 URL: http://svnweb.freebsd.org/changeset/base/261149 Log: Read each field of the configuration individually In the forthcoming VirtIO spec, the device configuration is always in little endian instead of guest edian. This i

svn commit: r261147 - head/sys/dev/virtio/scsi

2014-01-24 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 25 06:54:04 2014 New Revision: 261147 URL: http://svnweb.freebsd.org/changeset/base/261147 Log: Remove spaces before tabs in the function prototype list Modified: head/sys/dev/virtio/scsi/virtio_scsi.c Modified: head/sys/dev/virtio/scsi/virtio_scsi.c

svn commit: r260847 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/virtio/random sys/i386/conf sys/modules/virtio sys/modules/virtio/random sys/sys

2014-01-17 Thread Bryan Venteicher
2013 Bryan Venteicher +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above

svn commit: r260583 - head/sys/dev/virtio/scsi

2014-01-12 Thread Bryan Venteicher
Author: bryanv Date: Mon Jan 13 04:46:48 2014 New Revision: 260583 URL: http://svnweb.freebsd.org/changeset/base/260583 Log: Add unmapped IO support to virtio_scsi(4) Modified: head/sys/dev/virtio/scsi/virtio_scsi.c Modified: head/sys/dev/virtio/scsi/virtio_scsi.c ===

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

2014-01-12 Thread Bryan Venteicher
Author: bryanv Date: Mon Jan 13 04:43:01 2014 New Revision: 260582 URL: http://svnweb.freebsd.org/changeset/base/260582 Log: Add unmapped IO support to virtio_blk(4) Modified: head/sys/dev/virtio/block/virtio_blk.c Modified: head/sys/dev/virtio/block/virtio_blk.c

svn commit: r260581 - in head: share/man/man9 sys/kern sys/sys

2014-01-12 Thread Bryan Venteicher
Author: bryanv Date: Mon Jan 13 04:41:08 2014 New Revision: 260581 URL: http://svnweb.freebsd.org/changeset/base/260581 Log: Add sglist_append_bio(9) to append a struct bio's data to a sglist Reviewed by: jhb, kib (long ago) Modified: head/share/man/man9/Makefile head/share/man/man9/s

Re: svn commit: r260566 - head/sys/dev/virtio/scsi

2014-01-12 Thread Bryan Venteicher
Details from the PR seem to suggest the Google Compute Engine hypervisor (I'd guess it is some QEMU fork) doesn't support REPORT_LUNS. -Nathan > > On 01/12/14 12:40, Bryan Venteicher wrote: > > Author: bryanv > > Date: Sun Jan 12 17:40:47 2014 > > New Revis

svn commit: r260566 - head/sys/dev/virtio/scsi

2014-01-12 Thread Bryan Venteicher
Author: bryanv Date: Sun Jan 12 17:40:47 2014 New Revision: 260566 URL: http://svnweb.freebsd.org/changeset/base/260566 Log: Remove incorrect bit shift when assigning the LUN request field This caused duplicate targets appearing on Google Compute Engine instances. PR: kern/

Re: svn commit: r260224 - head/sys/netinet

2014-01-06 Thread Bryan Venteicher
On Mon, Jan 6, 2014 at 12:53 AM, Yonghyeon PYUN wrote: > On Fri, Jan 03, 2014 at 11:03:12AM +, Gleb Smirnoff wrote: > > Author: glebius > > Date: Fri Jan 3 11:03:12 2014 > > New Revision: 260224 > > URL: http://svnweb.freebsd.org/changeset/base/260224 > > > > Log: > > Make failure of ifpro

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

2013-10-10 Thread Bryan Venteicher
Author: bryanv Date: Fri Oct 11 06:48:40 2013 New Revision: 256308 URL: http://svnweb.freebsd.org/changeset/base/256308 Log: Do not provide a hint of the guest's OS version The calculation can overflow if __FreeBSD_version is big enough, and it does not appear to be required. Reporte

Re: svn commit: r256066 - head/sys/dev/virtio/network

2013-10-06 Thread Bryan Venteicher
On Sun, Oct 6, 2013 at 7:23 AM, Kubilay Kocak wrote: > On 6/10/2013 5:07 AM, Bryan Venteicher wrote: > > Author: bryanv > > Date: Sat Oct 5 18:07:24 2013 > > New Revision: 256066 > > URL: http://svnweb.freebsd.org/changeset/base/256066 > > > > Log: > &g

Re: svn commit: r256066 - head/sys/dev/virtio/network

2013-10-06 Thread Bryan Venteicher
On Sat, Oct 5, 2013 at 4:12 PM, Alexander V. Chernikov wrote: > On 05.10.2013 22:07, Bryan Venteicher wrote: > > Author: bryanv > > Date: Sat Oct 5 18:07:24 2013 > > New Revision: 256066 > > URL: http://svnweb.freebsd.org/changeset/base/256066 > > > > Lo

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

2013-10-05 Thread Bryan Venteicher
Author: bryanv Date: Sat Oct 5 18:07:24 2013 New Revision: 256066 URL: http://svnweb.freebsd.org/changeset/base/256066 Log: Do not hold the vtnet Rx queue lock when calling up into the stack This matches other similar drivers and avoids various LOR warnings. Approved by: re (marius)

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

2013-09-16 Thread Bryan Venteicher
Author: bryanv Date: Tue Sep 17 01:54:13 2013 New Revision: 255623 URL: http://svnweb.freebsd.org/changeset/base/255623 Log: Add vmx(4) to i386 and amd64 GENERIC Approved by: re (gjb) Modified: head/sys/amd64/conf/GENERIC head/sys/i386/conf/GENERIC Modified: head/sys/amd64/conf/GENER

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

2013-09-08 Thread Bryan Venteicher
Author: bryanv Date: Sun Sep 8 19:13:06 2013 New Revision: 255400 URL: http://svnweb.freebsd.org/changeset/base/255400 Log: Use correct type for the vmx vlan filter table Approved by: re (glebius, gjb) Modified: head/sys/dev/vmware/vmxnet3/if_vmxvar.h Modified: head/sys/dev/vmware/vmx

Re: svn commit: r255323 - in head/sys: amd64/conf i386/conf

2013-09-07 Thread Bryan Venteicher
On Sat, Sep 7, 2013 at 3:17 AM, Slawa Olhovchenkov wrote: > On Fri, Sep 06, 2013 at 03:46:11PM -0500, Bryan Venteicher wrote: > > > On Fri, Sep 6, 2013 at 3:24 PM, Bryan Venteicher > wrote: > > > > > Author: bryanv > > > Date: Fri Sep 6 20:24:21 2013 >

Re: svn commit: r255323 - in head/sys: amd64/conf i386/conf

2013-09-07 Thread Bryan Venteicher
On Sat, Sep 7, 2013 at 2:06 AM, Gleb Smirnoff wrote: > On Fri, Sep 06, 2013 at 03:46:11PM -0500, Bryan Venteicher wrote: > B> On Fri, Sep 6, 2013 at 3:24 PM, Bryan Venteicher > wrote: > B> > B> > Author: bryanv > B> > Date: Fri Sep 6 20:24:21 2013 > B&g

Re: svn commit: r255323 - in head/sys: amd64/conf i386/conf

2013-09-06 Thread Bryan Venteicher
On Fri, Sep 6, 2013 at 3:24 PM, Bryan Venteicher wrote: > Author: bryanv > Date: Fri Sep 6 20:24:21 2013 > New Revision: 255323 > URL: http://svnweb.freebsd.org/changeset/base/255323 > > Log: > Add vmx device to the i386 and amd64 NOTES files > > FWIW - I'm

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

2013-09-06 Thread Bryan Venteicher
Author: bryanv Date: Fri Sep 6 20:24:21 2013 New Revision: 255323 URL: http://svnweb.freebsd.org/changeset/base/255323 Log: Add vmx device to the i386 and amd64 NOTES files Modified: head/sys/amd64/conf/NOTES head/sys/i386/conf/NOTES Modified: head/sys/amd64/conf/NOTES ===

  1   2   >