* via-rhine -- VT6105M and checksum offloading
@ 2011-02-24 18:58 Benjamin LaHaise
2011-02-24 20:23 ` David Miller
0 siblings, 1 reply; 4+ messages in thread
From: Benjamin LaHaise @ 2011-02-24 18:58 UTC (permalink / raw)
To: netdev
Hi folks,
I've recently noticed that one of the embedded systems I'm using (the
PCEngines ALIXes) is becoming CPU bound under heavy network traffic.
Upon investigation, it looks like the VT6105M isn't actually using the
hardware checksum offloading support of the hardware. Are there any
known reasons why this isn't enabled (hardware bugs?)? I'll test enabling
it in the driver, but I figured it would be worth asking if this path
has been explored already. Cheers,
-ben
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: via-rhine -- VT6105M and checksum offloading
2011-02-24 18:58 via-rhine -- VT6105M and checksum offloading Benjamin LaHaise
@ 2011-02-24 20:23 ` David Miller
2011-02-25 7:53 ` Roger Luethi
0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2011-02-24 20:23 UTC (permalink / raw)
To: bcrl; +Cc: netdev
From: Benjamin LaHaise <bcrl@kvack.org>
Date: Thu, 24 Feb 2011 13:58:05 -0500
> I've recently noticed that one of the embedded systems I'm using (the
> PCEngines ALIXes) is becoming CPU bound under heavy network traffic.
> Upon investigation, it looks like the VT6105M isn't actually using the
> hardware checksum offloading support of the hardware. Are there any
> known reasons why this isn't enabled (hardware bugs?)? I'll test enabling
> it in the driver, but I figured it would be worth asking if this path
> has been explored already. Cheers,
As far as I can tell it was never attempted. So it should work.
If you do that, while you're here, you can make rhine_rx() take
a "napi" arg and make this driver use netif_gso_receive() too.
Don't forget to set NETIF_F_GRO or similar in netdev->flags during
probe, and also hookup the necessary ethtool hooks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: via-rhine -- VT6105M and checksum offloading
2011-02-24 20:23 ` David Miller
@ 2011-02-25 7:53 ` Roger Luethi
2011-02-25 18:35 ` Jan Ceuleers
0 siblings, 1 reply; 4+ messages in thread
From: Roger Luethi @ 2011-02-25 7:53 UTC (permalink / raw)
To: Benjamin LaHaise; +Cc: David Miller, netdev
On Thu, 24 Feb 2011 12:23:54 -0800, David Miller wrote:
> From: Benjamin LaHaise <bcrl@kvack.org>
> Date: Thu, 24 Feb 2011 13:58:05 -0500
>
> > Upon investigation, it looks like the VT6105M isn't actually using the
> > hardware checksum offloading support of the hardware. Are there any
> > known reasons why this isn't enabled (hardware bugs?)? I'll test enabling
>
> As far as I can tell it was never attempted. So it should work.
>
> If you do that, while you're here, you can make rhine_rx() take
> a "napi" arg and make this driver use netif_gso_receive() too.
> Don't forget to set NETIF_F_GRO or similar in netdev->flags during
> probe, and also hookup the necessary ethtool hooks.
I have a patch to enable hw checksumming (the ethtool hooks are done, but I
somehow missed the NETIF_F_GRO bit). Care to give it a whirl?
Roger
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: via-rhine -- VT6105M and checksum offloading
2011-02-25 7:53 ` Roger Luethi
@ 2011-02-25 18:35 ` Jan Ceuleers
0 siblings, 0 replies; 4+ messages in thread
From: Jan Ceuleers @ 2011-02-25 18:35 UTC (permalink / raw)
To: Roger Luethi; +Cc: Benjamin LaHaise, David Miller, netdev
On 25/02/11 08:53, Roger Luethi wrote:
> I have a patch to enable hw checksumming (the ethtool hooks are done, but I
> somehow missed the NETIF_F_GRO bit). Care to give it a whirl?
Can you post that, preferably rebased to net-next? Even if Benjamin
doesn't get 'round to implementing all of the improvements Dave proposes
perhaps Dave will be clement enough to apply it as-is if it proves to be
a net positive?
Thanks, Jan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-02-25 18:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 18:58 via-rhine -- VT6105M and checksum offloading Benjamin LaHaise
2011-02-24 20:23 ` David Miller
2011-02-25 7:53 ` Roger Luethi
2011-02-25 18:35 ` Jan Ceuleers
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).