1. 23 Sep, 2009 2 commits
    • Rusty Russell's avatar
      virtio: make add_buf return capacity remaining · 3c1b27d5
      Rusty Russell authored
      This API change means that virtio_net can tell how much capacity
      remains for buffers.  It's necessarily fuzzy, since
      VIRTIO_RING_F_INDIRECT_DESC means we can fit any number of descriptors
      in one, *if* we can kmalloc.
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Cc: Dinesh Subhraveti <dineshs@us.ibm.com>
      3c1b27d5
    • Rusty Russell's avatar
      virtio_pci: minor MSI-X cleanups · f68d2408
      Rusty Russell authored
      1) Rename vp_request_vectors to vp_request_msix_vectors, and take
         non-MSI-X case out to caller.
      2) Comment weird pci_enable_msix API
      3) Rename vp_find_vq to setup_vq.
      4) Fix spaces to tabs
      5) Make nvectors calc internal to vp_try_to_find_vqs()
      6) Rename vector to msix_vector for more clarity.
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      f68d2408
  2. 20 Sep, 2009 21 commits
  3. 19 Sep, 2009 17 commits