ethdev: reset whole dev info structure before filling
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 1 Oct 2014 09:49:03 +0000 (10:49 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 10 Oct 2014 10:47:05 +0000 (12:47 +0200)
commita30268e9a2d0618902e8cf96b90b27db4fb02d54
treeda0fc022a56c742885d2890581f8a5d76eaccf12
parentdd6303b2305048144ab57fa1485c342a6fa594ca
ethdev: reset whole dev info structure before filling

To guarantee that RX/TX configuration structures are reseted
before modifying them, plus the other dev info fields,
dev info structure is zeroed beforehand.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_ether/rte_ethdev.c