diff options
author | obrien <obrien@FreeBSD.org> | 2006-11-27 04:47:27 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2006-11-27 04:47:27 +0000 |
commit | b5ca50913bc7b951cb53022c62915b2399b30ab7 (patch) | |
tree | b27dc0885c8f27d3ba09ff067d4cf640e40f9dd1 /sys/dev/nfe/if_nfereg.h | |
parent | 13ee52ce1ee83d9ee9b9c1b8459382cc617d37ee (diff) | |
download | FreeBSD-src-b5ca50913bc7b951cb53022c62915b2399b30ab7.zip FreeBSD-src-b5ca50913bc7b951cb53022c62915b2399b30ab7.tar.gz |
Fix TX/RX checksum offload.
Submitted by: Peer Chen at nVIDIA
Diffstat (limited to 'sys/dev/nfe/if_nfereg.h')
-rw-r--r-- | sys/dev/nfe/if_nfereg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nfe/if_nfereg.h b/sys/dev/nfe/if_nfereg.h index d767c98..cd56b55 100644 --- a/sys/dev/nfe/if_nfereg.h +++ b/sys/dev/nfe/if_nfereg.h @@ -29,7 +29,6 @@ /* Maximum MTU size. */ #define NV_PKTLIMIT_1 ETH_DATA_LEN /* Hard limit not known. */ #define NV_PKTLIMIT_2 9100 /* Actual limit according to NVidia:9202 */ - #define NFE_JBYTES (ETHER_MAX_LEN_JUMBO + ETHER_ALIGN) #define NFE_JPOOL_COUNT (NFE_RX_RING_COUNT + NFE_RX_HEADERS) @@ -122,6 +121,7 @@ #define NFE_RXFILTER_MAGIC 0x007f0008 #define NFE_U2M (1 << 5) #define NFE_PROMISC (1 << 7) +#define NFE_CSUM_FEATURES (CSUM_IP | CSUM_TCP | CSUM_UDP) /* default interrupt moderation timer of 128us */ #define NFE_IM_DEFAULT ((128 * 100) / 1024) |