Re: [PATCH v7 00/13] net: ethernet: aquantia: Add AQtion 2.5/5 GB NIC driver

2017-01-19 Thread David VomLehn
On 01/19/2017 02:41 PM, Florian Fainelli wrote: On 01/19/2017 01:33 PM, Alexander Loktionov wrote: From: David VomLehn This series introduces the AQtion NIC driver for the aQuantia AQC107/AQC108 network devices. v5: o Removed extra newline at the end of the files. v6: o Removed unnecessary

Re: [PATCH v5 01/13] net: ethernet: aquantia: Make and configuration files.

2017-01-14 Thread David VomLehn
On 01/14/2017 10:48 AM, Florian Fainelli wrote: On 01/14/2017 10:42 AM, David VomLehn wrote: Yes, we did have it that way at one point. But...there is also the kernel philosophy of not putting in something for future expansion; you can always do it later... Honestly, I've vacillated on

Re: [PATCH v5 01/13] net: ethernet: aquantia: Make and configuration files.

2017-01-14 Thread David VomLehn
02 PM, Alexander Loktionov wrote: From: David VomLehn Patches to create the make and configuration files. Signed-off-by: Alexander Loktionov Signed-off-by: Dmitrii Tarakanov Signed-off-by: Pavel Belous Signed-off-by: Dmitry Bezrukov Signed-off-by: David M. VomLehn --- drivers/net/ethernet/aqu

Re: [PATCH v5 00/13] net: ethernet: aquantia: Add AQtion 2.5/5 GB NIC driver

2017-01-13 Thread David VomLehn
On 01/13/2017 05:38 PM, Florian Fainelli wrote: On 01/12/2017 09:02 PM, Alexander Loktionov wrote: From: David VomLehn v1: Initial version v2: o Make necessary drivers/net/ethernet changes to integrate software o Drop intermediate atlantic directory o Remove Makefile things only

Re: [PATCH v5 01/13] net: ethernet: aquantia: Make and configuration files.

2017-01-12 Thread David VomLehn
On 01/12/2017 09:59 PM, Joe Perches wrote: On Thu, 2017-01-12 at 21:24 -0800, David VomLehn wrote: On 01/12/2017 09:06 PM, Joe Perches wrote: On Thu, 2017-01-12 at 21:02 -0800, Alexander Loktionov wrote: From: David VomLehn Patches to create the make and configuration files. This patch

Re: [PATCH v5 01/13] net: ethernet: aquantia: Make and configuration files.

2017-01-12 Thread David VomLehn
On 01/12/2017 09:06 PM, Joe Perches wrote: On Thu, 2017-01-12 at 21:02 -0800, Alexander Loktionov wrote: From: David VomLehn Patches to create the make and configuration files. This patch should _really_ be the last in the series not the first. Could you explain the basis for this? By

Re: [PATCH v2 00/12] net: ethernet: aquantia: Add AQtion 2.5/5 GB NIC driver

2017-01-06 Thread David VomLehn
On 01/06/2017 01:02 PM, David Miller wrote: From: Alexander Loktionov Date: Fri, 6 Jan 2017 00:06:01 -0800 This series introduced the AQtion NIC driver for the aQuantia AQC107/AQC108 network devices. v1: Initial version v2: o Make necessary drivers/net/ethernet changes to integrate software

Re: [PATCH 05/12] Support for NIC-specific code

2016-12-29 Thread David VomLehn
Responses inline. On 12/27/2016 09:21 PM, Rami Rosen wrote: Hi, David, Several nitpicks and comments, from a brief overview: The commented label //err_exit: should be removed +++ b/drivers/net/ethernet/aquantia/atlantic/aq_nic.c @@ -0,0 +1,993 @@ +//err_exit: +//err_exit: Shouldn't aq_nic_r

Re: [PATCH 01/12] Make and configuration files.

2016-12-27 Thread David VomLehn
On 12/27/2016 08:47 PM, Rami Rosen wrote: Hi, David, For the Makefile, you should follow the pattern which is common in Linux Kernel Ethernet drivers, for example, http://lxr.free-electrons.com/source/drivers/net/ethernet/intel/i40e/Makefile or http://lxr.free-electrons.com/source/drivers/net/et

[PATCH 04/12] Low-level hardware interfaces

2016-12-27 Thread David VomLehn
Add definitions of functions that interface directly with the hardware. Signed-off-by: Dmitrii Tarakanov Signed-off-by: Alexander Loktionov Signed-off-by: David M. VomLehn --- .../ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c | 1033 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h

[PATCH 06/12] Atlantic A0 specific functions.

2016-12-27 Thread David VomLehn
Add Atlantic A0-specific functions. Signed-off-by: Dmitrii Tarakanov Signed-off-by: Alexander Loktionov Signed-off-by: David M. VomLehn --- .../ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c | 934 + .../ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.h | 35 + .../aquantia/a

[PATCH 02/12] Common functions and definitions

2016-12-27 Thread David VomLehn
Add files containing the functions and definitions used in common in different functional areas. Signed-off-by: Dmitrii Tarakanov Signed-off-by: Alexander Loktionov Signed-off-by: David M. VomLehn --- drivers/net/ethernet/aquantia/atlantic/aq_cfg.h| 83 ++ drivers/net/e

[PATCH 05/12] Support for NIC-specific code

2016-12-27 Thread David VomLehn
Add support for code specific to the Atlantic NIC. Signed-off-by: Dmitrii Tarakanov Signed-off-by: Alexander Loktionov Signed-off-by: David M. VomLehn --- drivers/net/ethernet/aquantia/atlantic/aq_nic.c| 993 + drivers/net/ethernet/aquantia/atlantic/aq_nic.h| 111 ++

[PATCH 09/12] Atlantic hardware abstraction layer

2016-12-27 Thread David VomLehn
Add common functions for Atlantic hardware abstraction layer. Signed-off-by: Dmitrii Tarakanov Signed-off-by: Alexander Loktionov Signed-off-by: David M. VomLehn --- .../aquantia/atlantic/hw_atl/hw_atl_utils.c| 545 + .../aquantia/atlantic/hw_atl/hw_atl_utils.h

[PATCH 01/12] Make and configuration files.

2016-12-27 Thread David VomLehn
Patches to create the make and configuration files. Signed-off-by: Dmitrii Tarakanov Signed-off-by: Alexander Loktionov Signed-off-by: David M. VomLehn --- drivers/net/ethernet/aquantia/atlantic/Kconfig | 9 ++ drivers/net/ethernet/aquantia/atlantic/Makefile | 40

[PATCH 11/12] Ethtool support

2016-12-27 Thread David VomLehn
Add the driver interfaces required for support by the ethtool utility. Signed-off-by: Dmitrii Tarakanov Signed-off-by: Alexander Loktionov Signed-off-by: David M. VomLehn --- .../net/ethernet/aquantia/atlantic/aq_ethtool.c| 254 + .../net/ethernet/aquantia/atlantic/aq_e

[PATCH 08/12] PCI operations

2016-12-27 Thread David VomLehn
Add functions that handle the PCI bus interface. Signed-off-by: Dmitrii Tarakanov Signed-off-by: Alexander Loktionov Signed-off-by: David M. VomLehn --- .../net/ethernet/aquantia/atlantic/aq_pci_func.c | 356 + .../net/ethernet/aquantia/atlantic/aq_pci_func.h | 36 +++

[PATCH 01/12] Make and configuration files.

2016-12-27 Thread David VomLehn
Patches to create the make and configuration files. Signed-off-by: Dmitrii Tarakanov Signed-off-by: Alexander Loktionov Signed-off-by: David M. VomLehn --- drivers/net/ethernet/aquantia/atlantic/Kconfig | 9 ++ drivers/net/ethernet/aquantia/atlantic/Makefile | 40

[PATCH 10/12] Hardware interface and utility functions

2016-12-27 Thread David VomLehn
Add functions to interface with the hardware and some utility functions. Signed-off-by: Dmitrii Tarakanov Signed-off-by: Alexander Loktionov Signed-off-by: David M. VomLehn --- drivers/net/ethernet/aquantia/atlantic/aq_hw.h | 170 + .../net/ethernet/aquantia/atlantic/aq

[PATCH 12/12] Receive side scaling

2016-12-27 Thread David VomLehn
Add definitions that support receive side scaling. Signed-off-by: Dmitrii Tarakanov Signed-off-by: Alexander Loktionov Signed-off-by: David M. VomLehn --- drivers/net/ethernet/aquantia/atlantic/aq_rss.h | 35 + 1 file changed, 35 insertions(+) create mode 100644 driver

[PATCH 03/12] Add ring spport code

2016-12-27 Thread David VomLehn
Add code to support the firmware transmit and receive ring buffers. Signed-off-by: Dmitrii Tarakanov Signed-off-by: Alexander Loktionov Signed-off-by: David M. VomLehn --- drivers/net/ethernet/aquantia/atlantic/aq_ring.c | 383 +++ drivers/net/ethernet/aquantia/atlantic/aq_

[PATCH 07/12] Vector operations

2016-12-27 Thread David VomLehn
Add functions to manululate the vector of receive and transmit rings. Signed-off-by: Dmitrii Tarakanov Signed-off-by: Alexander Loktionov Signed-off-by: David M. VomLehn --- drivers/net/ethernet/aquantia/atlantic/aq_vec.c | 375 drivers/net/ethernet/aquantia/atlantic/a

Re: Coding Style: Reverse XMAS tree declarations ? (was Re: [PATCH net-next v6 02/10] dpaa_eth: add support for DPAA Ethernet)

2016-11-04 Thread David VomLehn
On Fri, Nov 04, 2016 at 10:05:15AM -0700, Randy Dunlap wrote: > On 11/03/16 23:53, Joe Perches wrote: > > On Thu, 2016-11-03 at 15:58 -0400, David Miller wrote: > >> From: Madalin Bucur > >> Date: Wed, 2 Nov 2016 22:17:26 +0200 > >> > >>> This introduces the Freescale Data Path Acceleration Archit

Suggestions for new Ethernet driver?

2016-10-24 Thread David VomLehn
I'm working with Aquantia to add a new 2.5/5 Gbps driver to the kernel. It looks like it's going to one of the biggest drivers in drivers/net/ethernet. The team that developed the driver is new to kernel development processes, but are working to make it checkpatch-clean and addressing sparse issues