net/i40e: rework port check for driver-specific API
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Wed, 8 Feb 2017 14:28:12 +0000 (14:28 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Feb 2017 11:25:49 +0000 (12:25 +0100)
commitae955b2bcffb27a7cbccb4c585068d9ed36a5d6a
tree0a76542f7699fd7e1bd645466a505c25314f17db
parentbbb2b5d9fe772c43faa5bf73d64f1c8208fa8752
net/i40e: rework port check for driver-specific API

Change is_i40e_pmd to is_device_supported to make it more generic.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/i40e/i40e_ethdev.c