summaryrefslogtreecommitdiffstats
path: root/sys/dev/hme/if_hmevar.h
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2004-08-05 02:52:33 +0000
committeryongari <yongari@FreeBSD.org>2004-08-05 02:52:33 +0000
commit13d78fa3ce68b202d16760b4214faa9e07f20f89 (patch)
treee77374b50a32960433cd17f3343391c0cde4855f /sys/dev/hme/if_hmevar.h
parent00b755c2a702c024f580d625172d0400fe21313f (diff)
downloadFreeBSD-src-13d78fa3ce68b202d16760b4214faa9e07f20f89.zip
FreeBSD-src-13d78fa3ce68b202d16760b4214faa9e07f20f89.tar.gz
Implement TCP/UDP Transmit/Receive checksum offload.
Since HME doesn't compensate the checksum for UDP datagram which can yield to 0x0, UDP transmit checksum offload is disabled by default. The UDP Transmit checksum offload can be reactivated by setting special link option link0 with ifconfig(8). Approved by: jake (mentor) Reviewed by: tmm Tested by: Herve Boulouis <amon@sockar.homeip.net>
Diffstat (limited to 'sys/dev/hme/if_hmevar.h')
-rw-r--r--sys/dev/hme/if_hmevar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/hme/if_hmevar.h b/sys/dev/hme/if_hmevar.h
index 7e1c5ed..4c65528 100644
--- a/sys/dev/hme/if_hmevar.h
+++ b/sys/dev/hme/if_hmevar.h
@@ -140,6 +140,7 @@ struct hme_softc {
int sc_phys[2]; /* MII instance -> PHY map */
int sc_pci; /* XXXXX -- PCI buses are LE. */
+ int sc_csum_features;
/* Ring descriptor */
struct hme_ring sc_rb;
OpenPOWER on IntegriCloud