numam-dpdk/drivers/net/fm10k
Chen Jing D(Mark) ff0f9a6e37 fm10k: fix Rx function selection
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: 77a8ab47eb ("fm10k: select best Rx function")

Reported-by: Xiao Wang <xiao.w.wang@intel.com>
Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>
Acked-by: Xiao Wang <xiao.w.wang@intel.com>
2015-11-27 19:52:48 +01:00
..
base fm10k: support Boulder Rapid device 2015-10-29 23:47:44 +01:00
fm10k_ethdev.c fm10k: fix Rx function selection 2015-11-27 19:52:48 +01:00
fm10k_logs.h drivers: allow pruning log during build 2015-07-30 20:16:04 +02:00
fm10k_rxtx_vec.c fm10k: allow to disable vector driver 2015-11-24 12:35:19 +01:00
fm10k_rxtx.c fm10k: fix VLAN in Rx mbuf 2015-11-24 12:35:19 +01:00
fm10k.h fm10k: allow to disable vector driver 2015-11-24 12:35:19 +01:00
Makefile fm10k: allow to disable vector driver 2015-11-24 12:35:19 +01:00
rte_pmd_fm10k_version.map fm10k: move to drivers/net/ 2015-05-22 16:06:22 +02:00