net/avf: fix traffic blocked on reset
authorXiaoyun Li <xiaoyun.li@intel.com>
Thu, 17 May 2018 11:24:14 +0000 (19:24 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 17 May 2018 17:06:29 +0000 (19:06 +0200)
commitf59917c840f0077406d393f0a4fb73fb977aee19
tree6d4ec3e94254a18ad4557ba9b726b33f84cce021
parent874f79102d2a15dd50293082842006fbc06572c7
net/avf: fix traffic blocked on reset

When resetting ports, traffic will be blocked. There is a mistake when
getting hw info at avf_dev_stop. This causes the device stop without
stopping queues. This patch fixes this issue.

Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
Cc: stable@dpdk.org
Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/avf/avf_ethdev.c