mpipe: return error for init allocation failure
authorRavi Kerur <rkerur@gmail.com>
Wed, 19 Aug 2015 20:00:07 +0000 (13:00 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sat, 24 Oct 2015 17:24:17 +0000 (19:24 +0200)
commite83982c4b37dde36c3d3be9561783cac92396a4a
tree0d265f4553527b3ab347c58196320ef80cb0ec81
parentca743ea84ee1fe59dec991d1ea766e9525675c0c
mpipe: return error for init allocation failure

In function rte_pmd_mpipe_devinit, if rte_eth_dev_allocate
fails return error which is inline with other drivers.

Signed-off-by: Ravi Kerur <rkerur@gmail.com>
Acked-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Acked-by: Zhigang Lu <zlu@ezchip.com>
drivers/net/mpipe/mpipe_tilegx.c