diff options
author | yongari <yongari@FreeBSD.org> | 2014-04-14 04:51:59 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2014-04-14 04:51:59 +0000 |
commit | fa731335a20543877153a2aabbf27e200ec99974 (patch) | |
tree | 933fe7b4e09574af8155058254d209d53d59c352 /sys/dev/fxp | |
parent | bfa777d36fc90a10299c7dfda42c27512bbdb0a0 (diff) | |
download | FreeBSD-src-fa731335a20543877153a2aabbf27e200ec99974.zip FreeBSD-src-fa731335a20543877153a2aabbf27e200ec99974.tar.gz |
MFC r263957:
Increase the number of TX DMA segments from 32 to 35. It turned
out 32 is not enough to support a full sized TSO packet.
While I'm here fix a long standing bug introduced in r169632 in
bce(4) where it didn't include L2 header length of TSO packet in
the maximum DMA segment size calculation.
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r-- | sys/dev/fxp/if_fxpreg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fxp/if_fxpreg.h b/sys/dev/fxp/if_fxpreg.h index cc764b5..7fd60af 100644 --- a/sys/dev/fxp/if_fxpreg.h +++ b/sys/dev/fxp/if_fxpreg.h @@ -250,7 +250,7 @@ struct fxp_cb_ucode { /* * Number of DMA segments in a TxCB. */ -#define FXP_NTXSEG 32 +#define FXP_NTXSEG 35 struct fxp_tbd { uint32_t tb_addr; |