On 3/9/2016 5:31 PM, Dinh Nguyen wrote:
On Wed, Mar 9, 2016 at 8:53 AM, Giuseppe CAVALLARO
<peppe.cavall...@st.com> wrote:
Hi Tomeu, Dinh, Andreas
I need a sum and help from you to go ahead on the
tx timeout.
The "stmmac: MDIO fixes" seems to be the candidate to
fix the phy
try normal setup
and I can confirm that enhanced descriptors are ok on my side
Regards
Peppe
On 3/9/2016 3:31 PM, Giuseppe CAVALLARO wrote:
Hi Tomeu
On 3/9/2016 11:53 AM, Tomeu Vizoso wrote:
On 9 March 2016 at 11:27, Giuseppe CAVALLARO <peppe.cavall...@st.com>
wrote:
Hello Tomeu, Andre
Hi Tomeu
On 3/9/2016 11:53 AM, Tomeu Vizoso wrote:
On 9 March 2016 at 11:27, Giuseppe CAVALLARO <peppe.cavall...@st.com> wrote:
Hello Tomeu, Andreas,
On 3/9/2016 10:52 AM, Giuseppe CAVALLARO wrote:
* today's linux-next: probe failed
* today's linux-next + revert of 88f8b1bb41c6 stmma
ode is not present.
I will propose a patch for net-next later.
I'd like to try to fix the new regression on xmit.
thx to have spot this.
Regards
peppe
Best regards
Gabriel
On 9 March 2016 at 10:00, Giuseppe Cavallaro <peppe.cavall...@st.com> wrote:
Initially the phy_bus_name
Hello Tomeu, Andreas,
On 3/9/2016 10:52 AM, Giuseppe CAVALLARO wrote:
* today's linux-next: probe failed
* today's linux-next + revert of 88f8b1bb41c6 stmmac: Fix 'eth0: No
PHY found' regression: probe succeeded but no network at all
* today's linux-next + revert of 88f8b1bb41c6 (stmmac: Fix
On 3/9/2016 10:42 AM, Tomeu Vizoso wrote:
On 9 March 2016 at 10:00, Giuseppe CAVALLARO <peppe.cavall...@st.com> wrote:
On 3/9/2016 9:56 AM, Giuseppe CAVALLARO wrote:
Hello
On 3/9/2016 9:35 AM, Tomeu Vizoso wrote:
in order to get the onboard network on the Radxa Rock2 to work
On 3/9/2016 9:56 AM, Giuseppe CAVALLARO wrote:
Hello
On 3/9/2016 9:35 AM, Tomeu Vizoso wrote:
in order to get the onboard network on the Radxa Rock2 to work at all
on today's linux-next, I had to revert both commits:
* "stmmac: Fix 'eth0: No PHY found' regression" for the driver
Hello
On 3/9/2016 9:35 AM, Tomeu Vizoso wrote:
in order to get the onboard network on the Radxa Rock2 to work at all
on today's linux-next, I had to revert both commits:
* "stmmac: Fix 'eth0: No PHY found' regression" for the drivers to
probe and the link to come up, and
I've just sent two
(that needs to be managed by using
fixed-link).
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
Cc: Gabriel Fernandez <gabriel.fernan...@linaro.org>
Cc: Andreas Färber <afaer...@suse.de>
Cc: Frank Schäfer <fschaefer@googlemail.com>
Cc: Dinh Nguyen <dinh.l
the fixed-link).
Giuseppe Cavallaro (2):
Revert "stmmac: Fix 'eth0: No PHY found' regression"
stmmac: fix MDIO settings
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 11 ++---
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 11 +-
.../net/ethernet/stmi
This reverts commit 88f8b1bb41c6208f81b6a480244533ded7b59493.
due to problems on GeekBox and Banana Pi M1 board when
connected to a real transceiver instead of a switch via
fixed-link.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
Cc: Gabriel Fernandez <gabriel.fernan...@l
.
The test of phy_bus_name was not helpful because it was never affected
and replaced by the mdio test node.
Signed-off-by: Gabriel Fernandez <gabriel.fernan...@linaro.org>
Acked-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
Signed-off-by: David S. Miller &l
Hi Dinh
On 3/8/2016 4:45 PM, Dinh Nguyen wrote:
On Tue, Mar 8, 2016 at 1:24 AM, Giuseppe CAVALLARO
<peppe.cavall...@st.com> wrote:
Hi Dinh,
On 3/8/2016 12:22 AM, Dinh Nguyen wrote:
[snip]
I'm seeing the same issue on the SoCFPGA platform:
libphy: PHY stmmac-0: not foun
the sync
peppe
Best regards
Gabriel
On 8 March 2016 at 00:22, Dinh Nguyen <dinh.li...@gmail.com> wrote:
On Mon, Mar 7, 2016 at 11:15 AM, Andreas Färber <afaer...@suse.de> wrote:
Am 07.03.2016 um 16:52 schrieb Giuseppe CAVALLARO:
On 3/7/2016 4:46 PM, Andreas Färber wrote:
Am 0
Hi Dinh,
On 3/8/2016 12:22 AM, Dinh Nguyen wrote:
[snip]
I'm seeing the same issue on the SoCFPGA platform:
libphy: PHY stmmac-0: not found
eth0: Could not attach to PHY
stmmac_open: Cannot attach to PHY (error: -19)
If I just revert:
"stmmac: Fix 'eth0: No PHY found' regression"
On 3/7/2016 4:46 PM, Andreas Färber wrote:
Hi Peppe,
Am 07.03.2016 um 16:09 schrieb Giuseppe CAVALLARO:
On 3/7/2016 3:27 PM, Andreas Färber wrote:
Indeed, reverting Gabriel's commit fixes the observed error messages
[...]
However, I am unable to ping any hosts on the network now.
hmm
Hi Andreas
On 3/7/2016 3:27 PM, Andreas Färber wrote:
Hello Giuseppe,
Am 07.03.2016 um 14:26 schrieb Giuseppe CAVALLARO:
On 3/7/2016 1:35 PM, Andreas Färber wrote:
Am 07.03.2016 um 13:24 schrieb Heiko Stübner:
Am Montag, 7. März 2016, 13:17:54 schrieb Andreas Färber:
Am 06.03.2016 um 20:53
Hello Andreas, Heiko,
On 3/7/2016 1:35 PM, Andreas Färber wrote:
Hi Heiko,
Am 07.03.2016 um 13:24 schrieb Heiko Stübner:
Am Montag, 7. März 2016, 13:17:54 schrieb Andreas Färber:
Am 06.03.2016 um 20:53 schrieb Andreas Färber:
On next-20160304 the GMAC seems to have regressed, it no longer
e.
Signed-off-by: Gabriel Fernandez <gabriel.fernan...@linaro.org>
Acked-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 11 +--
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 9 -
patches on top of this subset for net-next branch.
For sure, we will work together to have the best solution for these
chips.
Regards
Peppe
- Lars
On 02/29/2016 05:50 PM, Giuseppe CAVALLARO wrote:
Gents
on top of these patches, there is a new train to enhance the stmmac to
support the DWMAC_4
and chain.
==
Fabrice Gasnier (3):
stmmac: merge get_rx_owner into rx_status routine.
stmmac: optimize tx clean function
stmmac: fix phy init when attached to a phy
Giuseppe Cavallaro (14):
stmmac: share reset
: optimize tx clean function
stmmac: fix phy init when attached to a phy
Giuseppe Cavallaro (14):
stmmac: share reset function between dwmac100 and dwmac1000
stmmac: rework DMA bus setting and introduce new platform AXI
structure
stmmac: change descriptor layout
stmmac: review RX/TX
and remove driver is no more
driven in stmmac_pltfr but directly in dwmac-stm32 glue driver.
-Take into account Joachim review.
Regards.
Alexandre.
thanks Alex, for the series please consider my:
Acked-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
Alexandre TORGUE (4):
net: ethernet:
that DT patches are not present because STM32 pinctrl code is not
yet avalaible.
patches look ok for me
Acked-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
Regards
Alexandre
Alexandre TORGUE (4):
net: ethernet: dwmac: add Ethernet glue logic for stm32 chip
Documentation: Binding
On 1/5/2016 7:45 PM, David Miller wrote:
From: Giuseppe CAVALLARO <peppe.cavall...@st.com>
Date: Tue, 5 Jan 2016 10:03:28 +0100
On 1/5/2016 4:25 AM, David Miller wrote:
From: Giuseppe Cavallaro <peppe.cavall...@st.com>
Date: Mon, 4 Jan 2016 14:06:46 +0100
@@ -376,7 +376,8 @@
On 1/5/2016 4:25 AM, David Miller wrote:
From: Giuseppe Cavallaro <peppe.cavall...@st.com>
Date: Mon, 4 Jan 2016 14:06:46 +0100
@@ -376,7 +376,8 @@ extern const struct stmmac_desc_ops ndesc_ops;
/* Specific DMA helpers */
struct stmmac_dma_ops {
/* DMA core initiali
Hi David
On 1/5/2016 4:34 AM, David Miller wrote:
From: Giuseppe Cavallaro <peppe.cavall...@st.com>
Date: Mon, 4 Jan 2016 14:06:49 +0100
@@ -2056,7 +2068,10 @@ static netdev_tx_t stmmac_xmit(struct sk_buff *skb,
struct net_device *dev)
priv->hw->desc->set_tx_owner(firs
On 1/5/2016 4:39 AM, David Miller wrote:
From: Giuseppe Cavallaro <peppe.cavall...@st.com>
Date: Mon, 4 Jan 2016 14:06:54 +0100
@@ -334,12 +334,11 @@ struct stmmac_desc_ops {
/* Invoked by the xmit function to prepare the tx descriptor */
void (*prepare_tx_desc) (
On 1/5/2016 4:29 AM, David Miller wrote:
From: Giuseppe Cavallaro <peppe.cavall...@st.com>
Date: Mon, 4 Jan 2016 14:06:47 +0100
@@ -81,7 +81,7 @@ static void stmmac_default_data(struct plat_stmmacenet_data
*plat)
plat->mdio_bus_data->phy_mask = 0;
plat->dm
rice.gasn...@st.com>
Acked-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/common.h | 10 +-
drivers/net/ethernet/stmicro/stmmac/enh_desc.c|9 +++--
drivers/net/ethernet/stmicro/stmmac/norm_desc.c |9 +++--
drivers/ne
attached to a phy
Giuseppe Cavallaro (15):
stmmac: share reset function between dwmac100 and dwmac1000
stmmac: rework DMA bus setting and introduce new platform AXI
structure
stmmac: change descriptor layout
stmmac: remove modulo in stmmac_xmit()
stmmac: add length field to dma data
This patch is to share the same reset procedure between dwmac100 and
dwmac1000 chips.
This will also help on enhancing the driver and support new chips.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/common.h |3 +-
drive
removed.
It makes sense to provide the AAL parameter from DT to Address-Aligned
Beats inside the Register0 and review the PBL settings when initialize
the engine.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
Documentation/devicetree/bindings/net/stmmac.txt
ote that the stmmac_adjust_link will be called just one
time and this guarantees that the ST glue logic will be
setup according to the mode and speed fixed.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |5 +
1 files changed, 5 i
The dirty index can be updated out of the loop where all the
tx resources are claimed. This will help on performances too.
Also a useless debug printk has been removed from the main loop.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/
This patch completely changes the descriptor layout to improve
the whole performances due to the single read usage of the
descriptors in critical paths.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/descs.h
Signed-off-by: Fabrice Gasnier <fabrice.gasn...@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 28 ++---
1 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/drivers/net/e
urt trying to cope with huge numbers
This patch replaces the modulo with a simple if clamp.
Signed-off-by: David McKay <david.mc...@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/chain_mode.c | 15 ++
drivers/net/e
com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/chain_mode.c |3 ++-
drivers/net/ethernet/stmicro/stmmac/stmmac.h |1 +
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |5 -
3 files changed, 7 insertions(+),
e.
Signed-off-by: Fabrice Gasnier <fabrice.gasn...@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/common.h |7 +-
drivers/net/ethernet/stmicro/stmmac/enh_desc.c | 25 +++--
drivers/net/ethernet/stmicro/stmmac
This patch is to optimize the way to manage the TDES inside the
xmit function. When prepare the frame, some settings (e.g. OWN
bit) can be merged. This has been reworked to improve the tx
performances.
Signed-off-by: Fabrice Gasnier <fabrice.gasn...@st.com>
Signed-off-by: Giuseppe Cav
This patch is to allow this driver to copy tiny frames during the reception
process. This is giving more stability while stressing the driver on STi
embedded systems.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
V2: rx_copybreak tunable by using ethtool
drivers/net/et
This patch just updates the driver to the version fully
tested on STi platforms. This version is Oct_2015.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/d
There is a threshold now used to also limit the skb allocation
when use zero-copy. This is to avoid that there are incoherence
in the ring due to a failure on skb allocation under very
aggressive testing and under low memory conditions.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.
er <fabrice.gasn...@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
b/drivers/net/ether
.
Signed-off-by: Fabrice Gasnier <fabrice.gasn...@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/chain_mode.c |3 +++
drivers/net/ethernet/stmicro/stmmac/ring_mode.c |5 +
drivers/net/ethernet/stmicro/stmmac/stmmac.h
inside TX clean loop for enhanced descriptors but not for normal ones
because the des1 must be read in any case.
Signed-off-by: Fabrice Gasnier <fabrice.gasn...@st.com>
Acked-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/common.h |8
<fabrice.gasn...@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/chain_mode.c |3 ++-
drivers/net/ethernet/stmicro/stmmac/ring_mode.c | 11 ++-
drivers/net/ethernet/stmicro/stmmac/stmmac.h |1 +
drivers/net/ethe
On 12/12/2015 2:09 AM, David Miller wrote:
From: Giuseppe Cavallaro <peppe.cavall...@st.com>
Date: Wed, 9 Dec 2015 09:37:52 +0100
@@ -98,6 +98,10 @@ static int buf_sz = DEFAULT_BUFSIZE;
module_param(buf_sz, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(buf_sz, "DMA buffer size"
Hello Phil
On 12/11/2015 2:44 AM, Phil Reid wrote:
G'day Giuseppe,
On 11/12/2015 1:16 AM, Giuseppe CAVALLARO wrote:
Hi
also pls fix this typo
stmmac: create of compatible mdio bus for stmacc driver
Hi
also pls fix this typo
stmmac: create of compatible mdio bus for stmacc driver
stmmac
On 12/9/2015 9:39 AM, Phil Reid wrote:
The DSA driver needs to be passed a reference to an mdio bus. Typically
com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/chain_mode.c |3 ++-
drivers/net/ethernet/stmicro/stmmac/stmmac.h |1 +
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |5 -
3 files changed, 7 insertions(+),
):
stmmac: merge get_rx_owner into rx_status routine.
stmmac: optimize tx clean function
stmmac: fix phy init when attached to a phy
Giuseppe Cavallaro (15):
stmmac: share reset function between dwmac100 and dwmac1000
stmmac: rework DMA bus setting and introduce new platform AXI
structure
This patch completely changes the descriptor layout to improve
the whole performances due to the single read usage of the
descriptors in critical paths.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/descs.h
urt trying to cope with huge numbers
This patch replaces the modulo with a simple if clamp.
Signed-off-by: David McKay <david.mc...@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/chain_mode.c | 15 ++
drivers/net/e
removed.
It makes sense to provide the AAL parameter from DT to Address-Aligned
Beats inside the Register0 and review the PBL settings when initialize
the engine.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
Documentation/devicetree/bindings/net/stmmac.txt
.
Signed-off-by: Fabrice Gasnier <fabrice.gasn...@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/chain_mode.c |3 +++
drivers/net/ethernet/stmicro/stmmac/ring_mode.c |5 +
drivers/net/ethernet/stmicro/stmmac/stmmac.h
er <fabrice.gasn...@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
b/drivers/net/ether
This patch is to optimize the way to manage the TDES inside the
xmit function. When prepare the frame, some settings (e.g. OWN
bit) can be merged. This has been reworked to improve the tx
performances.
Signed-off-by: Fabrice Gasnier <fabrice.gasn...@st.com>
Signed-off-by: Giuseppe Cav
e.
Signed-off-by: Fabrice Gasnier <fabrice.gasn...@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/common.h |7 +-
drivers/net/ethernet/stmicro/stmmac/enh_desc.c | 25 +++--
drivers/net/ethernet/stmicro/stmmac
There is a threshold now used to also limit the skb allocation
when use zero-copy. This is to avoid that there are incoherence
in the ring due to a failure on skb allocation under very
aggressive testing and under low memory conditions.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.
inside TX clean loop for enhanced descriptors but not for normal ones
because the des1 must be read in any case.
Signed-off-by: Fabrice Gasnier <fabrice.gasn...@st.com>
Acked-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/common.h |8
ote that the stmmac_adjust_link will be called just one
time and this guarantees that the ST glue logic will be
setup according to the mode and speed fixed.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |5 +
1 files changed, 5 i
This patch just updates the driver to the version fully
tested on STi platforms. This version is Oct_2015.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/d
The dirty index can be updated out of the loop where all the
tx resources are claimed. This will help on performances too.
Also a useless debug printk has been removed from the main loop.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/
This patch is to share the same reset procedure between dwmac100 and
dwmac1000 chips.
This will also help on enhancing the driver and support new chips.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/common.h |3 +-
drive
rice.gasn...@st.com>
Acked-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/common.h | 10 +-
drivers/net/ethernet/stmicro/stmmac/enh_desc.c|9 +++--
drivers/net/ethernet/stmicro/stmmac/norm_desc.c |9 +++--
drivers/ne
Signed-off-by: Fabrice Gasnier <fabrice.gasn...@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 28 ++---
1 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/drivers/net/e
This patch is to allow this driver to copy tiny frames during the reception
process. This is giving more stability while stressing the driver on STi
embedded systems.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
<fabrice.gasn...@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/chain_mode.c |3 ++-
drivers/net/ethernet/stmicro/stmmac/ring_mode.c | 11 ++-
drivers/net/ethernet/stmicro/stmmac/stmmac.h |1 +
drivers/net/ethe
On 12/10/2015 6:11 AM, Giuseppe CAVALLARO wrote:
On 12/9/2015 6:21 PM, David Laight wrote:
From: Giuseppe Cavallaro
Sent: 09 December 2015 08:38
The indexes into the ring buffer are always incremented, and
the entry is accessed via doing a modulo to find the "real" ind
On 12/9/2015 6:21 PM, David Laight wrote:
From: Giuseppe Cavallaro
Sent: 09 December 2015 08:38
The indexes into the ring buffer are always incremented, and
the entry is accessed via doing a modulo to find the "real" index.
Modulo is an expensive operation.
This patch replaces
Hi David
This is the v2, sorry I missed it in the subject.
Re-based on top of net.git.
peppe
On 12/4/2015 7:21 AM, Giuseppe Cavallaro wrote:
There is a memleak when suspend/resume this driver version.
Currently the stmmac, during resume step, reallocates all the resources
and reallocate all from scratch
because the memory data will be always preserved.
As final solution, the patch just reinit the descriptors and the rx/tx
pointers only when resume. Tested done on STi boxes.
Reported-by: ZhengShunQian <zhen...@rock-chips.com>
Signed-off-by: Giuseppe Cavallaro <pep
For GMAC newer than 3.40a there is a new register (Reg_9) that provides the
status of all modules of the transmit and receive paths and FIFO status.
These can be exposed via ethtool.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/co
and reallocate all from scratch
because the memory data will be always preserved.
As final solution, the patch just reinit the descriptors and the rx/tx
pointers only when resume. Tested done on STi boxes.
Reported-by: ZhengShunQian <zhen...@rock-chips.com>
Signed-off-by: Giuseppe Cavallaro <pep
On 11/25/2015 4:13 PM, Giuseppe CAVALLARO wrote:
Hello
On 11/24/2015 7:09 PM, David Miller wrote:
From: Shunqian Zheng <zhen...@rock-chips.com>
Date: Sun, 22 Nov 2015 16:44:18 +0800
From: ZhengShunQian <zhen...@rock-chips.com>
The init_dma_desc_rings() may realloc the rx_s
Hello
On 11/24/2015 7:09 PM, David Miller wrote:
From: Shunqian Zheng
Date: Sun, 22 Nov 2015 16:44:18 +0800
From: ZhengShunQian
The init_dma_desc_rings() may realloc the rx_skbuff[] when
suspend and resume. This patch free the rx_skbuff[]
These are some fixes for the stmmac d.d. tested on STi platforms.
They are for some part of the PM, STi glue and rx path when test
Jumbo.
Giuseppe Cavallaro (5):
stmmac: fix a filter problem after resuming.
stmmac: fix csr clock divisor for 300MHz
stmmac: dwmac-sti: fix st,tx-retime-src
nitialized and the compiler, depending on the options adopted, could
take it in some different part of the stack generating the hang in such
configuration.
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c | 13 +++--
1
, from the DMA,
an Jumbo frame and the Sw must check if the allocated buffer is enough to
store the frame.
Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |6 +++
com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 28 +---
1 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
b/drivers/net/ethernet/st
When resume the HW is re-configured but some settings can be lost.
For example, the MAC Address_X High/Low Registers used for VLAN tagging..
So, while resuming, the set_filter callback needs to be invoked to
re-program perfect and hash-table registers.
Signed-off-by: Giuseppe Cavallaro
This patch is to fix the csr clock in case of 300MHz is provided.
Reported-by: Kent Borg <kent.b...@csr.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavall...@st.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Hello David
thx to have looked at this. I'll check the code and eventually fix it,
unless you already have a patch to propose.
Kind Regards
Peppe
On 7/13/2015 11:48 AM, David Binderman wrote:
Hello there,
[linux-4.2-rc2/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:1993]: (style)
On 4/19/2015 6:11 AM, Michael Trimarchi wrote:
Hi
On Apr 19, 2015 1:37 AM, Fabio Estevam feste...@gmail.com
mailto:feste...@gmail.com wrote:
On Sat, Apr 18, 2015 at 12:02 PM, Michael Trimarchi
mich...@amarulasolutions.com mailto:mich...@amarulasolutions.com
wrote:
Hi Vince
On 4/15/2015 6:17 PM, Vince Bridgers wrote:
This series of patches corrects flow control configuration for the Synopsys
GMAC driver.
Thx for these patches
For the series
Acked-by: Giuseppe Cavallaro peppe.cavall...@st.com
peppe
Flow control is configured based on a configurable
I’m working on an embedded network interface (core by Synopsys) and I’ve already
written my first Linux network device driver.
My hardware has an internal DMA so I’ve used the scatter gather implementation.
Moreover, this HW doesn’t support the TSO feature.
I’m wondering if I can use the new GSO
201 - 288 of 288 matches
Mail list logo