Re: [PATCH net-next 3/3] net: stmmac: Add RK3566/RK3568 SoC support

2021-04-14 Thread Ezequiel Garcia
On Wed, 2021-04-14 at 18:35 +0200, Heiko Stübner wrote: > Am Mittwoch, 14. April 2021, 18:33:12 CEST schrieb Chen-Yu Tsai: > > On Thu, Apr 15, 2021 at 12:14 AM Ezequiel Garcia > > wrote: > > > > > > Hi Peter, Heiko, > > > > > > On Wed, 2021-04

Re: [PATCH net-next 3/3] net: stmmac: Add RK3566/RK3568 SoC support

2021-04-14 Thread Ezequiel Garcia
Hi Peter, Heiko, On Wed, 2021-04-14 at 13:15 +0200, Heiko Stübner wrote: > Am Mittwoch, 14. April 2021, 13:03:25 CEST schrieb Peter Geis: > > On Tue, Apr 13, 2021 at 7:37 PM Ezequiel Garcia > > wrote: > > > > > +static void rk3566_set_to_rmii

Re: [PATCH net-next 3/3] net: stmmac: Add RK3566/RK3568 SoC support

2021-04-14 Thread Ezequiel Garcia
On Wed, 2021-04-14 at 07:03 -0400, Peter Geis wrote: > On Tue, Apr 13, 2021 at 7:37 PM Ezequiel Garcia > wrote: > > > > On Tuesday, April 13, 2021 19:51 -03, Peter Geis > > wrote: > > > > > On Tue, Apr 13, 2021 at 5:03 PM Ezequiel Garcia >

[PATCH net-next 3/3] net: stmmac: Add RK3566/RK3568 SoC support

2021-04-13 Thread Ezequiel Garcia
: Add rockchip,rk3566-gmac compatible string] Signed-off-by: Ezequiel Garcia --- .../bindings/net/rockchip-dwmac.txt | 2 + .../net/ethernet/stmicro/stmmac/dwmac-rk.c| 142 ++ 2 files changed, 144 insertions(+) diff --git a/Documentation/devicetree/bindings/net

[PATCH net-next 2/3] net: stmmac: dwmac-rk: Check platform-specific ops

2021-04-13 Thread Ezequiel Garcia
From: David Wu Add a check for non-null struct rk_gmac_ops for the configured PHY interface mode, failing if unsupported. Signed-off-by: David Wu [Ezequiel: Refactor so it fails if unsupported] Signed-off-by: Ezequiel Garcia --- .../net/ethernet/stmicro/stmmac/dwmac-rk.c| 31

[PATCH net-next 1/3] net: stmmac: Don't set has_gmac if has_gmac4 is set

2021-04-13 Thread Ezequiel Garcia
Some Rockchip platforms have a GMAC4 core, and therefore 'plat_stmmacenet_data.has_gmac' shouldn't be set if 'plat_stmmacenet_data.has_gmac4' is set. Signed-off-by: Ezequiel Garcia --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 6 +- 1 file changed, 5

[PATCH net-next 0/3] net: stmmac: RK3566/RK3568

2021-04-13 Thread Ezequiel Garcia
net: stmmac: dwmac-rk: Check platform-specific ops net: stmmac: Add RK3566/RK3568 SoC support Ezequiel Garcia (1): net: stmmac: Don't set has_gmac if has_gmac4 is set .../bindings/net/rockchip-dwmac.txt | 2 + .../net/ethernet/stmicro/stmmac/dwmac-rk.c| 179 +++

Re: [PATCH 0/2] D_CAN RX buffer size improvements

2021-01-13 Thread Ezequiel Garcia
Hi everyone, This series was recently brought to my attention, in connection to a long-standing packet drop issue that we had on a Sitara-based product. I haven't tested this personally, but I've been notified that this was backported to the v4.19 kernel, and the packet drop was fixed. It seems

Re: [PATCH] dpaa2-eth: Fix compile error due to missing devlink support

2020-11-23 Thread Ezequiel Garcia
Hi Ioana, On Mon, 2020-11-23 at 09:39 +, Ioana Ciornei wrote: > Hi Ezequiel, > > Thanks a lot for the fix, I overlooked this when adding devlink support. > No worries :) > On Sat, Nov 21, 2020 at 09:23:36PM -0300, Ezequiel Garcia wrote: > > The dpaa2 driver depe

[PATCH] dpaa2-eth: Fix compile error due to missing devlink support

2020-11-21 Thread Ezequiel Garcia
/freescale/dpaa2/dpaa2-eth-devlink.o: in function `dpaa2_eth_dl_info_get': dpaa2-eth-devlink.c:(.text+0x160): undefined reference to `devlink_info_driver_name_put' Signed-off-by: Ezequiel Garcia --- drivers/net/ethernet/freescale/dpaa2/Kconfig | 1 + 1 file changed, 1 insertion(+)

[PATCH] ipv4: Fix non-initialized TTL when CONFIG_SYSCTL=n

2016-05-20 Thread Ezequiel Garcia
: fa50d974d104 ("ipv4: Namespaceify ip_default_ttl sysctl knob") Signed-off-by: Ezequiel Garcia --- net/ipv4/af_inet.c | 8 net/ipv4/sysctl_net_ipv4.c | 4 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 2e

[PATCH] stmmac: hardware TX COE doesn't work when force_thresh_dma_mode is set

2016-05-16 Thread Ezequiel Garcia
quot;stmmac: support new GMAC4") Signed-off-by: Ezequiel Garcia --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_

Re: [PATCH] ethernet: mvneta: Support netpoll

2016-03-29 Thread Ezequiel Garcia
Hi David, On 30 March 2016 at 00:09, David Miller wrote: > From: Ezequiel Garcia > Date: Mon, 28 Mar 2016 17:41:18 -0300 > >> +/* Polled functionality used by netconsole and others in non interrupt mode >> */ >> +static void mvneta_poll_controller(struct net_device

[PATCH] ethernet: mvneta: Support netpoll

2016-03-28 Thread Ezequiel Garcia
This commit adds the support for netpoll, which is used to implement netconsole. Signed-off-by: Ezequiel Garcia --- Tested on Armada 370 Mirabox and Armada XP Openblocks AX3-4 with netconsole. drivers/net/ethernet/marvell/mvneta.c | 21 + 1 file changed, 21 insertions

Re: net: mv643xx: interface does not transmit after some time

2016-02-11 Thread Ezequiel Garcia
> > the same problem. If we are, the interface should be stable without >> > offload, right? >> > >> > Thomas >> >> Okay, so I have installed ethtool and switched off all offload features >> available. Now the NAS is running rock solid for two da