lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1419562425-20614-1-git-send-email-jasowang@redhat.com>
Date:	Fri, 26 Dec 2014 10:53:42 +0800
From:	Jason Wang <jasowang@...hat.com>
To:	rusty@...tcorp.com.au, mst@...hat.com,
	virtualization@...ts.linux-foundation.org,
	linux-kernel@...r.kernel.org
Cc:	Jason Wang <jasowang@...hat.com>
Subject: [RFC PATCH 0/3] Sharing MSIX irq for tx/rx queue pairs

Hi all:

This series try to share MSIX irq for each tx/rx queue pair. This is
done through:

- introducing virtio pci channel which are group of virtqueues that
  sharing a single MSIX irq (Patch 1)
- expose channel setting to virtio core api (Patch 2)
- try to use channel setting in virtio-net (Patch 3)

For the transport that does not support channel, channel paramters
were simply ignored. For devices that does not use channel, it can
simply pass NULL or zero to virito core.

With the patch, 1 MSIX irq were saved for each TX/RX queue pair.

Please review.

Thanks

Jason Wang (3):
  virtio-pci: introduce channels
  virtio: let vp_find_vqs accept channel setting paramters
  virtio-net: using single MSIX irq for each TX/RX queue pair

 drivers/block/virtio_blk.c             |   3 +-
 drivers/char/virtio_console.c          |   3 +-
 drivers/lguest/lguest_device.c         |   5 +-
 drivers/misc/mic/card/mic_virtio.c     |   5 +-
 drivers/net/caif/caif_virtio.c         |   3 +-
 drivers/net/virtio_net.c               |  26 ++++-
 drivers/remoteproc/remoteproc_virtio.c |   5 +-
 drivers/rpmsg/virtio_rpmsg_bus.c       |   3 +-
 drivers/s390/kvm/kvm_virtio.c          |   5 +-
 drivers/s390/kvm/virtio_ccw.c          |   5 +-
 drivers/scsi/virtio_scsi.c             |   3 +-
 drivers/virtio/virtio_balloon.c        |   3 +-
 drivers/virtio/virtio_mmio.c           |   5 +-
 drivers/virtio/virtio_pci_common.c     | 207 ++++++++++++++++++++-------------
 drivers/virtio/virtio_pci_common.h     |  19 ++-
 include/linux/virtio_config.h          |   8 +-
 16 files changed, 208 insertions(+), 100 deletions(-)

-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ