24 Nov, 2009
1 commit
-
On Sun, 2009-11-22 at 16:31 -0800, David Miller wrote:
> It should be of the form:
> if (x &&
> y)
>
> or:
> if (x && y)
>
> Fix patches, rather than complaints, for existing cases where things
> do not follow this pattern are certainly welcome.Also collapsed some multiple tabs to single space.
Signed-off-by: Joe Perches
Signed-off-by: David S. Miller
20 Nov, 2008
1 commit
-
The first argument to csum_partial is const void *
casts to char/u8 * are not necessarySigned-off-by: Joe Perches
Signed-off-by: David S. Miller
28 Jun, 2008
1 commit
-
When an SKB cannot be chained to a session, the current code attempts
to "restore" its ip_summed field from lro_mgr->ip_summed. However,
lro_mgr->ip_summed does not hold the original value; in fact, we'd
better not touch skb->ip_summed since it is not modified by the code
in the path leading to a failure to chain it. Also use a cleaer
comment to the describe the ip_summed field of struct net_lro_mgr.Issue raised by Or Gerlitz
Signed-off-by: Eli Cohen
Signed-off-by: David S. Miller
09 Jan, 2008
1 commit
-
lro_mgr->features contains a bitmask of LRO_F_* values which are
defined as power of two, not as bit indexes.
They must be checked with x&LRO_F_FOO, not with test_bit(LRO_F_FOO,&x).Signed-off-by: Brice Goglin
Acked-by: Andrew Gallatin
Signed-off-by: David S. Miller
05 Dec, 2007
1 commit
-
Add a field to the lro_mgr struct so that drivers can specify how much
padding is required to align layer 3 headers when a packet is copied
into a freshly allocated skb by inet_lro.c:lro_gen_skb(). Without
padding, skbs generated by LRO will cause alignment warnings on
architectures which require strict alignment (seen on sparc64).Myri10GE is updated to use this field.
Signed-off-by: Andrew Gallatin
Signed-off-by: David S. Miller
15 Oct, 2007
2 commits
-
all uses of and almost all assignments to lro_desc->tcp_ack assume that it's
net-endian; one converts net-endian to host-endian and sticks it in
lro_desc->tcp_ack.Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
11 Oct, 2007
2 commits
-
Fix a bunch of sparse warnings. Mostly about 0 used as
NULL pointer, and shadowed variable declarations.
One notable case was that hash size should have been unsigned.Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller -
This patch provides generic Large Receive Offload (LRO) functionality
for IPv4/TCP traffic.LRO combines received tcp packets to a single larger tcp packet and
passes them then to the network stack in order to increase performance
(throughput). The interface supports two modes: Drivers can either
pass SKBs or fragment lists to the LRO engine.Signed-off-by: Jan-Bernd Themann
Signed-off-by: David S. Miller