net/ixgbe: fix API parameter checking
authorBernard Iremonger <bernard.iremonger@intel.com>
Wed, 11 Jan 2017 17:24:59 +0000 (17:24 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:41:42 +0000 (19:41 +0100)
commit21e5e138cd94b52b85ce8599d19bd261c9780832
tree5923fab3446a6aedcafd019978eb9ffcc0ebc4cf
parent9d0fe07b4ecbd8ab94df3f44713819fd8d359aa5
net/ixgbe: fix API parameter checking

Add checks to rte_pmd_ixgbe_* API's to ensure that the port
is an ixgbe port.

Fixes: 49e248223e9f ("net/ixgbe: add API for VF management")

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c