search for: virtio_net_f_multiqueue

Displaying 20 results from an estimated 26 matches for "virtio_net_f_multiqueue".

2012 Jun 26
0
[rfc] virtio-spec: introduce VIRTIO_NET_F_MULTIQUEUE
...ason Wang" \end_header \begin_body @@ -3854,11 +3855,22 @@ ID 1 \end_layout \begin_layout Description -Virtqueues 0:receiveq. +Virtqueues +\change_inserted 2090695081 1340693104 + +\end_layout + +\begin_deeper +\begin_layout Description + +\change_inserted 2090695081 1340693118 +When VIRTIO_NET_F_MULTIQUEUE is not set: +\change_unchanged +0:receiveq. 1:transmitq. 2:controlq \begin_inset Foot -status open +status collapsed \begin_layout Plain Layout Only if VIRTIO_NET_F_CTRL_VQ set @@ -3867,9 +3879,60 @@ Only if VIRTIO_NET_F_CTRL_VQ set \end_inset +\change_inserted 2090695081 1340693122...
2012 Jun 26
0
[rfc] virtio-spec: introduce VIRTIO_NET_F_MULTIQUEUE
...ason Wang" \end_header \begin_body @@ -3854,11 +3855,22 @@ ID 1 \end_layout \begin_layout Description -Virtqueues 0:receiveq. +Virtqueues +\change_inserted 2090695081 1340693104 + +\end_layout + +\begin_deeper +\begin_layout Description + +\change_inserted 2090695081 1340693118 +When VIRTIO_NET_F_MULTIQUEUE is not set: +\change_unchanged +0:receiveq. 1:transmitq. 2:controlq \begin_inset Foot -status open +status collapsed \begin_layout Plain Layout Only if VIRTIO_NET_F_CTRL_VQ set @@ -3867,9 +3879,60 @@ Only if VIRTIO_NET_F_CTRL_VQ set \end_inset +\change_inserted 2090695081 1340693122...
2012 Sep 06
2
[PATCHv3] virtio-spec: virtio network device multiqueue support
Add multiqueue support to virtio network device. Add a new feature flag VIRTIO_NET_F_MULTIQUEUE for this feature, a new configuration field max_virtqueue_pairs to detect supported number of virtqueues as well as a new command VIRTIO_NET_CTRL_STEERING to program packet steering. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> -- Changes from v2: Address Jason's comments on v...
2012 Sep 06
2
[PATCHv3] virtio-spec: virtio network device multiqueue support
Add multiqueue support to virtio network device. Add a new feature flag VIRTIO_NET_F_MULTIQUEUE for this feature, a new configuration field max_virtqueue_pairs to detect supported number of virtqueues as well as a new command VIRTIO_NET_CTRL_STEERING to program packet steering. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> -- Changes from v2: Address Jason's comments on v...
2012 Sep 03
1
[PATCHv2] virtio-spec: virtio network device multiqueue support
...s looks OK to everyone, we can proceed with finalizing the implementation. This patch is against eb9fc84d0d3c46438aaab190e2401a9e5409a052 in virtio-spec git tree. --> virtio-spec: virtio network device multiqueue support Add multiqueue support to virtio network device. Add a new feature flag VIRTIO_NET_F_MULTIQUEUE for this feature, a new configuration field max_virtqueue_pairs to detect supported number of virtqueues as well as a new command VIRTIO_NET_CTRL_STEERING to program packet steering. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> -- diff --git a/virtio-spec.lyx b/virtio-spec.lyx ind...
2012 Sep 03
1
[PATCHv2] virtio-spec: virtio network device multiqueue support
...s looks OK to everyone, we can proceed with finalizing the implementation. This patch is against eb9fc84d0d3c46438aaab190e2401a9e5409a052 in virtio-spec git tree. --> virtio-spec: virtio network device multiqueue support Add multiqueue support to virtio network device. Add a new feature flag VIRTIO_NET_F_MULTIQUEUE for this feature, a new configuration field max_virtqueue_pairs to detect supported number of virtqueues as well as a new command VIRTIO_NET_CTRL_STEERING to program packet steering. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> -- diff --git a/virtio-spec.lyx b/virtio-spec.lyx ind...
2012 Sep 09
1
[PATCHv4] virtio-spec: virtio network device multiqueue support
Add multiqueue support to virtio network device. Add a new feature flag VIRTIO_NET_F_MULTIQUEUE for this feature, a +new configuration field max_virtqueue_pairs to detect supported number +of virtqueues as well as a new command VIRTIO_NET_CTRL_STEERING to +program packet steering. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> Changes from v3: Address Sasha's comments - dro...
2012 Sep 09
1
[PATCHv4] virtio-spec: virtio network device multiqueue support
Add multiqueue support to virtio network device. Add a new feature flag VIRTIO_NET_F_MULTIQUEUE for this feature, a +new configuration field max_virtqueue_pairs to detect supported number +of virtqueues as well as a new command VIRTIO_NET_CTRL_STEERING to +program packet steering. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> Changes from v3: Address Sasha's comments - dro...
2011 Nov 11
1
[RFC] kvm tools: Implement multiple VQ for virtio-net
...1,13 +311,19 @@ static u32 get_host_features(struct kvm *kvm, void *dev) | 1UL << VIRTIO_NET_F_HOST_TSO6 | 1UL << VIRTIO_NET_F_GUEST_UFO | 1UL << VIRTIO_NET_F_GUEST_TSO4 - | 1UL << VIRTIO_NET_F_GUEST_TSO6; + | 1UL << VIRTIO_NET_F_GUEST_TSO6 + | 1UL << VIRTIO_NET_F_MULTIQUEUE; } static void set_guest_features(struct kvm *kvm, void *dev, u32 features) { struct net_dev *ndev = dev; + if (features & (1UL << VIRTIO_NET_F_MULTIQUEUE)) + ndev->vq_num = ndev->config.num_queues; + else + ndev->vq_num = 2; + ndev->features = features; } @@ -...
2011 Nov 11
1
[RFC] kvm tools: Implement multiple VQ for virtio-net
...1,13 +311,19 @@ static u32 get_host_features(struct kvm *kvm, void *dev) | 1UL << VIRTIO_NET_F_HOST_TSO6 | 1UL << VIRTIO_NET_F_GUEST_UFO | 1UL << VIRTIO_NET_F_GUEST_TSO4 - | 1UL << VIRTIO_NET_F_GUEST_TSO6; + | 1UL << VIRTIO_NET_F_GUEST_TSO6 + | 1UL << VIRTIO_NET_F_MULTIQUEUE; } static void set_guest_features(struct kvm *kvm, void *dev, u32 features) { struct net_dev *ndev = dev; + if (features & (1UL << VIRTIO_NET_F_MULTIQUEUE)) + ndev->vq_num = ndev->config.num_queues; + else + ndev->vq_num = 2; + ndev->features = features; } @@ -...
2012 Oct 30
6
[rfc net-next v6 0/3] Multiqueue virtio-net
...+2%/ 0% 4096/ 2/ +3%/ -19% 4096/ 4/ -1%/ -19% 16384/ 1/ -3%/ -1% 16384/ 2/ 0%/ -12% 16384/ 4/ 0%/ -10% Jason Wang (2): virtio_net: multiqueue support virtio-net: change the number of queues through ethtool Krishna Kumar (1): virtio_net: Introduce VIRTIO_NET_F_MULTIQUEUE drivers/net/virtio_net.c | 790 ++++++++++++++++++++++++++++----------- include/uapi/linux/virtio_net.h | 19 + 2 files changed, 594 insertions(+), 215 deletions(-)
2012 Oct 30
6
[rfc net-next v6 0/3] Multiqueue virtio-net
...+2%/ 0% 4096/ 2/ +3%/ -19% 4096/ 4/ -1%/ -19% 16384/ 1/ -3%/ -1% 16384/ 2/ 0%/ -12% 16384/ 4/ 0%/ -10% Jason Wang (2): virtio_net: multiqueue support virtio-net: change the number of queues through ethtool Krishna Kumar (1): virtio_net: Introduce VIRTIO_NET_F_MULTIQUEUE drivers/net/virtio_net.c | 790 ++++++++++++++++++++++++++++----------- include/uapi/linux/virtio_net.h | 19 + 2 files changed, 594 insertions(+), 215 deletions(-)
2011 Dec 05
8
[net-next RFC PATCH 0/5] Series short description
multiple queue virtio-net: flow steering through host/guest cooperation Hello all: This is a rough series adds the guest/host cooperation of flow steering support based on Krish Kumar's multiple queue virtio-net driver patch 3/3 (http://lwn.net/Articles/467283/). This idea is simple, the backend pass the rxhash to the guest and guest would tell the backend the hash to queue mapping when
2011 Dec 05
8
[net-next RFC PATCH 0/5] Series short description
multiple queue virtio-net: flow steering through host/guest cooperation Hello all: This is a rough series adds the guest/host cooperation of flow steering support based on Krish Kumar's multiple queue virtio-net driver patch 3/3 (http://lwn.net/Articles/467283/). This idea is simple, the backend pass the rxhash to the guest and guest would tell the backend the hash to queue mapping when
2012 Jun 25
8
[net-next RFC V4 PATCH 0/4] Multiqueue virtio-net
...processor id References: - V3: http://lwn.net/Articles/467283/ --- Jason Wang (3): virtio_ring: move queue_index to vring_virtqueue virtio: introduce a method to get the irq of a specific virtqueue virtio_net: multiqueue support Krishna Kumar (1): virtio_net: Introduce VIRTIO_NET_F_MULTIQUEUE drivers/lguest/lguest_device.c | 8 drivers/net/virtio_net.c | 695 +++++++++++++++++++++++++++++----------- drivers/s390/kvm/kvm_virtio.c | 6 drivers/virtio/virtio_mmio.c | 13 + drivers/virtio/virtio_pci.c | 24 + drivers/virtio/virtio_ring.c | 17 + include/linux...
2012 Jun 25
8
[net-next RFC V4 PATCH 0/4] Multiqueue virtio-net
...processor id References: - V3: http://lwn.net/Articles/467283/ --- Jason Wang (3): virtio_ring: move queue_index to vring_virtqueue virtio: introduce a method to get the irq of a specific virtqueue virtio_net: multiqueue support Krishna Kumar (1): virtio_net: Introduce VIRTIO_NET_F_MULTIQUEUE drivers/lguest/lguest_device.c | 8 drivers/net/virtio_net.c | 695 +++++++++++++++++++++++++++++----------- drivers/s390/kvm/kvm_virtio.c | 6 drivers/virtio/virtio_mmio.c | 13 + drivers/virtio/virtio_pci.c | 24 + drivers/virtio/virtio_ring.c | 17 + include/linux...
2012 Jul 05
14
[net-next RFC V5 0/5] Multiqueue virtio-net
...1% 1055.21 1245.17 118% Jason Wang (4): virtio_ring: move queue_index to vring_virtqueue virtio: intorduce an API to set affinity for a virtqueue virtio_net: multiqueue support virtio_net: support negotiating the number of queues through ctrl vq Krishna Kumar (1): virtio_net: Introduce VIRTIO_NET_F_MULTIQUEUE drivers/net/virtio_net.c | 792 +++++++++++++++++++++++++++++------------ drivers/virtio/virtio_mmio.c | 5 +- drivers/virtio/virtio_pci.c | 58 +++- drivers/virtio/virtio_ring.c | 17 + include/linux/virtio.h | 4 + include/linux/virtio_config.h | 21 ++ include/linu...
2012 Jul 05
14
[net-next RFC V5 0/5] Multiqueue virtio-net
...1% 1055.21 1245.17 118% Jason Wang (4): virtio_ring: move queue_index to vring_virtqueue virtio: intorduce an API to set affinity for a virtqueue virtio_net: multiqueue support virtio_net: support negotiating the number of queues through ctrl vq Krishna Kumar (1): virtio_net: Introduce VIRTIO_NET_F_MULTIQUEUE drivers/net/virtio_net.c | 792 +++++++++++++++++++++++++++++------------ drivers/virtio/virtio_mmio.c | 5 +- drivers/virtio/virtio_pci.c | 58 +++- drivers/virtio/virtio_ring.c | 17 + include/linux/virtio.h | 4 + include/linux/virtio_config.h | 21 ++ include/linu...
2011 Nov 11
10
[RFC] [ver3 PATCH 0/6] Implement multiqueue virtio-net
...eues functionality for virtio_net, and addresses the issues pointed out. It also includes an API to share irq's, f.e. amongst the TX vqs. I plan to run TCP/UDP STREAM and RR tests for local->host and local->remote, and send the results in the next couple of days. patch #1: Introduce VIRTIO_NET_F_MULTIQUEUE patch #2: Move 'num_queues' to virtqueue patch #3: virtio_net driver changes patch #4: vhost_net changes patch #5: Implement find_vqs_irq() patch #6: Convert virtio_net driver to use find_vqs_irq() Changes from rev2: Michael: ------- 1. Added functions to handle setting RX/TX/CTRL vq...
2011 Nov 11
10
[RFC] [ver3 PATCH 0/6] Implement multiqueue virtio-net
...eues functionality for virtio_net, and addresses the issues pointed out. It also includes an API to share irq's, f.e. amongst the TX vqs. I plan to run TCP/UDP STREAM and RR tests for local->host and local->remote, and send the results in the next couple of days. patch #1: Introduce VIRTIO_NET_F_MULTIQUEUE patch #2: Move 'num_queues' to virtqueue patch #3: virtio_net driver changes patch #4: vhost_net changes patch #5: Implement find_vqs_irq() patch #6: Convert virtio_net driver to use find_vqs_irq() Changes from rev2: Michael: ------- 1. Added functions to handle setting RX/TX/CTRL vq...