From: Amos Kong
VIRTIO_NET_F_VTRL_VQ -> VIRTIO_NET_F_CTRL_VQ
VIRTIO_NET_CTRL_MQ is defined to 4 in kernel code
Signed-off-by: Amos Kong
---
virtio-spec.lyx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/virtio-spec.lyx b/virtio-spec.lyx
index 78ec5d0..1ba9992 100644
--
On 01/09/2013 09:52 AM, Wanlong Gao wrote:
> On 01/08/2013 06:26 PM, Jason Wang wrote:
>> On 01/08/2013 06:07 PM, Wanlong Gao wrote:
>>> As Michael mentioned, set affinity and select queue will not work very
>>> well when CPU IDs are not consecutive, this can happen with hot unplug.
>>> Fix this bu
On 01/08/2013 06:26 PM, Jason Wang wrote:
> On 01/08/2013 06:07 PM, Wanlong Gao wrote:
>> As Michael mentioned, set affinity and select queue will not work very
>> well when CPU IDs are not consecutive, this can happen with hot unplug.
>> Fix this bug by traversal the online CPUs, and create a per
On 01/09/2013 07:31 AM, Rusty Russell wrote:
> Wanlong Gao writes:
>> */
>> static u16 virtnet_select_queue(struct net_device *dev, struct sk_buff *skb)
>> {
>> -int txq = skb_rx_queue_recorded(skb) ? skb_get_rx_queue(skb) :
>> - smp_processor_id();
>> +int txq = 0;
>> +
>
On Tue, Jan 08, 2013 at 05:46:01PM -0800, David Miller wrote:
> From: Dmitry Torokhov
> Date: Tue, 08 Jan 2013 17:41:44 -0800
>
> > On Tuesday, January 08, 2013 05:30:56 PM David Miller wrote:
> >> From: Greg KH
> >> Date: Tue, 8 Jan 2013 16:21:10 -0800
> >>
> >> > On Tue, Jan 08, 2013 at 03:59
From: Dmitry Torokhov
Date: Tue, 08 Jan 2013 17:41:44 -0800
> On Tuesday, January 08, 2013 05:30:56 PM David Miller wrote:
>> From: Greg KH
>> Date: Tue, 8 Jan 2013 16:21:10 -0800
>>
>> > On Tue, Jan 08, 2013 at 03:59:08PM -0800, George Zhang wrote:
>> >> * * *
>> >>
>> >> This series of VSOCK
On Tuesday, January 08, 2013 05:30:56 PM David Miller wrote:
> From: Greg KH
> Date: Tue, 8 Jan 2013 16:21:10 -0800
>
> > On Tue, Jan 08, 2013 at 03:59:08PM -0800, George Zhang wrote:
> >> * * *
> >>
> >> This series of VSOCK linux upstreaming patches include latest udpate from
> >> VMware to ad
From: Greg KH
Date: Tue, 8 Jan 2013 16:21:10 -0800
> On Tue, Jan 08, 2013 at 03:59:08PM -0800, George Zhang wrote:
>>
>> * * *
>>
>> This series of VSOCK linux upstreaming patches include latest udpate from
>> VMware to address Greg's and all other's code review comments.
>
> Dave, you acked t
On Tue, Jan 08, 2013 at 04:28:51PM -0800, Dmitry Torokhov wrote:
> Hi Greg,
>
> On Tuesday, January 08, 2013 04:15:39 PM Greg KH wrote:
> > On Tue, Jan 08, 2013 at 03:54:54PM -0800, George Zhang wrote:
> >
> > > +/* Guest device port I/O. */
> > > +struct PPNSet {
> > > + u64 num_produce_pages;
>
Hi Greg,
On Tuesday, January 08, 2013 04:15:39 PM Greg KH wrote:
> On Tue, Jan 08, 2013 at 03:54:54PM -0800, George Zhang wrote:
>
> > +/* Guest device port I/O. */
> > +struct PPNSet {
> > + u64 num_produce_pages;
> > + u64 num_consume_pages;
> > + u32 *produce_ppns;
> > + u32 *consume_p
On Tue, Jan 08, 2013 at 03:59:08PM -0800, George Zhang wrote:
>
> * * *
>
> This series of VSOCK linux upstreaming patches include latest udpate from
> VMware to address Greg's and all other's code review comments.
Dave, you acked these patches a while ago, and now that I've taken the
VMCI patch
On Tue, Jan 08, 2013 at 03:52:33PM -0800, George Zhang wrote:
> * * *
> This series of VMCI linux upstreaming patches include latest udpate from
> VMware to address Greg's and all other's code review comments.
Nice work, thanks for the changes you've made over time, and for your
persistence. I ca
On Tue, Jan 08, 2013 at 03:54:54PM -0800, George Zhang wrote:
> VMCI queue pairs allow for bi-directional ordered communication between host
> and guests.
You should wrap your commit lines at 72 characters, like git asks you to :)
> +/* Guest device port I/O. */
> +struct PPNSet {
> + u64 nu
VSOCK header files, Makefiles and Kconfig systems for Linux VSocket module.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
Documentation/ioctl/ioctl-number.txt |1
include/linux/socket.h |4
net/Kconfig |1
ne
VSOCK utility functions for Linux VSocket module.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
net/vmw_vsock/util.c | 345 ++
net/vmw_vsock/util.h | 187 +++
2 files changed, 532 insertio
VSOCK stats for VMCI Stream Sockets protocol.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
net/vmw_vsock/stats.c | 30 ++
net/vmw_vsock/stats.h | 150 +
2 files changed, 180 insertions(+), 0 deletions(-
VSOCK control notifications for VMCI Stream Sockets protocol.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
net/vmw_vsock/notify.c | 675
net/vmw_vsock/notify.h | 124 +
2 files changed, 799 insertions(+
VSOCK linux address code implementation.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
net/vmw_vsock/vsock_addr.c | 116
net/vmw_vsock/vsock_addr.h | 34 +
2 files changed, 150 insertions(+), 0 deletion
* * *
This series of VSOCK linux upstreaming patches include latest udpate from
VMware to address Greg's and all other's code review comments.
Summary of changes:
- Rebase our linux kernel tree from v3.5 to v3.7.
- Fix all checkpatch warnings and errors. Fix some checkpatch with
VMCI head config patch Adds all the necessary files to enable building of the
VMCI
module with the Linux Makefiles and Kconfig systems. Also adds the header files
used
for building modules against the driver.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
drive
VMCI host side driver code implementation.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
drivers/misc/vmw_vmci/vmci_host.c | 1042 +
1 files changed, 1042 insertions(+), 0 deletions(-)
create mode 100644 drivers/misc/vmw_vmci
VMCI guest side driver code implementation.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
drivers/misc/vmw_vmci/vmci_guest.c | 759
1 files changed, 759 insertions(+), 0 deletions(-)
create mode 100644 drivers/misc/vmw_vmci
VMCI routing code is responsible for routing between various hosts/guests as
well as
routing in nested scenarios.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
drivers/misc/vmw_vmci/vmci_route.c | 226
drivers/misc/vmw_vmci
VMCI resource tracks all used resources within the vmci code.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
drivers/misc/vmw_vmci/vmci_resource.c | 229 +
drivers/misc/vmw_vmci/vmci_resource.h | 59 +
2 files changed, 2
VMCI handle code adds support for dynamic arrays that will grow if they need to.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
drivers/misc/vmw_vmci/vmci_handle_array.c | 142 +
drivers/misc/vmw_vmci/vmci_handle_array.h | 52 ++
VMCI event code that manages event handlers and handles callbacks when specific
events fire.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
drivers/misc/vmw_vmci/vmci_event.c | 224
drivers/misc/vmw_vmci/vmci_event.h | 25 +
VMCI driver code implementes both the host and guest personalities of the VMCI
driver.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
drivers/misc/vmw_vmci/vmci_driver.c | 117 +++
drivers/misc/vmw_vmci/vmci_driver.h | 50 +
VMCI doorbell code allows for notifcations between host and guest.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
drivers/misc/vmw_vmci/vmci_doorbell.c | 604 +
drivers/misc/vmw_vmci/vmci_doorbell.h | 51 +++
2 files changed, 65
VMCI datagram Implements datagrams to allow data to be sent between host and
guest.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
drivers/misc/vmw_vmci/vmci_datagram.c | 500 +
drivers/misc/vmw_vmci/vmci_datagram.h | 52 +++
2
VMCI Context code maintains state for vmci and allows the driver to communicate
with multiple VMs.
Signed-off-by: George Zhang
Acked-by: Andy king
Acked-by: Dmitry Torokhov
---
drivers/misc/vmw_vmci/vmci_context.c | 1214 ++
drivers/misc/vmw_vmci/vmci_context.h
* * *
This series of VMCI linux upstreaming patches include latest udpate from
VMware to address Greg's and all other's code review comments.
Summary of changes:
- Rebase our linux kernel tree from v3.5 to v3.7.
- Fix all checkpatch warnings and errors. Fix some checkpatch with
-s
Sjur Brændeland writes:
> On Fri, Dec 21, 2012 at 7:11 AM, Rusty Russell wrote:
>> "Michael S. Tsirkin" writes:
>>
>>> On Wed, Dec 05, 2012 at 03:36:58PM +0100, Sjur Brændeland wrote:
Feedback on this patch-set is appreciated, particularly on structure
and code-reuse between vhost.c an
Wanlong Gao writes:
> */
> static u16 virtnet_select_queue(struct net_device *dev, struct sk_buff *skb)
> {
> - int txq = skb_rx_queue_recorded(skb) ? skb_get_rx_queue(skb) :
> - smp_processor_id();
> + int txq = 0;
> +
> + if (skb_rx_queue_recorded(skb))
> +
On 01/08/2013 06:07 PM, Wanlong Gao wrote:
> As Michael mentioned, set affinity and select queue will not work very
> well when CPU IDs are not consecutive, this can happen with hot unplug.
> Fix this bug by traversal the online CPUs, and create a per cpu variable
> to find the mapping from CPU to
Add a cpu notifier to virtio-net, so that we can reset the
virtqueue affinity if the cpu hotplug happens. It improve
the performance through enabling or disabling the virtqueue
affinity after doing cpu hotplug.
Cc: Rusty Russell
Cc: "Michael S. Tsirkin"
Cc: Jason Wang
Cc: Eric Dumazet
Cc: virt
As Michael mentioned, set affinity and select queue will not work very
well when CPU IDs are not consecutive, this can happen with hot unplug.
Fix this bug by traversal the online CPUs, and create a per cpu variable
to find the mapping from CPU to the preferable virtual-queue.
Cc: Rusty Russell
C
On Fri, Dec 21, 2012 at 7:11 AM, Rusty Russell wrote:
> "Michael S. Tsirkin" writes:
>
>> On Wed, Dec 05, 2012 at 03:36:58PM +0100, Sjur Brændeland wrote:
>>> Feedback on this patch-set is appreciated, particularly on structure
>>> and code-reuse between vhost.c and the host-side virtio-queue.
>>
37 matches
Mail list logo