diff options
Diffstat (limited to 'sys/dev/sge/if_sgereg.h')
-rw-r--r-- | sys/dev/sge/if_sgereg.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/sge/if_sgereg.h b/sys/dev/sge/if_sgereg.h index c06072c..6987e99 100644 --- a/sys/dev/sge/if_sgereg.h +++ b/sys/dev/sge/if_sgereg.h @@ -283,7 +283,9 @@ struct sge_desc { #define SGE_RX_RING_CNT 256 /* [8, 1024] */ #define SGE_TX_RING_CNT 256 /* [8, 8192] */ #define SGE_DESC_ALIGN 16 -#define SGE_MAXTXSEGS 16 +#define SGE_MAXTXSEGS 32 +#define SGE_TSO_MAXSIZE (65535 + sizeof(struct ether_vlan_header)) +#define SGE_TSO_MAXSEGSIZE 4096 #define SGE_RX_BUF_ALIGN sizeof(uint64_t) #define SGE_RX_RING_SZ (SGE_RX_RING_CNT * sizeof(struct sge_desc)) |