net/iavf: fix info get
authorQiming Yang <qiming.yang@intel.com>
Wed, 17 Apr 2019 16:08:34 +0000 (00:08 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:54 +0000 (14:51 +0200)
commite2403c18bf34069b8beb9af8812bb26a554aca45
treecca885719b1c00a31f6281816bacde0f24a75929
parent7ca262b886c71e24a315323fdfa5872b05db0fca
net/iavf: fix info get

iavf driver reset the dev_info structure. This action will clear
the setting in core library. This patch fix that issue.

Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
Cc: stable@dpdk.org
Signed-off-by: Qiming Yang <qiming.yang@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
drivers/net/iavf/iavf_ethdev.c