Date: Thu, 2 Feb 2006 22:20:46 -0800 (PST) From: kamal kc <kamal_ckk@yahoo.com> To: freebsd <freebsd-net@freebsd.org> Subject: offloading ip checksum calculation to the NIC Message-ID: <20060203062046.86880.qmail@web30011.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
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 pkthdr in mbuf.h. also i found the various flags for the hardware checksumming. but i don't know the exact steps i need to do in order to offload checksumming. should i set the csum_flags to CSUM_IP and point csum_data to the start of the ip header ?? it would be a great help if anybody could tell me what do i need to do ? thanks, kamal __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060203062046.86880.qmail>