diff options
| author | Prafulla Deuskar <pdeuskar@FreeBSD.org> | 2006-09-09 06:19:20 +0000 |
|---|---|---|
| committer | Prafulla Deuskar <pdeuskar@FreeBSD.org> | 2006-09-09 06:19:20 +0000 |
| commit | 87b18800d46a0480bae4047f67c20df4541e8ad0 (patch) | |
| tree | b1e789b908554dcae3c06f802b4221f9e996dc18 /sys/dev/em/if_em.h | |
| parent | 6c71207db518b79836026a40bb1e8e9682c57dbd (diff) | |
Notes
Diffstat (limited to 'sys/dev/em/if_em.h')
| -rw-r--r-- | sys/dev/em/if_em.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/em/if_em.h b/sys/dev/em/if_em.h index 2765dff4ed6a4..99a7ba895b4f3 100644 --- a/sys/dev/em/if_em.h +++ b/sys/dev/em/if_em.h @@ -138,6 +138,11 @@ POSSIBILITY OF SUCH DAMAGE. #define EM_CHECKSUM_FEATURES (CSUM_TCP | CSUM_UDP) /* + * Inform the stack about transmit segmentation offload capabilities. + */ +#define EM_TCPSEG_FEATURES CSUM_TSO + +/* * This parameter controls the duration of transmit watchdog timer. */ #define EM_TX_TIMEOUT 5 /* set to 5 seconds */ @@ -225,6 +230,7 @@ POSSIBILITY OF SUCH DAMAGE. #define EM_RXBUFFER_16384 16384 #define EM_MAX_SCATTER 64 +#define EM_TSO_SIZE 65535 typedef enum _XSUM_CONTEXT_T { OFFLOAD_NONE, @@ -308,6 +314,7 @@ struct adapter { uint32_t txd_cmd; struct em_buffer *tx_buffer_area; bus_dma_tag_t txtag; /* dma tag for tx */ + uint32_t tx_tso; /* last tx was tso */ /* * Receive definitions |
