diff options
author | shemminger@osdl.org <shemminger@osdl.org> | 2006-08-28 13:00:50 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-29 17:18:30 -0400 |
commit | 1d179332f8918a5f4e031dc068a469283b01c4c1 (patch) | |
tree | 004d7ec6faab91cc32609dbd2d2a9de33ec39be6 /drivers/net/sky2.h | |
parent | e07560cd4f762935968a1120168eb7d22260d85f (diff) |
[PATCH] sky2: optimize checksum offload information
Since many packets have the same checksum starting offset and insertion
location; the driver can save the last information and only tell hardware
when it changes.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/sky2.h')
-rw-r--r-- | drivers/net/sky2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h index bb92f694247f..fa8af9f503e4 100644 --- a/drivers/net/sky2.h +++ b/drivers/net/sky2.h | |||
@@ -1843,6 +1843,8 @@ struct sky2_port { | |||
1843 | u32 tx_addr64; | 1843 | u32 tx_addr64; |
1844 | u16 tx_pending; | 1844 | u16 tx_pending; |
1845 | u16 tx_last_mss; | 1845 | u16 tx_last_mss; |
1846 | u16 tx_csum_start; | ||
1847 | u16 tx_csum_offset; | ||
1846 | 1848 | ||
1847 | struct ring_info *rx_ring ____cacheline_aligned_in_smp; | 1849 | struct ring_info *rx_ring ____cacheline_aligned_in_smp; |
1848 | struct sky2_rx_le *rx_le; | 1850 | struct sky2_rx_le *rx_le; |