mirror of https://github.com/F-Stack/f-stack.git
fix the issue that set the incorrect crc_strip flag.
This commit is contained in:
parent
a2f2939ed6
commit
5910503df7
|
@ -582,9 +582,7 @@ init_port_start(void)
|
|||
}
|
||||
|
||||
/* Enable HW CRC stripping */
|
||||
if (dev_info.rx_offload_capa & DEV_RX_OFFLOAD_KEEP_CRC) {
|
||||
port_conf.rxmode.offloads |= DEV_RX_OFFLOAD_KEEP_CRC;
|
||||
}
|
||||
port_conf.rxmode.offloads &= ~DEV_RX_OFFLOAD_KEEP_CRC;
|
||||
|
||||
/* FIXME: Enable TCP LRO ?*/
|
||||
#if 0
|
||||
|
|
Loading…
Reference in New Issue