ethdev: fix data reset when allocating port
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Fri, 20 Jan 2017 08:04:53 +0000 (16:04 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 20 Jan 2017 18:03:57 +0000 (19:03 +0100)
commit61207d014fc906302a184ae2f779b54ccfd0cd4c
tree53761452983cac6fa71583e57c10c7ae94d92dc1
parentb0120a300b10e0f5ee84c304337c7cf82359b8ec
ethdev: fix data reset when allocating port

Fix an silly error by auto-complete while managing the merge conflicts.
It's the eth_dev_data (but not eth_dev) entry should be memset.

Fixes: d948f596fee2 ("ethdev: fix port data mismatched in multiple process model")

Reported-by: Ferruh Yigit <ferruh.yigit@intel.com>
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
lib/librte_ether/rte_ethdev.c