forked from M-Labs/zynq-rs
1
0
Fork 0

eth: enable csum offloading

should prevent FCS errors
This commit is contained in:
Astro 2019-08-19 01:12:52 +02:00
parent 43c3f3e4a6
commit 5603766c5d
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ impl<RX, TX> Eth<RX, TX> {
.rx_pktbuf_memsz_sel(0x3) .rx_pktbuf_memsz_sel(0x3)
// 4 KB // 4 KB
.tx_pktbuf_memsz_sel(true) .tx_pktbuf_memsz_sel(true)
// .csum_gen_offload_en(true) .csum_gen_offload_en(true)
// Little-endian // Little-endian
.ahb_endian_swp_mgmt_en(false) .ahb_endian_swp_mgmt_en(false)
// INCR16 AHB burst // INCR16 AHB burst