Re: stmmac / meson8b-dwmac

2019-05-22 Thread Simon Huelck
Hi, what exactly do you mean with this DT binding ? i cant find this for meson gxbb somewhere in the DTS ? regards, Simon Am 13.05.2019 um 11:07 schrieb Jose Abreu: > From: Simon Huelck > Date: Sat, May 11, 2019 at 15:53:34 > >> ethtool -S gave me some counts for mmc_rx_fifo_

Re: stmmac / meson8b-dwmac

2019-05-11 Thread Simon Huelck
01.03.2019 um 10:23 schrieb Jose Abreu: > Hi Simon, > > On 2/27/2019 7:02 PM, Simon Huelck wrote: >> Hi, >> >> >> the thing is , that im not a stmmac developer. Yes , maybe i can bissect >> it and yes you are lucky since im a C-developer since a long time for >>

Re: stmmac / meson8b-dwmac

2019-03-06 Thread Simon Huelck
mtl_rx_fifo_read_ctrl_status: 0 mtl_rx_fifo_read_ctrl_idle: 0 mtl_rx_fifo_ctrl_active: 0 mac_rx_frame_ctrl_fifo: 0 mac_gmii_rx_proto_engine: 0 tx_tso_frames: 0 tx_tso_nfrags: 0 regards, Simon Am 06.03.2019 um 12:35 schrieb Simon Huelck: > Hi, > > i sorted out some more things: &g

Re: stmmac / meson8b-dwmac

2019-03-06 Thread Simon Huelck
> > Mar  5 09:46:03 localhost kernel: [  105.534204] meson8b-dwmac > c941.ethernet eth0: Link is Up - 1Gbps/Full - flow control off > > iperf Done. > root@odroidc2:~# > > > > > regards, > Simon > > Am 01.03.2019 um 10:23 schrieb Jose Abreu: >> Hi Simon

Re: stmmac / meson8b-dwmac

2019-03-05 Thread Simon Huelck
root@odroidc2:~# regards, Simon Am 01.03.2019 um 10:23 schrieb Jose Abreu: > Hi Simon, > > On 2/27/2019 7:02 PM, Simon Huelck wrote: >> Hi, >> >> >> the thing is , that im not a stmmac developer. Yes , maybe i can bissect >> it and yes you are lucky sinc

Re: stmmac / meson8b-dwmac

2019-02-27 Thread Simon Huelck
Hi, i got another question about NAPI and irq assignment. my ethernet IRQ is assigned to CPU3:    CPU0   CPU1   CPU2   CPU3   1:  0  0  0  0 GICv2  25 Level vgic   3:    7265279    3145278    4626601    2454147 GICv2  30 Level

Re: stmmac / meson8b-dwmac

2019-02-27 Thread Simon Huelck
the code and the structure ? How can i profile stmmac ( usually im using hardware / JTAG debuggers at work, but here @home i got nothing like that ) So how do we continue ? regards, Simon Am 27.02.2019 um 12:09 schrieb Jose Abreu: > Hi Simon, > > On 2/24/2019 8:34 PM, Simon Huelck wrote:

Re: stmmac / meson8b-dwmac

2019-02-24 Thread Simon Huelck
Am 24.02.2019 um 20:42 schrieb Sebastian Gottschall: > vice are you talking about? its not your windows pc. if its a ipq8064 > based device or something like that you should look > on a very different location. this platform like the r7800 has stmac > performance problems since the kernel clk code

Re: stmmac / meson8b-dwmac

2019-02-24 Thread Simon Huelck
Am 24.02.2019 um 16:00 schrieb Simon Huelck: > Am 21.02.2019 um 18:46 schrieb Jerome Brunet: >> On Thu, 2019-02-21 at 18:27 +0100, Simon Huelck wrote: >>> Hi, >>> >>> >>> >>> this was changed recently, with a patch for the EEE stuff , see her

Re: stmmac / meson8b-dwmac

2019-02-24 Thread Simon Huelck
Am 21.02.2019 um 18:46 schrieb Jerome Brunet: > On Thu, 2019-02-21 at 18:27 +0100, Simon Huelck wrote: >> Hi, >> >> >> >> this was changed recently, with a patch for the EEE stuff , see here: >> >> https://git.kernel.org/pub/scm/linux/kernel

Re: stmmac / meson8b-dwmac

2019-02-21 Thread Simon Huelck
Am 21.02.2019 um 18:46 schrieb Jerome Brunet: > On Thu, 2019-02-21 at 18:27 +0100, Simon Huelck wrote: >> Hi, >> >> >> >> this was changed recently, with a patch for the EEE stuff , see here: >> >> https://git.kernel.org/pub/scm/linux/kernel

Re: stmmac / meson8b-dwmac

2019-02-21 Thread Simon Huelck
Am 21.02.2019 um 15:21 schrieb Jerome Brunet: > On Tue, 2019-02-19 at 20:41 +0100, Simon Huelck wrote: >> Am 19.02.2019 um 09:47 schrieb Jose Abreu: >>> Hi Simon, >>> >>> On 2/18/2019 6:05 PM, Simon Huelck wrote: >>>> disabling EEE doesnt help ( did

Re: stmmac / meson8b-dwmac

2019-02-19 Thread Simon Huelck
Am 19.02.2019 um 09:47 schrieb Jose Abreu: > Hi Simon, > > On 2/18/2019 6:05 PM, Simon Huelck wrote: >> disabling EEE doesnt help ( did it via the entry in the .dtb / .dts ), >> the results are the same. I can confirm the LPI counters are zero or one >> only after the t

Re: stmmac / meson8b-dwmac

2019-02-18 Thread Simon Huelck
Am 18.02.2019 um 18:05 schrieb Jose Abreu: > On 2/18/2019 4:51 PM, Simon Huelck wrote: >> Hi, >> >> no im testing vanilla mainline kernel and against 4.14. where >> performance was ok. but turning off EEE via ethtool should have same >> results than removal of th

Re: stmmac / meson8b-dwmac

2019-02-18 Thread Simon Huelck
sec regards, Simon Am 18.02.2019 um 17:43 schrieb Jose Abreu: > On 2/18/2019 4:40 PM, Simon Huelck wrote: >> Hi, >> >> EEE is enabled for odroid - c2 and should be working in 5.0-rc7 afaik ? > Oops, I was seeing in the wrong version, sorry. > > And did you tes

Re: stmmac / meson8b-dwmac

2019-02-18 Thread Simon Huelck
/git/torvalds/linux.git/commit/?h=v5.0-rc7&id=a152c91889556df17ca6d8ea134fb2cb4ac9f893 attached is my kern.log regards, Simon Am 18.02.2019 um 17:43 schrieb Jose Abreu: > On 2/18/2019 4:40 PM, Simon Huelck wrote: >> Hi, >> >> EEE is enabled for odroid - c2 and should be

Re: stmmac / meson8b-dwmac

2019-02-18 Thread Simon Huelck
Hi, EEE is enabled for odroid - c2 and should be working in 5.0-rc7 afaik ? there was a recent patch for this which was added to mainline regards, Simon Am 18.02.2019 um 17:26 schrieb Jose Abreu: > On 2/18/2019 3:53 PM, Simon Huelck wrote: >> How can i do this (reset stats) ? &

Re: stmmac / meson8b-dwmac

2019-02-18 Thread Simon Huelck
How can i do this (reset stats) ? The .dtb .dts is meson-gxbb-odroid-c2 from mainline kernel 5.0.rc7 Am 18.02.2019 um 16:31 schrieb Jose Abreu: > On 2/18/2019 3:29 PM, Simon Huelck wrote: >> Can i reset the ethtool statistics for better overview ? > Yes please. And do send t

Re: stmmac / meson8b-dwmac

2019-02-18 Thread Simon Huelck
Hi, i tried your command and tested afterwards, no change in behaviour . Can i reset the ethtool statistics for better overview ? regards, Simon Am 18.02.2019 um 14:02 schrieb Jose Abreu: > On 2/18/2019 12:41 PM, Jose Abreu wrote: >> On 2/18/2019 12:33 PM, Simon Huelck wrot

Re: stmmac / meson8b-dwmac

2019-02-18 Thread Simon Huelck
Hi, i recognize the followin on my ethernet stats: threshold: 1 tx_pkt_n: 1457325 rx_pkt_n: 5022405 normal_irq_n: 671738 rx_normal_irq_n: 606573 napi_poll: 784439 tx_normal_irq_n: 61061 tx_clean: 784439 tx_set_ic_bit: 58293 irq_receive_pmt_irq_n:

Re: stmmac / meson8b-dwmac

2019-02-17 Thread Simon Huelck
Hi Martin, i repeated your commands , nothing changed the problematic result regards, Simon Am 17.02.2019 um 15:48 schrieb Martin Blumenstingl: > Hello Jose, > > On Mon, Feb 11, 2019 at 2:45 PM Jose Abreu wrote: >> Hello, >> >> On 2/9/2019 1:09 AM, Martin Blumenstingl wrote: >>> (it's in

Re: stmmac / meson8b-dwmac

2019-02-13 Thread Simon Huelck
Hi, i used iperf2 on my odroid c2 , since this can do duplex tests ! iperf2 -c 10.10.11.1 -i1 -d Do you really need the exact numbers ? NON-duplex: 4.14.29 reached 930 MBits without the -d ( duplex option ), 5.0rc5 only reaches 600MBits there DUPLEX: With the -d option things get worse on 4.1

Re: stmmac / meson8b-dwmac

2019-02-07 Thread Simon Huelck
schrieb Emiliano Ingrassia: > Hi Martin, Hi Simon, > > On Mon, Feb 04, 2019 at 03:34:41PM +0100, Martin Blumenstingl wrote: >> On Thu, Jan 17, 2019 at 10:23 PM Simon Huelck wrote: >> [...] >>>>> I got problems with my ODROID c2 running on 4.19.16 ( and some

Re: stmmac / meson8b-dwmac

2019-02-06 Thread Simon Huelck
Hi, 4.17.9 failed going back further regards, Simon Am 06.02.2019 um 11:36 schrieb Emiliano Ingrassia: > Hi Martin, Hi Simon, > > On Mon, Feb 04, 2019 at 03:34:41PM +0100, Martin Blumenstingl wrote: >> On Thu, Jan 17, 2019 at 10:23 PM Simon Huelck wrote: >> [...] >>

Re: stmmac / meson8b-dwmac

2019-02-06 Thread Simon Huelck
3:34:41PM +0100, Martin Blumenstingl wrote: >> On Thu, Jan 17, 2019 at 10:23 PM Simon Huelck wrote: >> [...] >>>>> I got problems with my ODROID c2 running on 4.19.16 ( and some releases >>>>> earlier ). the stmmac / dwmac driver doesnt provide the 800

Re: stmmac / meson8b-dwmac

2019-01-17 Thread Simon Huelck
Am 17.01.2019 um 21:57 schrieb Martin Blumenstingl: > Hi Simon, > > On Thu, Jan 17, 2019 at 7:53 PM Simon Huelck wrote: >> Hi Martin, >> >> >> deutsch ? > theoretisch: ja, das endet bei mir aber in einem komischen Mix aus > deutsch und englisch, von daher..