[PATCH] MAINTAINERS: Combine "QLOGIC QLGE 10Gb ETHERNET DRIVER" sections into one

2021-03-21 Thread Jonathan Neuschäfer
..a922afdf080d9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14708,15 +14708,11 @@ F:drivers/net/ethernet/qlogic/qlcnic/ QLOGIC QLGE 10Gb ETHERNET DRIVER M: Manish Chopra M: gr-linux-nic-...@marvell.com -L: net...@vger.kernel.org -S: Supported -F: drivers/staging/qlge

Re: [PATCH 2/2] crypto: marvell - fix ethernet driver dependency

2021-02-04 Thread Herbert Xu
On Thu, Feb 04, 2021 at 04:42:16PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > The OcteonTX2 CPT driver force-enables the OCTEONTX2_MBOX symbol, > which fails when network drivers are disabled globally > > WARNING: unmet direct dependencies detected for OCTEONTX2_MBOX > Depends on [n

[PATCH 2/2] crypto: marvell - fix ethernet driver dependency

2021-02-04 Thread Arnd Bergmann
From: Arnd Bergmann The OcteonTX2 CPT driver force-enables the OCTEONTX2_MBOX symbol, which fails when network drivers are disabled globally WARNING: unmet direct dependencies detected for OCTEONTX2_MBOX Depends on [n]: NETDEVICES [=n] && ETHERNET [=n] && NET_VENDOR_MARVELL [=n] Selected by

Re: [PATCH] Replace HTTP links with HTTPS ones: ATMEL MACB ETHERNET DRIVER

2020-07-08 Thread David Miller
From: "Alexander A. Klimov" Date: Wed, 8 Jul 2020 12:35:19 +0200 > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn'

Re: [PATCH] Replace HTTP links with HTTPS ones: ATMEL MACB ETHERNET DRIVER

2020-07-08 Thread Nicolas Ferre
On 08/07/2020 at 12:35, Alexander A. Klimov wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For

[PATCH] Replace HTTP links with HTTPS ones: ATMEL MACB ETHERNET DRIVER

2020-07-08 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH net-next] hinic: update huawei ethernet driver maintainer

2020-05-14 Thread David Miller
From: Luo bin Date: Wed, 13 May 2020 22:50:49 + > update huawei ethernet driver maintainer from aviad to Bin luo > > Signed-off-by: Luo bin Applied.

[PATCH net-next] hinic: update huawei ethernet driver maintainer

2020-05-13 Thread Luo bin
update huawei ethernet driver maintainer from aviad to Bin luo Signed-off-by: Luo bin --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index e581ae499057..8e51860e0204 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7811,7 +7811,7 @@ F

Re: [PATCH] ptp_pch: include ethernet driver for external functions

2019-10-18 Thread Richard Cochran
On Fri, Oct 18, 2019 at 11:51:28AM +0100, Ben Dooks (Codethink) wrote: > The driver uses a number of functions from the ethernet driver > so include the header to remove the following warnings from > sparse about undeclared functions: > > drivers/ptp/ptp_pch.c:182:5:

Re: [PATCH] ptp_pch: include ethernet driver for external functions

2019-10-18 Thread Ben Dooks
On 18/10/2019 11:51, Ben Dooks (Codethink) wrote: The driver uses a number of functions from the ethernet driver so include the header to remove the following warnings from sparse about undeclared functions: drivers/ptp/ptp_pch.c:182:5: warning: symbol 'pch_ch_control_read' was not

[PATCH] ptp_pch: include ethernet driver for external functions

2019-10-18 Thread Ben Dooks (Codethink)
The driver uses a number of functions from the ethernet driver so include the header to remove the following warnings from sparse about undeclared functions: drivers/ptp/ptp_pch.c:182:5: warning: symbol 'pch_ch_control_read' was not declared. Should it be static? drivers/ptp/ptp_p

Re: [PATCH net-next] net: Update address for MediaTek ethernet driver in MAINTAINERS

2019-10-17 Thread David Miller
From: Date: Thu, 17 Oct 2019 05:14:08 +0800 > From: Sean Wang > > Update maintainers for MediaTek ethernet driver with Mark Lee. > He is familiar with MediaTek mt762x series ethernet devices and > will keep following maintenance from the vendor side. > > Signed-off-by: Se

[PATCH net-next] net: Update address for MediaTek ethernet driver in MAINTAINERS

2019-10-16 Thread sean.wang
From: Sean Wang Update maintainers for MediaTek ethernet driver with Mark Lee. He is familiar with MediaTek mt762x series ethernet devices and will keep following maintenance from the vendor side. Signed-off-by: Sean Wang Signed-off-by: Mark Lee --- MAINTAINERS | 2 +- 1 file changed, 1

Re: [PATCH] net: remove netx ethernet driver

2019-09-21 Thread Jakub Kicinski
On Wed, 18 Sep 2019 22:21:24 +0200, Arnd Bergmann wrote: > The ARM netx platform got removed in 5.3, so this driver > is now useless. > > Reported-by: Uwe Kleine-König > Cc: Sascha Hauer > Signed-off-by: Arnd Bergmann Applied, thank you! FWIW there seems to be a lone mention of something call

[PATCH] net: remove netx ethernet driver

2019-09-18 Thread Arnd Bergmann
_eth_priv *priv = netdev_priv(ndev); - - unregister_netdev(ndev); - xc_stop(priv->xc); - free_xc(priv->xc); - free_netdev(ndev); - pfifo_free(PFIFO_MASK(priv->id)); - - return 0; -} - -static int netx_eth_drv_suspend(struct platform_device *pdev, pm_message_t state) -{ -

Re: [PATCH v1 2/2] net: npcm: add NPCM7xx EMC 10/100 Ethernet driver

2019-08-06 Thread Willem de Bruijn
> > Does this device support stacked VLAN? > I am not familiar with stacked VLAN. > Our HW for sure there is no support. can the SW stack handle it for me? > Does it mean that the packets can be larger? If the device does not support it, I believe it's fine to leave it to S/W. > > Is this really

Re: [PATCH v1 2/2] net: npcm: add NPCM7xx EMC 10/100 Ethernet driver

2019-08-06 Thread Avi Fishman
Thanks for the input Willem, Before I will submit a new version please help me with some questions: On Thu, Aug 1, 2019 at 8:26 PM Willem de Bruijn wrote: > > On Thu, Aug 1, 2019 at 3:28 AM Avi Fishman wrote: > > > > EMC Ethernet Media Access Controller supports 10/100 Mbps and > > RMII. > > Th

Re: [PATCH v1 2/2] net: npcm: add NPCM7xx EMC 10/100 Ethernet driver

2019-08-01 Thread Willem de Bruijn
On Thu, Aug 1, 2019 at 3:28 AM Avi Fishman wrote: > > EMC Ethernet Media Access Controller supports 10/100 Mbps and > RMII. > This driver has been working on Nuvoton BMC NPCM7xx. > > Signed-off-by: Avi Fishman > +/* global setting for driver */ > +#define RX_QUEUE_LEN 128 > +#define TX_QUEUE

Re: [PATCH v1 2/2] net: npcm: add NPCM7xx EMC 10/100 Ethernet driver

2019-08-01 Thread David Miller
From: Avi Fishman Date: Thu, 1 Aug 2019 10:26:11 +0300 > +#Eternet 10/100 EMC "Ethernet" > +#ifdef CONFIG_NPCM7XX_EMC_ETH_DEBUG > +#define DEBUG > +#endif Please don't control the DEBUG define in this way. > +#if defined CONFIG_NPCM7XX_EMC_ETH_DEBUG || defined CONFIG_DEBUG_FS > +#define REG_

[PATCH v1 2/2] net: npcm: add NPCM7xx EMC 10/100 Ethernet driver

2019-08-01 Thread Avi Fishman
EMC Ethernet Media Access Controller supports 10/100 Mbps and RMII. This driver has been working on Nuvoton BMC NPCM7xx. Signed-off-by: Avi Fishman --- drivers/net/ethernet/nuvoton/Kconfig | 21 +- drivers/net/ethernet/nuvoton/Makefile |2 + drivers/net/ethernet/nuvoton/npcm7xx_

[PATCH v1 0/2] add NPCM7xx EMC 10/100 Ethernet driver

2019-08-01 Thread Avi Fishman
EMC Ethernet Media Access Controller supports 10/100 Mbps and RMII. This driver has been working on Nuvoton BMC NPCM7xx. Avi Fishman (2): dt-binding: net: document NPCM7xx EMC 10/100 DT bindings net: npcm: add NPCM7xx EMC 10/100 Ethernet driver .../bindings/net/nuvoton,npcm7xx-emc.txt

Re: [PATCH 1/3] [net-next] net: remove netx ethernet driver

2019-07-23 Thread Linus Walleij
On Mon, Jul 22, 2019 at 9:13 PM Arnd Bergmann wrote: > The ARM netx platform got removed in 5.3, so this driver > is now useless. > > Signed-off-by: Arnd Bergmann Acked-by: Linus Walleij I thought I sent a patch like this yesterday but it apparently never left the mailserver as I can't find i

Re: [PATCH 1/3] [net-next] net: remove netx ethernet driver

2019-07-22 Thread David Miller
From: Arnd Bergmann Date: Mon, 22 Jul 2019 21:12:31 +0200 > The ARM netx platform got removed in 5.3, so this driver > is now useless. > > Signed-off-by: Arnd Bergmann Acked-by: David S. Miller (btw two copies of this went out for some reason)

[PATCH 1/3] [net-next] net: remove netx ethernet driver

2019-07-22 Thread Arnd Bergmann
struct netx_eth_priv *priv = netdev_priv(ndev); - - unregister_netdev(ndev); - xc_stop(priv->xc); - free_xc(priv->xc); - free_netdev(ndev); - pfifo_free(PFIFO_MASK(priv->id)); - - return 0; -} - -static int netx_eth_drv_susp

[PATCH 1/3] [net-next] net: remove netx ethernet driver

2019-07-22 Thread Arnd Bergmann
struct netx_eth_priv *priv = netdev_priv(ndev); - - unregister_netdev(ndev); - xc_stop(priv->xc); - free_xc(priv->xc); - free_netdev(ndev); - pfifo_free(PFIFO_MASK(priv->id)); - - return 0; -} - -static int netx_eth_drv_susp

Bad file pattern in MAINTAINERS section 'QUALCOMM ETHQOS ETHERNET DRIVER'

2019-03-25 Thread Joe Perches
pattern are shown below. Please fix this defect appropriately. 1: --- linux-next MAINTAINERS section: 12864 QUALCOMM ETHQOS ETHERNET DRIVER 12865 M: Vinod Koul 12866 M: Niklas Cassel

Re: [v3, PATCH 0/2] add ethernet binding and modify ethernet driver for mt2712

2018-12-19 Thread David Miller
new series is the result of discussion in: > http://lkml.org/lkml/2018/12/13/1007 > http://lkml.org/lkml/2018/12/14/53 > > 1. ethernet binding file move to this series. > 2. remove fine tune property in device tree > 3. remove fine tune flow in ethernet driver > 4. set rgmii tim

[v3, PATCH 0/2] add ethernet binding and modify ethernet driver for mt2712

2018-12-18 Thread Biao Huang
/2018/12/14/53 1. ethernet binding file move to this series. 2. remove fine tune property in device tree 3. remove fine tune flow in ethernet driver 4. set rgmii timing according to the value in device tree, and don't care whether phy insert internal delay or not. Biao Huang (2): net-nex

Re: [v2, PATCH 0/2] add ethernet binding and modify ethernet driver for mt2712

2018-12-18 Thread David Miller
007 > http://lkml.org/lkml/2018/12/14/53 > > 1. ethernet binding file move to this series. > 2. remove fine tune property in device tree > 3. remove fine tune flow in ethernet driver > 4. set rgmii timing according to the value in device tree, > and don't care whether phy inse

[v2, PATCH 0/2] add ethernet binding and modify ethernet driver for mt2712

2018-12-17 Thread Biao Huang
fine tune property in device tree 3. remove fine tune flow in ethernet driver 4. set rgmii timing according to the value in device tree, and don't care whether phy insert internal delay or not. Biao Huang (2): dt-binding: mediatek-dwmac: add binding document for MediaTek MT2712 DWMAC

[PATCH 0/2] add ethernet binding and modify ethernet driver for mt2712

2018-12-17 Thread Biao Huang
This new series is the result of discussion in: http://lkml.org/lkml/2018/12/13/1007 http://lkml.org/lkml/2018/12/14/53 1. ethernet binding file move to this series. 2. remove fine tune property in device tree 3. remove fine tune flow in ethernet driver 4. set rgmii timing according to the value

Re: [v7, PATCH 0/2] add Ethernet driver support for mt2712

2018-12-12 Thread David Miller
From: Biao Huang Date: Thu, 13 Dec 2018 09:56:11 +0800 > Changes in v7: > Add MODULE_LICENSE info in driver. Biao, I said I need a "fixup" patch, not the whole series again. I've already applied your patches, and you need to send me a small fix on top. This shows that you are not generating yo

Re: [v7, PATCH 0/2] add Ethernet driver support for mt2712

2018-12-12 Thread biao huang
Dear All, Sorry, I misunderstood David's reply mail in v6 series, please ignore v7 series. Dear David, I send you another follow-up patch to fix up build warning, please check it. Thanks! On Thu, 2018-12-13 at 09:56 +0800, Biao Huang wrote: > Changes in v7: > Add MODULE_LICENSE i

[v7, PATCH 0/2] add Ethernet driver support for mt2712

2018-12-12 Thread Biao Huang
Changes in v7: Add MODULE_LICENSE info in driver. Biao Huang (2): net:stmmac: dwmac-mediatek: add support for mt2712 dt-binding: mediatek-dwmac: add binding document for MediaTek MT2712 DWMAC .../devicetree/bindings/net/mediatek-dwmac.txt | 87 + drivers/net/ethernet/stmicro/st

Re: [v6, PATCH 0/2] add Ethernet driver support for mt2712

2018-12-12 Thread David Miller
From: David Miller Date: Wed, 12 Dec 2018 15:21:14 -0800 (PST) > From: Biao Huang > Date: Wed, 12 Dec 2018 17:35:30 +0800 > >> Changes in v6: >> modifications according to comments from Rob/Andrew/Sean: >> 1. use delay_ps instead of delay stage. >> 2. add comments in driver to avoid confusio

Re: [v6, PATCH 0/2] add Ethernet driver support for mt2712

2018-12-12 Thread David Miller
From: Biao Huang Date: Wed, 12 Dec 2018 17:35:30 +0800 > Changes in v6: > modifications according to comments from Rob/Andrew/Sean: > 1. use delay_ps instead of delay stage. > 2. add comments in driver to avoid confusion. > 2. rewrite set_delay function. > 3. modify binding document for prop

[v6, PATCH 0/2] add Ethernet driver support for mt2712

2018-12-12 Thread Biao Huang
Changes in v6: modifications according to comments from Rob/Andrew/Sean: 1. use delay_ps instead of delay stage. 2. add comments in driver to avoid confusion. 2. rewrite set_delay function. 3. modify binding document for properties: tx-delay-ps/rx-delay-ps/pericfg etc. Biao Huang (2): net:s

Re: [v2, PATCH 0/2] add Ethernet driver support for mt2712

2018-10-28 Thread biao huang
On Mon, 2018-10-29 at 11:04 +0800, Biao Huang wrote: > The mt2712 Ethernet IP is from Synopsys, so extend stmmac to support mt2712. > sorry, I forgot to add detail descriptions for these patches. changes in v2: --since STMMAC driver applied to most Synopsys ip Ethernet, I add dwmac-mediatek.c to

[v2, PATCH 0/2] add Ethernet driver support for mt2712

2018-10-28 Thread Biao Huang
The mt2712 Ethernet IP is from Synopsys, so extend stmmac to support mt2712.

Re: [PATCH net-next 0/5] TI Ethernet driver warnings fixes

2018-05-21 Thread David Miller
From: Florian Fainelli Date: Mon, 21 May 2018 11:45:50 -0700 > Hi all, > > This patch series attempts to fix properly the warnings observed with turning > on COMPILE_TEST and TI Ethernet drivers on 64-bit hosts. > > Since I don't have any of this hardware, please review carefully for possible >

[PATCH net-next 0/5] TI Ethernet driver warnings fixes

2018-05-21 Thread Florian Fainelli
Hi all, This patch series attempts to fix properly the warnings observed with turning on COMPILE_TEST and TI Ethernet drivers on 64-bit hosts. Since I don't have any of this hardware, please review carefully for possible breakage! Thank you! Florian Fainelli (5): ti: ethernet: cpdma: Use corr

Re: [PATCH net-next 0/4] Misc bug fixes for HNS3 Ethernet Driver

2018-05-10 Thread David Miller
From: Salil Mehta Date: Wed, 9 May 2018 17:24:37 +0100 > Fixes to some of the bugs found during system test, internal review > and clean-up Series applied, thank you.

Re: [v2, 1/4] powerpc: wii_defconfig: Disable Ethernet driver support code

2018-05-10 Thread Michael Ellerman
On Mon, 2018-05-07 at 14:20:16 UTC, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= wrote: > The Wii doesn't have built-in Ethernet and USB Ethernet adapters are in > a different menu. Disable CONFIG_ETHERNET to save some space in support > code for Ethernet drivers. > > Note that this patch doesn't disable

[PATCH net-next 0/4] Misc bug fixes for HNS3 Ethernet Driver

2018-05-09 Thread Salil Mehta
Fixes to some of the bugs found during system test, internal review and clean-up Yunsheng Lin (4): net: hns3: Fix for setting mac address when resetting net: hns3: remove add/del_tunnel_udp in hns3_enet module net: hns3: fix for cleaning ring problem net: hns3: refactor the loopback relate

[PATCH v2 1/4] powerpc: wii_defconfig: Disable Ethernet driver support code

2018-05-07 Thread Jonathan Neuschäfer
The Wii doesn't have built-in Ethernet and USB Ethernet adapters are in a different menu. Disable CONFIG_ETHERNET to save some space in support code for Ethernet drivers. Note that this patch doesn't disable any Ethernet drivers, because they are not enabled by default. Signed-off-by: Jonathan Ne

Re: [PATCH net-next 0/9] Misc bug fixes for HNS3 Ethernet driver

2018-05-01 Thread David Miller
From: Salil Mehta Date: Tue, 1 May 2018 19:55:56 +0100 > This patch-set presents some miscellaneous bug fixs and cleanups for > HNS3 Ethernet Driver. Series applied, thank you.

[PATCH net-next 0/9] Misc bug fixes for HNS3 Ethernet driver

2018-05-01 Thread Salil Mehta
This patch-set presents some miscellaneous bug fixs and cleanups for HNS3 Ethernet Driver. Fuyun Liang (1): net: hns3: Fix to support autoneg only for port attached with phy Huazhong Tan (5): net: hns3: fix to correctly fetch l4 protocol outer header net: hns3: Fixes the out of bounds

[PATCH 1/2] powerpc: wii_defconfig: Disable Ethernet driver support code

2018-04-30 Thread Jonathan Neuschäfer
The Wii doesn't have built-in Ethernet and USB Ethernet adapters are in a different menu. Disable CONFIG_ETHERNET to save some space in support code for Ethernet drivers. add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-367 (-367) Function old new delta kernel

Re: [PATCH 05/47] net: remove cris etrax ethernet driver

2018-03-15 Thread Jesper Nilsson
On Wed, Mar 14, 2018 at 04:35:18PM +0100, Arnd Bergmann wrote: > The cris architecture is getting removed, so we don't need the > ethernet driver any more either. > > Signed-off-by: Arnd Bergmann Acked-by: Jesper Nilsson > --- > drivers/net/Makefile |

[PATCH 05/47] net: remove cris etrax ethernet driver

2018-03-14 Thread Arnd Bergmann
The cris architecture is getting removed, so we don't need the ethernet driver any more either. Signed-off-by: Arnd Bergmann --- drivers/net/Makefile |1 - drivers/net/cris/Makefile |1 - drivers/net/cris/eth_v10.c | 1742 3

[PATCH net-next v9 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-27 Thread Kunihiko Hayashi
_ave.o diff --git a/drivers/net/ethernet/socionext/sni_ave.c b/drivers/net/ethernet/socionext/sni_ave.c new file mode 100644 index 000..111e7ca --- /dev/null +++ b/drivers/net/ethernet/socionext/sni_ave.c @@ -0,0 +1,1736 @@ +// SPDX-License-Identifier: GPL-2.0 +/** + * sni_ave.c - Soci

Re: [PATCH net-next v7 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-26 Thread David Miller
From: Kunihiko Hayashi Date: Thu, 21 Dec 2017 20:12:56 +0900 > + writel(AVE_TXDC_ADDR_START > + | (((priv->tx.ndesc * priv->desc_size) << 16) & AVE_TXDC_SIZE), > + priv->base + AVE_TXDC); ... > + writel(AVE_RXDC0_ADDR_START > +| (((priv->rx.ndesc * priv

[PATCH net-next v8 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-24 Thread Kunihiko Hayashi
_ave.o diff --git a/drivers/net/ethernet/socionext/sni_ave.c b/drivers/net/ethernet/socionext/sni_ave.c new file mode 100644 index 000..0925675 --- /dev/null +++ b/drivers/net/ethernet/socionext/sni_ave.c @@ -0,0 +1,1736 @@ +// SPDX-License-Identifier: GPL-2.0 +/** + * sni_ave.c - Soci

[PATCH net-next v7 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-21 Thread Kunihiko Hayashi
_ave.o diff --git a/drivers/net/ethernet/socionext/sni_ave.c b/drivers/net/ethernet/socionext/sni_ave.c new file mode 100644 index 000..0925675 --- /dev/null +++ b/drivers/net/ethernet/socionext/sni_ave.c @@ -0,0 +1,1736 @@ +// SPDX-License-Identifier: GPL-2.0 +/** + * sni_ave.c - Soci

Re: [PATCH net-next v6 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-17 Thread Kunihiko Hayashi
Hello David, On Fri, 15 Dec 2017 12:57:49 -0500 David Miller wrote: > From: Kunihiko Hayashi > Date: Thu, 14 Dec 2017 19:05:10 +0900 > > > +static void ave_desc_write(struct net_device *ndev, enum desc_id id, > > + int entry, int offset, u32 val) > > +{ > > + struct ave_

Re: [PATCH net-next v6 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-15 Thread David Miller
From: Kunihiko Hayashi Date: Thu, 14 Dec 2017 19:05:10 +0900 > +static void ave_desc_write(struct net_device *ndev, enum desc_id id, > +int entry, int offset, u32 val) > +{ > + struct ave_private *priv = netdev_priv(ndev); > + u32 addr = (id == AVE_DESCID_TX) ? pri

Re: [PATCH v4 net-next 0/8] Hisilicon Network Subsystem 3 VF Ethernet Driver

2017-12-15 Thread David Miller
From: Philippe Ombredanne Date: Fri, 15 Dec 2017 11:28:15 +0100 > Salil, > > On Thu, Dec 14, 2017 at 7:03 PM, Salil Mehta wrote: >> This patch-set contains the support of the HNS3 (Hisilicon Network Subsystem >> 3) >> Virtual Function Ethernet driver for hip08 f

Re: [PATCH v4 net-next 0/8] Hisilicon Network Subsystem 3 VF Ethernet Driver

2017-12-15 Thread Philippe Ombredanne
Salil, On Thu, Dec 14, 2017 at 7:03 PM, Salil Mehta wrote: > This patch-set contains the support of the HNS3 (Hisilicon Network Subsystem > 3) > Virtual Function Ethernet driver for hip08 family of SoCs. The Physical > Function > driver is already part of the Linux mainline. >

[PATCH v4 net-next 5/8] net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC

2017-12-14 Thread Salil Mehta
Most of the NAPI handling interface, skb buffer management, management of the RX/TX descriptors, ethool interface etc. has quite a bit of code which is common to VF and PF driver. This patch makes the exisitng PF's HNS3 ENET driver as the common ENET driver for both Virtual & Physical Function. Th

[PATCH v4 net-next 0/8] Hisilicon Network Subsystem 3 VF Ethernet Driver

2017-12-14 Thread Salil Mehta
This patch-set contains the support of the HNS3 (Hisilicon Network Subsystem 3) Virtual Function Ethernet driver for hip08 family of SoCs. The Physical Function driver is already part of the Linux mainline. This VF driver has its Hardware Compatibility Layer and has commom/unified ENET layer

[PATCH net-next v6 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-14 Thread Kunihiko Hayashi
_ave.o diff --git a/drivers/net/ethernet/socionext/sni_ave.c b/drivers/net/ethernet/socionext/sni_ave.c new file mode 100644 index 000..15f975e --- /dev/null +++ b/drivers/net/ethernet/socionext/sni_ave.c @@ -0,0 +1,1727 @@ +// SPDX-License-Identifier: GPL-2.0 +/** + * sni_ave.c - Soci

[PATCH V3 net-next 0/8] Hisilicon Network Subsystem 3 VF Ethernet Driver

2017-12-12 Thread Salil Mehta
This patch-set contains the support of the HNS3 (Hisilicon Network Subsystem 3) Virtual Function Ethernet driver for hip08 family of SoCs. The Physical Function driver is already part of the Linux mainline. This VF driver has its Hardware Compatibility Layer and has commom/unified ENET layer

[PATCH V3 net-next 5/8] net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC

2017-12-12 Thread Salil Mehta
Most of the NAPI handling interface, skb buffer management, management of the RX/TX descriptors, ethool interface etc. has quite a bit of code which is common to VF and PF driver. This patch makes the exisitng PF's HNS3 ENET driver as the common ENET driver for both Virtual & Physical Function. Th

Re: [PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-12 Thread Philippe Ombredanne
next UniPhier AVE ethernet driver >> +// Copyright 2014 Panasonic Corporation >> +// Copyright 2015-2017 Socionext Inc. > > is acceptable? or should we keep C-style header lines for new drivers? > >> +// SDPX-License-Identifier: GPL-2.0 >> +/* >> + * sni_ave

Re: [PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-11 Thread Masami Hiramatsu
the header lines, not single line. So > +// SDPX-License-Identifier: GPL-2.0 > +// sni_ave.c - Socionext UniPhier AVE ethernet driver > +// Copyright 2014 Panasonic Corporation > +// Copyright 2015-2017 Socionext Inc. is acceptable? or should we keep C-style header lines for new drive

Re: [PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-11 Thread David Miller
From: Kunihiko Hayashi Date: Mon, 11 Dec 2017 16:57:29 +0900 > +static inline u32 ave_desc_read(struct net_device *ndev, enum desc_id id, > + int entry, int offset) Do not use inline functions in foo.c files, let the compiler decide what to do. Thank you.

Re: [PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-11 Thread Russell King - ARM Linux
On Mon, Dec 11, 2017 at 10:34:17PM +0900, Masami Hiramatsu wrote: > IMHO, even if we use SPDX license identifier, I recommend to use > C-style comments as many other files do, since it is C code. > If SPDX identifier requires C++ style, that is SPDX parser's issue > and should be fixed to get it fr

Re: [PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-11 Thread Masami Hiramatsu
e.o >> > diff --git a/drivers/net/ethernet/socionext/sni_ave.c >> > b/drivers/net/ethernet/socionext/sni_ave.c >> > new file mode 100644 >> > index 000..7b293c2 >> > --- /dev/null >> > +++ b/drivers/net/ethernet/socionext/sni_ave.c >> >

Re: [PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-11 Thread Kunihiko Hayashi
100644 > > index 000..7b293c2 > > --- /dev/null > > +++ b/drivers/net/ethernet/socionext/sni_ave.c > > @@ -0,0 +1,1744 @@ > > +/** > > + * sni_ave.c - Socionext UniPhier AVE ethernet driver > > + * > > + * Copyright 2014 Panasonic Corporation > > +

Re: [PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-11 Thread Philippe Ombredanne
--git a/drivers/net/ethernet/socionext/sni_ave.c > b/drivers/net/ethernet/socionext/sni_ave.c > new file mode 100644 > index 000..7b293c2 > --- /dev/null > +++ b/drivers/net/ethernet/socionext/sni_ave.c > @@ -0,0 +1,1744 @@ > +/** > + * sni_ave.c - Socionext UniPhier AVE e

[PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-10 Thread Kunihiko Hayashi
_ave.o diff --git a/drivers/net/ethernet/socionext/sni_ave.c b/drivers/net/ethernet/socionext/sni_ave.c new file mode 100644 index 000..7b293c2 --- /dev/null +++ b/drivers/net/ethernet/socionext/sni_ave.c @@ -0,0 +1,1744 @@ +/** + * sni_ave.c - Socionext UniPhier AVE ethernet driver + * + * Copyr

[PATCH V2 net-next 0/8] Hisilicon Network Subsystem 3 VF Ethernet Driver

2017-12-08 Thread Salil Mehta
This patch-set contains the support of the HNS3 (Hisilicon Network Subsystem 3) Virtual Function Ethernet driver for hip08 family of SoCs. The Physical Function driver is already part of the Linux mainline. This VF driver has its Hardware Compatibility Layer and has commom/unified ENET layer

[PATCH V2 net-next 5/8] net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC

2017-12-08 Thread Salil Mehta
Most of the NAPI handling interface, skb buffer management, management of the RX/TX descriptors, ethool interface etc. has quite a bit of code which is common to VF and PF driver. This patch makes the exisitng PF's HNS3 ENET driver as the common ENET driver for both Virtual & Physical Function. Th

Re: [PATCH net-next v4 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-04 Thread Kunihiko Hayashi
Hi Andrew, On Fri, 1 Dec 2017 14:49:00 +0100 Andrew Lunn wrote: > On Fri, Dec 01, 2017 at 10:03:50AM +0900, Kunihiko Hayashi wrote: > > The UniPhier platform from Socionext provides the AVE ethernet > > controller that includes MAC and MDIO bus supporting RGMII/RMII > > modes. The controller is

[PATCH net-next 5/8] net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC

2017-12-03 Thread Salil Mehta
Most of the NAPI handling interface, skb buffer management, management of the RX/TX descriptors, ethool interface etc. has quite a bit of code which is common to VF and PF driver. This patch makes the exisitng PF's HNS3 ENET driver as the common ENET driver for both Virtual & Physical Function. Th

[PATCH net-next 0/8] Hisilicon Network Subsystem 3 VF Ethernet Driver

2017-12-03 Thread Salil Mehta
This patch-set contains the support of the HNS3 (Hisilicon Network Subsystem 3) Virtual Function Ethernet driver for hip08 family of SoCs. The Physical Function driver is already part of the Linux mainline. This VF driver has its Hardware Compatibility Layer and has commom/unified ENET layer

Re: [PATCH net-next v4 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-03 Thread kbuild test robot
Hi Kunihiko, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Kunihiko-Hayashi/dt-bindings-net-add-DT-bindings-for-Socionext-UniPhier-AVE/20171203-095248 config: ia64-allyesconfig (attached as .c

Re: [PATCH net-next v4 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-02 Thread kbuild test robot
Hi Kunihiko, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Kunihiko-Hayashi/dt-bindings-net-add-DT-bindings-for-Socionext-UniPhier-AVE/20171203-095248 config: alpha-allyesconfig (attached as .

Re: [PATCH net-next v4 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-01 Thread Andrew Lunn
On Fri, Dec 01, 2017 at 10:03:50AM +0900, Kunihiko Hayashi wrote: > The UniPhier platform from Socionext provides the AVE ethernet > controller that includes MAC and MDIO bus supporting RGMII/RMII > modes. The controller is named AVE. > > Signed-off-by: Kunihiko Hayashi > Signed-off-by: Jassi Bra

[PATCH net-next v4 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-11-30 Thread Kunihiko Hayashi
s/net/ethernet/socionext/sni_ave.c b/drivers/net/ethernet/socionext/sni_ave.c new file mode 100644 index 000..6f42f12 --- /dev/null +++ b/drivers/net/ethernet/socionext/sni_ave.c @@ -0,0 +1,1744 @@ +/** + * sni_ave.c - Socionext UniPhier AVE ethernet driver + * + * Copyright 2014 Panasonic Corpora

Re: [PATCH 1/2] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver

2017-11-08 Thread Corentin Labbe
On Wed, Nov 08, 2017 at 08:48:58AM +0100, Maxime Ripard wrote: > On Wed, Nov 08, 2017 at 02:27:21PM +0800, Chen-Yu Tsai wrote: > > On Wed, Nov 8, 2017 at 4:13 AM, Corentin Labbe > > wrote: > > > The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 > > > speed. > > > This patch ena

Re: [PATCH 1/2] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver

2017-11-08 Thread Corentin Labbe
On Wed, Nov 08, 2017 at 02:27:21PM +0800, Chen-Yu Tsai wrote: > On Wed, Nov 8, 2017 at 4:13 AM, Corentin Labbe > wrote: > > The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. > > This patch enable the dwmac-sun8i on the Allwinner a83t SoC Device-tree. > > The subject shou

Re: [PATCH 1/2] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver

2017-11-07 Thread Maxime Ripard
On Wed, Nov 08, 2017 at 02:27:21PM +0800, Chen-Yu Tsai wrote: > On Wed, Nov 8, 2017 at 4:13 AM, Corentin Labbe > wrote: > > The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. > > This patch enable the dwmac-sun8i on the Allwinner a83t SoC Device-tree. > > The subject shou

Re: [PATCH 1/2] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver

2017-11-07 Thread Chen-Yu Tsai
On Wed, Nov 8, 2017 at 4:13 AM, Corentin Labbe wrote: > The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. > This patch enable the dwmac-sun8i on the Allwinner a83t SoC Device-tree. The subject should say "add device node", not driver. > > Signed-off-by: Corentin La

[PATCH 1/2] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver

2017-11-07 Thread Corentin Labbe
The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. This patch enable the dwmac-sun8i on the Allwinner a83t SoC Device-tree. Signed-off-by: Corentin Labbe Reviewed-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 29 + 1 file changed,

Re: [PATCH net-next v3 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-10-24 Thread Masahiro Yamada
2017-10-25 10:07 GMT+09:00 Kunihiko Hayashi : > + > +/* Descriptor Control Register Group */ > +#define AVE_DESCC 0x300 /* Descriptor Control */ > +#define AVE_TXDC 0x304 /* TX Descriptor Configuration */ > +#define AVE_RXDC0 0x308 /* RX Descriptor Ring0 Configuration */ > +#

[PATCH net-next v3 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-10-24 Thread Kunihiko Hayashi
/drivers/net/ethernet/socionext/sni_ave.c new file mode 100644 index 000..ed0f4a3 --- /dev/null +++ b/drivers/net/ethernet/socionext/sni_ave.c @@ -0,0 +1,1746 @@ +/** + * sni_ave.c - Socionext UniPhier AVE ethernet driver + * + * Copyright 2014 Panasonic Corporation + * Copyright 2015-2017 Socionex

Re: [PATCH net-next v2 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-10-19 Thread Kunihiko Hayashi
On Thu, 19 Oct 2017 09:29:03 +0900 wrote: > 2017-10-18 19:23 GMT+09:00 Kunihiko Hayashi : > > On Mon, 16 Oct 2017 00:08:21 +0900 wrote: > > >> priv->rst = devm_reset_control_get_optional_shared(dev, NULL); > >> if (IS_ERR(priv->rst)) > >> return PTR_ERR(priv->rst); > > > > The clk and

Re: [PATCH net-next v2 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-10-18 Thread Masahiro Yamada
2017-10-18 19:23 GMT+09:00 Kunihiko Hayashi : > On Mon, 16 Oct 2017 00:08:21 +0900 wrote: >> priv->rst = devm_reset_control_get_optional_shared(dev, NULL); >> if (IS_ERR(priv->rst)) >> return PTR_ERR(priv->rst); > > The clk and reset are optional in the driver. > Referring to your sugge

Re: [PATCH net-next v2 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-10-18 Thread Kunihiko Hayashi
On Mon, 16 Oct 2017 00:08:21 +0900 wrote: > 2017-10-13 9:35 GMT+09:00 Kunihiko Hayashi : > > +static int ave_probe(struct platform_device *pdev) > > +{ > > + struct device *dev = &pdev->dev; > > + struct device_node *np = dev->of_node; > > + u32 ave_id; > > + struct ave_pr

Re: [PATCH net-next v2 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-10-15 Thread Masahiro Yamada
2017-10-13 9:35 GMT+09:00 Kunihiko Hayashi : > +static int ave_probe(struct platform_device *pdev) > +{ > + struct device *dev = &pdev->dev; > + struct device_node *np = dev->of_node; > + u32 ave_id; > + struct ave_private *priv; > + const struct ave_soc_data *data; >

[PATCH net-next v2 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-10-12 Thread Kunihiko Hayashi
/drivers/net/ethernet/socionext/sni_ave.c new file mode 100644 index 000..7e399fc --- /dev/null +++ b/drivers/net/ethernet/socionext/sni_ave.c @@ -0,0 +1,1773 @@ +/** + * sni_ave.c - Socionext UniPhier AVE ethernet driver + * + * Copyright 2014 Panasonic Corporation + * Copyright 2015-2017 Socionex

Re: [PATCH net-next 0/7] A few cleanup for hns3 ethernet driver

2017-10-09 Thread David Miller
From: Yunsheng Lin Date: Mon, 9 Oct 2017 15:43:54 +0800 > This patchset contains a few cleanup for hns3 ethernet driver. > No functional change intended. Series applied, thank you.

[PATCH net-next 0/7] A few cleanup for hns3 ethernet driver

2017-10-09 Thread Yunsheng Lin
This patchset contains a few cleanup for hns3 ethernet driver. No functional change intended. Yunsheng Lin (7): net: hns3: Cleanup for shifting true in hns3 driver net: hns3: Add hns3_get_handle macro in hns3 driver net: hns3: Cleanup indentation for Kconfig in the the hisilicon folder

Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver

2017-09-21 Thread Kunihiko Hayashi
On Mon, 11 Sep 2017 15:55:56 +0900 wrote: > > > +static int ave_set_rxdesc(struct net_device *ndev, int entry) > > > +{ > > > + struct ave_private *priv = netdev_priv(ndev); > > > + struct sk_buff *skb; > > > + unsigned long align; > > > + dma_addr_t paddr; > > > + void *buffptr; > > > + int ret

Re: [PATCH net 0/9] TM related bugfixes for the HNS3 Ethernet Driver

2017-09-20 Thread David Miller
From: Yunsheng Lin Date: Wed, 20 Sep 2017 18:52:49 +0800 > This patch set contains a few bugfixes related to hclge_tm module. Series applied, thank you.

[PATCH net 0/9] TM related bugfixes for the HNS3 Ethernet Driver

2017-09-20 Thread Yunsheng Lin
This patch set contains a few bugfixes related to hclge_tm module. Yunsheng Lin (9): net: hns3: Cleanup for ROCE capability flag in ae_dev net: hns3: Fix initialization when cmd is not supported net: hns3: Fix for DEFAULT_DV when dev doesn't support DCB net: hns3: Fix for not setting rx pr

Re: [PATCH V2 net 0/7] Bug fixes for the HNS3 Ethernet Driver for Hip08 SoC

2017-09-19 Thread David Miller
From: Salil Mehta Date: Tue, 19 Sep 2017 17:17:09 +0100 > This patch set presents some bug fixes for the HNS3 Ethernet driver identified > during internal testing & stabilization efforts. > > Change Log: > Patch V2: Resolved comments from Leon Romanovsky > Patch V1:

[PATCH V2 net 0/7] Bug fixes for the HNS3 Ethernet Driver for Hip08 SoC

2017-09-19 Thread Salil Mehta
This patch set presents some bug fixes for the HNS3 Ethernet driver identified during internal testing & stabilization efforts. Change Log: Patch V2: Resolved comments from Leon Romanovsky Patch V1: Initial Submit Lipeng (6): net: hns3: Fixes initialization of phy address from firmware

RE: [PATCH net 0/7] Bug fixes for the HNS3 Ethernet Driver for Hip08 SoC

2017-09-19 Thread Salil Mehta
er...@vger.kernel.org; linux-r...@vger.kernel.org; Linuxarm > Subject: Re: [PATCH net 0/7] Bug fixes for the HNS3 Ethernet Driver for > Hip08 SoC > > On Tue, Sep 19, 2017 at 02:06:21AM +0100, Salil Mehta wrote: > > This patch set presents some bug fixes for the HNS3 Ethernet d

  1   2   3   4   5   6   7   8   9   >