]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Catch up with Bryan Venteicher's virtio Hg repo:
authorgrehan <grehan@FreeBSD.org>
Tue, 6 Dec 2011 06:28:32 +0000 (06:28 +0000)
committergrehan <grehan@FreeBSD.org>
Tue, 6 Dec 2011 06:28:32 +0000 (06:28 +0000)
commit8c9f6bae53fac4f5558a5a8f10f71486e50701ce
treeb8fc4729dc76f73a94a04abddf35b86d98118a8c
parent9c8a75d791cffa7aac7d2db7d46ce7711b31494f
Catch up with Bryan Venteicher's virtio Hg repo:

c162516
  Remove vtblk_sector_size

c162515
  Wrap long license lines

c162514
  Remove vtblk_unit

c162513
  Wrap long lines in the license.

c162512
  Remove verbose messages when link goes up/down.

  A similar message is printed elsewhere as a result of
  if_link_state_change().

c162511
  Explicity compare pointer to NULL

c162510
  Allocate the mac filter table at attach time.

c162509
  Add real BSD licenses to the header files copied from Linux.

  The chases upstream changes made in Linux awhile ago.

c162508
  Only notify if we actually dequeued something.

c162507
  Change a couple of if () { KASSERT(...) } to just KASSERTs.

  In non-debug kernels, the if() { } probably get optomized
  away, but I guess this is clearer.

c162506
  Remove VIRTIO_BLK_F_TOPOLOGY fields in the config.

  TOPOLOGY has since been removed from the spec, and the FreeBSD
  didn't really do anything with the fields anyways.

c162505
  Move vtblk_enqueue_request() outside the locks when getting the ident.

c162504
  Remove soon to be uneeded trylock during dump [1].
  http://lists.freebsd.org/pipermail/freebsd-current/2011-November/029226.html

c162503
  Remove emtpy line

c162502
  Drop frame if cannot allocate a vtnet_tx_header.

  If we don't, we set OACTIVE, but if there are no
  other frames in flight, vtnet_txeof() will never
  be called to unset OACTIVE. The interface would
  have to be down/up'ed in order to become usable.

  We could be cuter here and only do this if the
  virtqueue is emtpy, but its probably not worth
  the complication.

c162501
  Start mbuf replacement loop at 1 for clarity

Obtained from: Bryan Venteicher  bryanv at daemoninthecloset dot org
sys/dev/virtio/balloon/virtio_balloon.c
sys/dev/virtio/balloon/virtio_balloon.h
sys/dev/virtio/block/virtio_blk.c
sys/dev/virtio/block/virtio_blk.h
sys/dev/virtio/network/if_vtnet.c
sys/dev/virtio/network/if_vtnetvar.h
sys/dev/virtio/network/virtio_net.h
sys/dev/virtio/pci/virtio_pci.h
sys/dev/virtio/virtio.h
sys/dev/virtio/virtio_ring.h