2005年9月28日 星期三

hardware checksum offload in freebsd

to enable hardware checksum offloading for foo interface:

1. set CSUM flags in ifnet
2. check if received packet is validated by NIC and valid. usually in foo_intr().
3. set flags in transmit descriptor prior to hand over to NIC. usually in foo_start()->foo_encap().

沒有留言:

張貼留言