net/i40e: do not reset device info data
authorDamjan Marion <damarion@cisco.com>
Wed, 6 Jun 2018 20:31:25 +0000 (22:31 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Jul 2018 23:35:58 +0000 (01:35 +0200)
commit2a4ed72338d7030ce1bbb0cee8aa213cdae6b54c
treec4f618ccadc2aea73a911e651faa15e190f7ecef
parentbfeed0262b0c2f1f7b73645dcd17b436f4f5ed5b
net/i40e: do not reset device info data

At this point valid data is already set by rte_eth_get_device_info.
device field becomes zero and consumer is not able to retrieve pci data.

Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: stable@dpdk.org
Signed-off-by: Damjan Marion <damarion@cisco.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c