1. 23 9月, 2009 2 次提交
    • R
      virtio: make add_buf return capacity remaining · 3c1b27d5
      Rusty Russell 提交于
      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: NRusty Russell <rusty@rustcorp.com.au>
      Cc: Dinesh Subhraveti <dineshs@us.ibm.com>
      3c1b27d5
    • R
      virtio_pci: minor MSI-X cleanups · f68d2408
      Rusty Russell 提交于
      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: NRusty Russell <rusty@rustcorp.com.au>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      f68d2408
  2. 21 9月, 2009 6 次提交
  3. 20 9月, 2009 32 次提交