fm10k: use different name than FM10K_VLAN_CLEAR for override bit
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 1 Apr 2016 23:17:37 +0000 (16:17 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 21 Apr 2016 06:07:32 +0000 (23:07 -0700)
commit5c69df8a33408c82ac633c521be0acf71a690d43
tree6834b9607aa85fdf85eeec3d678e8436dd1ce79e
parentd057d9a9446636293b4884d1a0da6ad5a7ef4e13
fm10k: use different name than FM10K_VLAN_CLEAR for override bit

Use a new #define FM10K_VLAN_OVERRIDE even though we're using the exact
same bit. The reason for this is clarity in the code, otherwise you can
read FM10K_VLAN_CLEAR and think it should be removed. Also add a comment
explaining why the FM10K_VLAN_OVERRIDE bit is set.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_pf.c
drivers/net/ethernet/intel/fm10k/fm10k_type.h
drivers/net/ethernet/intel/fm10k/fm10k_vf.c