Re: offloading ip checksum calculation to the NIC

2006-02-04 Thread Yar Tikhiy
On Fri, Feb 03, 2006 at 03:07:03PM +0300, Gleb Smirnoff wrote: > On Fri, Feb 03, 2006 at 02:30:54AM -0800, kamal kc wrote: > k> so what do i need to do if i don't want to calculate > k> the ip checksum myself ? > k> > k> right now i am taking off packet from the kernel > k> and modifying some of

Re: offloading ip checksum calculation to the NIC

2006-02-03 Thread Gleb Smirnoff
On Fri, Feb 03, 2006 at 02:30:54AM -0800, kamal kc wrote: k> so what do i need to do if i don't want to calculate k> the ip checksum myself ? k> k> right now i am taking off packet from the kernel k> and modifying some of the data content, and k> outputting to the IFQ_HANDOFF myself. and i k>

Re: offloading ip checksum calculation to the NIC

2006-02-03 Thread kamal kc
--- Gleb Smirnoff <[EMAIL PROTECTED]> wrote: > On Thu, Feb 02, 2006 at 10:20:46PM -0800, kamal kc wrote: > k> i want to offload ip checksum calculation to the NIC. > k> I use 3Com 3c905B-TX NIC cards. > k> > k> I found that there are variables::>> > k> > k> intcsum_flags;

Re: offloading ip checksum calculation to the NIC

2006-02-03 Thread Gleb Smirnoff
On Thu, Feb 02, 2006 at 10:20:46PM -0800, kamal kc wrote: k> i want to offload ip checksum calculation to the NIC. k> I use 3Com 3c905B-TX NIC cards. k> k> I found that there are variables::>> k> k> int csum_flags; /* flags regarding checksum */ k> int csum_data;

offloading ip checksum calculation to the NIC

2006-02-02 Thread kamal kc
dear all, i want to offload ip checksum calculation to the NIC. I use 3Com 3c905B-TX NIC cards. I found that there are variables::>> int csum_flags; /* flags regarding checksum */ int csum_data; /* data field used by csum routines */ in struct pk