numam-dpdk/drivers
Zhirun Yan 38827a0481 net/i40e: fix port close
Port reset will call i40evf_uninit_vf() to release resource. It wants
to call i40evf_dev_close() to release resources. Before this patch,
hw->adapter_stopped was used to mark the status about start/stop and
close. So it will never call i40evf_dev_close() after stopping the port.

This patch added hw->adapter_closed flag in i40evf_dev_close() and
i40e_dev_close() to control the status of close.

Fixes: 4861cde461 ("i40e: new poll mode driver")
Cc: stable@dpdk.org

Signed-off-by: Zhirun Yan <zhirun.yan@intel.com>
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2018-12-13 17:44:52 +00:00
..
baseband baseband/null: add in meson build 2018-09-18 22:53:35 +02:00
bus vfio: do not needlessly setup device in secondary process 2018-11-25 13:09:05 +01:00
common common/cpt: fix bit shift operation for KASUMI 2018-11-18 22:31:30 +01:00
compress compress/isal: fix uncleared compression states 2018-11-02 12:26:06 +01:00
crypto crypto/octeontx: fix null pointer dereferencing 2018-11-14 04:32:48 +01:00
event fix global variable issues 2018-10-29 02:34:27 +01:00
mempool add missing static keyword to globals 2018-10-29 02:01:08 +01:00
net net/i40e: fix port close 2018-12-13 17:44:52 +00:00
raw drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build build: change default driver installation directory 2018-10-27 23:22:12 +02:00