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

2016-10-28 Thread Aaron Young
From: Aaron Young 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 events: 1. Guest domain p

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

2016-10-26 Thread Aaron Young
From: Aaron Young 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 determined to be from the following s

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

2016-03-15 Thread Aaron Young
From: Aaron Young 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 creates a network interface for each

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

2016-03-15 Thread Aaron Young
From: Aaron Young 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 operates on "vsw-port"

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

2016-03-15 Thread Aaron Young
From: Aaron Young 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 sunvnet.c to sunvnet_common.c. Similarly, sunvnet.h

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

2016-03-15 Thread Aaron Young
From: Aaron Young Checkpatch updates for sunvnet.c and sunvnet_common.c. Signed-off-by: Aaron Young Signed-off-by: Rashmi Narasimhan Reviewed-by: Sowmini Varadhan Reviewed-by: Alexandre Chartre --- drivers/net/ethernet/sun/sunvnet.c|6 +- drivers/net/ethernet/sun

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

2016-03-15 Thread Aaron Young
From: Aaron Young 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 control domain). The ldmvsw

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 Date: Tue, 8 Mar 2016 07:02:35 -0800 +static struct vnet *vsw_get_vnet(struct mdesc_handl

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

2016-03-08 Thread Aaron Young
ned to the associated vsw-port node in the MD. Signed-off-by: Aaron Young Signed-off-by: Rashmi Narasimhan Reviewed-by: Sowmini Varadhan Reviewed-by: Alexandre Chartre --- arch/sparc/configs/sparc64_defconfig |1 + drivers/net/ethernet/sun/Kconfig | 11 + drivers/net/ethernet/su

[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 Signed-off-by: Rashmi Narasimhan Reviewed-by: Sowmini Varadhan

[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 Signed-off-by: Rashmi Narasimhan Reviewed-by: Sowmini Varadhan Reviewed-by: Alexandre Chartre --- drivers/net/ethernet/sun/sunvnet.c|4 +- drivers/net/ethernet/sun/sunvnet_common.c | 100

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

2016-03-08 Thread Aaron Young
nchanged without risking changes to the non-trivial locking logic in vnet_start_xmit_common(). Signed-off-by: Aaron Young Signed-off-by: Rashmi Narasimhan Reviewed-by: Sowmini Varadhan Reviewed-by: Alexandre Chartre --- drivers/net/ethernet/sun/sunvnet.c| 74 +++

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

2016-03-08 Thread Aaron Young
From: Aaron Young 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 control domain). The ldmvsw