Le vendredi 25 février 2011 à 19:45 +0100, Eric Dumazet a écrit :
Le vendredi 25 février 2011 à 10:34 -0800, David Miller a écrit :
quoted
From: Eric Dumazet <redacted>
Date: Fri, 25 Feb 2011 11:52:07 +0100
quoted
Le vendredi 25 février 2011 à 17:45 +0800, Po-Yu Chuang a écrit :
quoted
It's a little faster than v5 now. Thanks.
I will submit the current version later.
One more question just curious, why 128 bytes?
Probably its best for NIU hardware specs
You could try 64, as it should be enough for most IP/TCP/UDP processing.
IPV6.
drivers/net/benet/be.h:70:#define BE_HDR_LEN 64
Maybe we should have a comment somewhere.
CC Ajit Khaparde [off-list ref]
A compromise would be to use 128 for the allocation, but only copy 64
bytes.