From: Eric Dumazet <eric.dumazet@gmail.com>
To: Po-Yu Chuang <ratbert.chuang@gmail.com>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
ratbert@faraday-tech.com
Subject: Re: [PATCH v2] net: add Faraday FTGMAC100 Gigabit Ethernet driver
Date: Mon, 21 Mar 2011 09:19:29 +0100 [thread overview]
Message-ID: <1300695569.2831.535.camel@edumazet-laptop> (raw)
In-Reply-To: <AANLkTinibrF_bJBbYwCSnGv1iD_9Dn7uBn2cqgcTrKHi@mail.gmail.com>
Le lundi 21 mars 2011 à 15:54 +0800, Po-Yu Chuang a écrit :
> It seems to work fine so far at least the driver is not broken, but I did not
> see much difference in performance though. How do I know if GRO is
> working indeed?
maybe you receive one interrupt per incoming frame, and your cpu is fast
enough to handle the load.
tcpdump should show big incoming TCP frames (multi segment)
(GRO only helps TCP receivers)
Example here :
09:16:32.372949 IP 192.168.20.110.55446 > 192.168.20.108.ssh: .
2372863:2374311(1448) ack 3136 win 73 <nop,nop,timestamp 317934201
257881345>
09:16:32.372975 IP 192.168.20.110.55446 > 192.168.20.108.ssh: .
2374311:2377207(2896) ack 3136 win 73 <nop,nop,timestamp 317934201
257881345>
Here, you can see GRO work, since 2nd "frame" is the result of two MTU
sized frames.
next prev parent reply other threads:[~2011-03-21 8:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-10 8:08 [PATCH] net: add Faraday FTGMAC100 Gigabit Ethernet driver Po-Yu Chuang
2011-03-13 20:16 ` Eric Dumazet
2011-03-13 20:26 ` [PATCH net-next-2.6] ftmac100: use GFP_ATOMIC allocations where needed Eric Dumazet
2011-03-13 20:29 ` Eric Dumazet
2011-03-14 8:16 ` Po-Yu Chuang
2011-03-14 14:26 ` [PATCH net-next-2.6 v2] " Eric Dumazet
2011-03-14 22:40 ` David Miller
2011-03-14 8:38 ` [PATCH] net: add Faraday FTGMAC100 Gigabit Ethernet driver Po-Yu Chuang
2011-03-17 9:47 ` [PATCH v2] " Po-Yu Chuang
2011-03-17 10:24 ` Eric Dumazet
2011-03-17 10:56 ` Po-Yu Chuang
2011-03-17 11:30 ` Eric Dumazet
2011-03-21 7:54 ` Po-Yu Chuang
2011-03-21 8:19 ` Eric Dumazet [this message]
2011-06-09 9:32 ` [PATCH v3] " Po-Yu Chuang
2011-06-11 22:50 ` David Miller
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=1300695569.2831.535.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=ratbert.chuang@gmail.com \
--cc=ratbert@faraday-tech.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