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

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

Post by Weimin Tch » Sat, 11 Aug 2001 22:56:36



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

 
 
 

1. seeking how 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 field for outbound segments.

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

2. modem cuts off when dialing

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

4. PCI Hot Plug

5. Check for TCP checksum of Network Interface

6. plink in SuSE (Palm connectivity)

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

8. Solaris 2.6 non-GUI Installation ?

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