seeking how to use TCP Checksum Off-load in my network driver

seeking how to use TCP Checksum Off-load in my network driver

Post by Weimin Tch » Wed, 08 Aug 2001 00:22:42



I am seeking infomation on how to use TCP Checksum Off-load to tell
the Solaris 8 stack not to handle it for both receives and transmits
(and let our NIC handle this compute-intensive task instead).

There is mention that Sun GigabitEthernet Adapter cards, Release 1.1
supports Sol-2.6 use of NIC features: TCP checksum offload & byte
swapping

There are limited bits of info in include files. For example

sys/strick.h indicates use of:
inetcksum_t's ick_xmit

stream.h has:
struct datab's unsigned u16:16; /* used to store hw-calculated cksum
*/

#define STRUIO_IP 0x04 /* IP checksum stored in db_struioun */
#define STRUIO_ZC 0x08 /* mblk eligible for zero-copy */

strsub.h has:
struct zero_copy_kstat

Also /include/inet/tcp.h has tcp_sum field for outbound segments.

Do you have any advice? Thank you. -Weimin Tchen

 
 
 

1. seeking to use TCP Checksum Off-load in my network driver

I am seeking infomation on how to use TCP Checksum Off-load to tell
the Solaris 8 stack not to handle it for both receives and transmits
(and let our NIC handle this compute-intensive task instead).

There is mention that Sun GigabitEthernet Adapter cards, Release 1.1
supports Sol-2.6 use of NIC features: TCP checksum offload & byte
swapping

There are limited bits of info in include files. For example

sys/strick.h indicates use of:
inetcksum_t's ick_xmit

stream.h has:
struct datab's unsigned u16:16; /* used to store hw-calculated cksum*/

#define STRUIO_IP 0x04 /* IP checksum stored in db_struioun */
#define STRUIO_ZC 0x08 /* mblk eligible for zero-copy */

strsub.h has:
struct zero_copy_kstat

Also /include/inet/tcp.h has tcp_sum for outbound segment.

Thank you for any advice. -Weimin Tchen

2. Toshiba CDROM XM3701-SCSI any comments ??

3. TCP Checksum error with WD8013WC on FreeBSD-2.2.5 (driver ed0)

4. awk NF

5. Check for TCP checksum of Network Interface

6. Script (sh) problem

7. DDE to TCP/IP Comm Driver via TCP/IP Avail,DDE2TCP,Custom Drivers Avail

8. Discuss Sun Fire Configuration This Week

9. load balancing tool for tcp/ip network connections

10. Using a laptop off the network

11. Booting Linux off the primary hdd, win95 off the secondary using LILO

12. UDP checksum on/off in kernel ??

13. Problem in loading a 64 bit driver using GCC on Solaris 8