ff0f9a6e37
Steps to reproduce the bug:
1. All Rx offloading is disabled and start the device, then
Vector Rx is used.
2. Stop the device. Re-configure to enable hw_ip_checksum = 1,
start the device again.
3. In this case, assume regular Rx should be used since Vector
Rx doesn't support ip checksum offload. But actually Vector
Rx is used and cause checksum won't be done by hardware.
The reason is after re-configuring, driver misses an "else" in
func fm10k_set_rx_function(). Then Rx func in last round are
used.
Fixes:
|
||
---|---|---|
.. | ||
base | ||
fm10k_ethdev.c | ||
fm10k_logs.h | ||
fm10k_rxtx_vec.c | ||
fm10k_rxtx.c | ||
fm10k.h | ||
Makefile | ||
rte_pmd_fm10k_version.map |