i40evf: fix link status
authorHelin Zhang <helin.zhang@intel.com>
Tue, 24 Jun 2014 02:02:35 +0000 (10:02 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Jun 2014 11:00:02 +0000 (13:00 +0200)
commit35ccc1b3842f5113f033902c6d11c3fdc1c50a5a
treecd5e0faacf6aa26b58e6b008b6c0ab9a640e4706
parent8e18decc3720686a4c33fedf718a4398ddd2fb45
i40evf: fix link status

Fix a bug of copying wrong size of link information in the
function i40evf_get_link_status().

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
Acked-by: Cunming Liang <cunming.liang@intel.com>
lib/librte_pmd_i40e/i40e_ethdev_vf.c