net/fm10k/base: use different name for override bit
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 8 Mar 2017 06:18:56 +0000 (01:18 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 13:52:52 +0000 (15:52 +0200)
commit99cb088c1ee453df184b57b0ef978c48466c5c63
treef5fd00d33a8a38d9a0d2550ce6ed992a9e26d541
parent65afffe6e3853f68673d5ca22d13b28c0ce384bb
net/fm10k/base: use different name 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: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/fm10k/base/fm10k_pf.c
drivers/net/fm10k/base/fm10k_type.h
drivers/net/fm10k/base/fm10k_vf.c