i40e: Define and use i40e_is_vf macro
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Tue, 11 Nov 2014 20:06:58 +0000 (20:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 6 Dec 2014 12:00:24 +0000 (04:00 -0800)
commite7f2e4b94ce31d212f0fb3d688961af591ac7d53
treeec336e6996be74dfaa8b3156ffe28d8ef2e1e3b1
parent09f7efabd58058e0b2496155b469e06d80267547
i40e: Define and use i40e_is_vf macro

This patch is useful for future expansion when new VF MAC types get
added. It helps with cleaning up VF driver flow.

Change-ID: Ibe1eeb71262a3a40f24a1c5409436bdc3411da7f
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Acked-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_adminq.c
drivers/net/ethernet/intel/i40e/i40e_type.h
drivers/net/ethernet/intel/i40evf/i40e_adminq.c
drivers/net/ethernet/intel/i40evf/i40e_type.h