[PATCH net-next v3]ldmvsw: tx queue stuck in stopped state after LDC reset

2016-10-28 Thread Aaron Young
From: Aaron Young <aaron.yo...@oracle.com> The following patch fixes an issue with the ldmvsw driver where the network connection of a guest domain becomes non-functional after the guest domain has panic'd and rebooted. The root cause was determined to be from the following series of even

[PATCH net-next]ldmvsw: tx queue stuck in stopped state after LDC reset

2016-10-26 Thread Aaron Young
From: Aaron Young <aaron.yo...@oracle.com> The following patch fixes an issue with the ldmvsw driver where the network connection of a guest domain becomes non-functional after a guest domain has panic'd and rebooted (resulting in a LDC reset). The root cause was dete

[PATCH net-next v2 3/4] ldmvsw: Add ldmvsw.c driver code

2016-03-15 Thread Aaron Young
From: Aaron Young <aaron.yo...@oracle.com> Add ldmvsw.c driver Details: The ldmvsw driver very closely follows the sunvnet.c code and makes use of the sunvnet_common.c code for core functionality. A significant difference between sunvnet and ldmvsw driver is sunvnet c

[PATCH net-next v2 2/4] ldmvsw: Make sunvnet_common compatible with ldmvsw

2016-03-15 Thread Aaron Young
From: Aaron Young <aaron.yo...@oracle.com> Modify sunvnet common code and data structures to be compatible with both sunvnet and ldmvsw drivers. Details: Sunvnet operates on "vnet-port" nodes which appear in the Machine Description (MD) in a guest domain. Ldmvsw

[PATCH net-next v2 1/4] ldmvsw: Split sunvnet driver into common code

2016-03-15 Thread Aaron Young
From: Aaron Young <aaron.yo...@oracle.com> Split sunvnet.c into sunvnet.c and sunvnet_common.c. Details: Since the sunvnet and ldmvsw drivers will both use common sunvnet code, move the functions (and support functions) anticipated to be common code from sun

[PATCH net-next v2 4/4] ldmvsw: Checkpatch sunvnet.c and sunvnet_common.c

2016-03-15 Thread Aaron Young
From: Aaron Young <aaron.yo...@oracle.com> Checkpatch updates for sunvnet.c and sunvnet_common.c. Signed-off-by: Aaron Young <aaron.yo...@oracle.com> Signed-off-by: Rashmi Narasimhan <rashmi.narasim...@oracle.com> Reviewed-by: Sowmini Varadhan <sowmini.varad...@o

[PATCH net-next v2 0/4] ldmvsw: Add ldmvsw driver

2016-03-15 Thread Aaron Young
From: Aaron Young <aaron.yo...@oracle.com> This series adds a new Logical Domains vSwitch (ldmvsw) driver. The ldmvsw driver code will live in the drivers/net/ethernet/sun/ directory and will operate on Oracle systems running SPARC Linux in a Logical Domains environment (typically in the c

Re: [PATCH net-next 3/4] ldmvsw: Add ldmvsw.c driver code

2016-03-11 Thread aaron . young
Thank you very much for the review. I'll make the requested changes and resubmit the series... -Aaron Young On 03/11/16 11:30, David Miller wrote: From: Aaron Young <aaron.yo...@oracle.com> Date: Tue, 8 Mar 2016 07:02:35 -0800 +static struct vnet *vsw_get_vnet(struct mdesc_hand

[PATCH net-next 3/4] ldmvsw: Add ldmvsw.c driver code

2016-03-08 Thread Aaron Young
r assigned to the associated vsw-port node in the MD. Signed-off-by: Aaron Young <aaron.yo...@oracle.com> Signed-off-by: Rashmi Narasimhan <rashmi.narasim...@oracle.com> Reviewed-by: Sowmini Varadhan <sowmini.varad...@oracle.com> Reviewed-by: Alexandre Chartre <alexandre.char

[PATCH net-next 1/4] ldmvsw: Split sunvnet driver into common code

2016-03-08 Thread Aaron Young
is defined/selected. NOTE - per the SubmittingPatches documentation, since the code was just moved from one file another, the code was NOT checkpatch'd in this commit to aid in review. Signed-off-by: Aaron Young <aaron.yo...@oracle.com> Signed-off-by: Rashmi Narasimhan <rashmi.na

[PATCH net-next 4/4] ldmvsw: Checkpatch sunvnet.c and sunvnet_common.c

2016-03-08 Thread Aaron Young
Checkpatch updates for sunvnet.c and sunvnet_common.c. Signed-off-by: Aaron Young <aaron.yo...@oracle.com> Signed-off-by: Rashmi Narasimhan <rashmi.narasim...@oracle.com> Reviewed-by: Sowmini Varadhan <sowmini.varad...@oracle.com> Reviewed-by: Alexandre Chart

[PATCH net-next 2/4] ldmvsw: Make sunvnet_common compatible with ldmvsw

2016-03-08 Thread Aaron Young
d without risking changes to the non-trivial locking logic in vnet_start_xmit_common(). Signed-off-by: Aaron Young <aaron.yo...@oracle.com> Signed-off-by: Rashmi Narasimhan <rashmi.narasim...@oracle.com> Reviewed-by: Sowmini Varadhan <sowmini.varad...@oracle.com> Reviewed-

[PATCH net-next 0/4] ldmvsw: Add ldmvsw driver

2016-03-08 Thread Aaron Young
From: Aaron Young <aaron.yo...@oracle.com> This series adds a new Logical Domains vSwitch (ldmvsw) driver. The ldmvsw driver code will live in the drivers/net/ethernet/sun/ directory and will operate on Oracle systems running SPARC Linux in a Logical Domains environment (typically in the c