lkml.org 
[lkml]   [2003]   [Apr]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From"shesha bhushan" <>
SubjectDeactivating TCP checksumming
DateTue, 01 Apr 2003 09:47:30 +0000
Hello all,
  I am trying to de-activate the TCP checksumming and allow hardware (GBE to 
compute it for me). But can any one let me know how to do it.

This is what I did.But Its not working for me.

In linux/net/ipv4/tcp.c there are function calls to 
csum_and_copy_from_user(). I replaced it from copy_from_user() and set the 
skb->ip_summed = CHECKSUM_HW and skb->csum = 1;. Is this correct. Since its 
not working there must be something more that has to be done. could any one 
please tell me what additional thinks I need to do.

All suggestion are highly apperciated.

Thanking You
Shesha




_________________________________________________________________
Say it now. Say it online. http://www.msn.co.in/ecards/ Send e-cards to your 
love
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:34    [W:7.936 / U:0.470 seconds]
©2003-2008 Jasper Spaans