From: Troy Kisky <troy.kisky@boundarydevices.com>
To: Fugang Duan <fugang.duan@nxp.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"davem@davemloft.net" <davem@davemloft.net>,
"lznuaa@gmail.com" <lznuaa@gmail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>,
"l.stach@pengutronix.de" <l.stach@pengutronix.de>,
"andrew@lunn.ch" <andrew@lunn.ch>,
"tremyfr@gmail.com" <tremyfr@gmail.com>,
"gerg@uclinux.org" <gerg@uclinux.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"johannes@sipsolutions.net" <johannes@sipsolutions.net>,
"stillcompiling@gmail.com" <stillcompiling@gmail.com>,
"sergei.shtylyov@cogentembedded.com"
<sergei.shtylyov@cogentembedded.com>,
"arnd@arndb.de" <arnd@arndb.de>
Subject: Re: [PATCH net-next V3 00/16] net: fec: cleanup and fixes
Date: Wed, 6 Apr 2016 09:47:37 -0700 [thread overview]
Message-ID: <57053DA9.2090404@boundarydevices.com> (raw)
In-Reply-To: <57053C94.2000009@boundarydevices.com>
On 4/6/2016 9:43 AM, Troy Kisky wrote:
> On 4/6/2016 1:51 AM, Fugang Duan wrote:
>> From: Troy Kisky <troy.kisky@boundarydevices.com> Sent: Wednesday, April 06, 2016 10:26 AM
>>> To: netdev@vger.kernel.org; davem@davemloft.net; Fugang Duan
>>> <fugang.duan@nxp.com>; lznuaa@gmail.com
>>> Cc: Fabio Estevam <fabio.estevam@nxp.com>; l.stach@pengutronix.de;
>>> andrew@lunn.ch; tremyfr@gmail.com; gerg@uclinux.org; linux-arm-
>>> kernel@lists.infradead.org; johannes@sipsolutions.net;
>>> stillcompiling@gmail.com; sergei.shtylyov@cogentembedded.com;
>>> arnd@arndb.de; Troy Kisky <troy.kisky@boundarydevices.com>
>>> Subject: [PATCH net-next V3 00/16] net: fec: cleanup and fixes
>>>
>>> V3 has
>>>
>>> 1 dropped patch "net: fec: print more debug info in fec_timeout"
>>> 2 new patches
>>> 0002-net-fec-remove-unused-interrupt-FEC_ENET_TS_TIMER.patch
>>> 0003-net-fec-return-IRQ_HANDLED-if-fec_ptp_check_pps_even.patch
>>>
>>> 1 combined patch
>>> 0004-net-fec-pass-rxq-txq-to-fec_enet_rx-tx_queue-instead.patch
>>>
>>> The changes are noted on individual patches
>>>
>>> My measured performance of this series is
>>>
>>> before patch set
>>> 365 Mbits/sec Tx/407 RX
>>>
>>> after patch set
>>> 374 Tx/427 Rx
>>>
>>
>> I doubt the performance data, I validate it on i.MX6q sabresd board on the latest commit(4da46cebbd3b) in net tree.
>
>
>
> I was doing UDP tests, as outlined in my V2 cover letter. Also, my cpu is 1G. Is yours 1.2G?
>
>
>
>
>> root@imx6qdlsolo:~# uname -a
>> Linux imx6qdlsolo 4.6.0-rc1-00318-g4da46ce #180 SMP Wed Apr 6 16:24:09 CST 2016 armv7l GNU/Linux
>
>
> This is the V2 patch that I dropped.
Sorry, your right. It is the current head, without this series.
>
> I will force update my local net-next_master branch, to make testing this series easier.
> Note that my local net-next_master branch has about 19 patches on top of this series.
> so,
>
> tkisky@office-server2:~/linux-imx6$ git reset --hard HEAD~19
> HEAD is now at a125da7 net: fec: don't set cbd_bufaddr unless no mapping error
>
>
>>
>> TCP RX performance is 602Mbps, TX is only 325Mbps, TX path has some performance issue in net tree.
>> I will dig out it.
>>
>>
>
>
> More testing is always better. Thanks
>
>
>>>
>>> Troy Kisky (16):
>>> net: fec: only check queue 0 if RXF_0/TXF_0 interrupt is set
>>> net: fec: remove unused interrupt FEC_ENET_TS_TIMER
>>> net: fec: return IRQ_HANDLED if fec_ptp_check_pps_event handled it
>>> net: fec: pass rxq/txq to fec_enet_rx/tx_queue instead of queue_id
>>> net: fec: reduce interrupts
>>> net: fec: split off napi routine with 3 queues
>>> net: fec: don't clear all rx queue bits when just one is being checked
>>> net: fec: set cbd_sc without relying on previous value
>>> net: fec: eliminate calls to fec_enet_get_prevdesc
>>> net: fec: move restart test for efficiency
>>> net: fec: clear cbd_sc after transmission to help with debugging
>>> net: fec: dump all tx queues in fec_dump
>>> net: fec: detect tx int lost
>>> net: fec: create subroutine reset_tx_queue
>>> net: fec: call dma_unmap_single on mapped tx buffers at restart
>>> net: fec: don't set cbd_bufaddr unless no mapping error
>>>
>>> drivers/net/ethernet/freescale/fec.h | 10 +-
>>> drivers/net/ethernet/freescale/fec_main.c | 410 ++++++++++++++++------------
>>> --
>>> 2 files changed, 218 insertions(+), 202 deletions(-)
>>>
>>> --
>>> 2.5.0
>>
next prev parent reply other threads:[~2016-04-06 16:47 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-06 2:25 [PATCH net-next V3 00/16] net: fec: cleanup and fixes Troy Kisky
2016-04-06 2:25 ` [PATCH net-next V3 01/16] net: fec: only check queue 0 if RXF_0/TXF_0 interrupt is set Troy Kisky
2016-04-06 2:25 ` [PATCH net-next V3 02/16] net: fec: remove unused interrupt FEC_ENET_TS_TIMER Troy Kisky
2016-04-06 9:10 ` Fugang Duan
2016-04-06 2:25 ` [PATCH net-next V3 03/16] net: fec: return IRQ_HANDLED if fec_ptp_check_pps_event handled it Troy Kisky
2016-04-06 9:12 ` Fugang Duan
2016-04-06 2:25 ` [PATCH net-next V3 04/16] net: fec: pass rxq/txq to fec_enet_rx/tx_queue instead of queue_id Troy Kisky
2016-04-06 2:25 ` [PATCH net-next V3 05/16] net: fec: reduce interrupts Troy Kisky
2016-04-06 10:06 ` Fugang Duan
2016-04-06 21:20 ` David Miller
2016-04-07 0:42 ` Troy Kisky
2016-04-07 3:57 ` David Miller
2016-04-07 15:50 ` Troy Kisky
2016-04-06 2:25 ` [PATCH net-next V3 06/16] net: fec: split off napi routine with 3 queues Troy Kisky
2016-04-06 2:25 ` [PATCH net-next V3 07/16] net: fec: don't clear all rx queue bits when just one is being checked Troy Kisky
2016-04-06 2:25 ` [PATCH net-next V3 08/16] net: fec: set cbd_sc without relying on previous value Troy Kisky
2016-04-06 9:51 ` Fugang Duan
2016-04-06 2:25 ` [PATCH net-next V3 09/16] net: fec: eliminate calls to fec_enet_get_prevdesc Troy Kisky
2016-04-06 2:25 ` [PATCH net-next V3 10/16] net: fec: move restart test for efficiency Troy Kisky
2016-04-06 2:25 ` [PATCH net-next V3 11/16] net: fec: clear cbd_sc after transmission to help with debugging Troy Kisky
2016-04-06 2:25 ` [PATCH net-next V3 12/16] net: fec: dump all tx queues in fec_dump Troy Kisky
2016-04-06 2:25 ` [PATCH net-next V3 13/16] net: fec: detect tx int lost Troy Kisky
2016-04-06 2:26 ` [PATCH net-next V3 14/16] net: fec: create subroutine reset_tx_queue Troy Kisky
2016-04-06 2:26 ` [PATCH net-next V3 15/16] net: fec: call dma_unmap_single on mapped tx buffers at restart Troy Kisky
2016-04-06 2:26 ` [PATCH net-next V3 16/16] net: fec: don't set cbd_bufaddr unless no mapping error Troy Kisky
2016-04-06 8:51 ` [PATCH net-next V3 00/16] net: fec: cleanup and fixes Fugang Duan
2016-04-06 16:43 ` Troy Kisky
2016-04-06 16:47 ` Troy Kisky [this message]
2016-04-07 1:23 ` Fugang Duan
2016-04-06 21:20 ` David Miller
2016-04-07 1:09 ` Troy Kisky
2016-04-07 3:58 ` David Miller
2016-04-07 15:35 ` Troy Kisky
2016-04-14 10:13 ` Holger Schurig
2016-04-14 15:39 ` Troy Kisky
2016-04-15 8:33 ` Holger Schurig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57053DA9.2090404@boundarydevices.com \
--to=troy.kisky@boundarydevices.com \
--cc=andrew@lunn.ch \
--cc=arnd@arndb.de \
--cc=davem@davemloft.net \
--cc=fabio.estevam@nxp.com \
--cc=fugang.duan@nxp.com \
--cc=gerg@uclinux.org \
--cc=johannes@sipsolutions.net \
--cc=l.stach@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=lznuaa@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=sergei.shtylyov@cogentembedded.com \
--cc=stillcompiling@gmail.com \
--cc=tremyfr@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).