net/ice/base: update flag bits
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:36:24 +0000 (10:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:53 +0000 (15:00 +0200)
Currently the VLAN ice_flg64_bits are off by 1. Fix this by
setting the ICE_FLG_EVLAN_x8100 flag to 14, which also updates
ICE_FLG_EVLAN_x9100 to 15 and ICE_FLG_VLAN_x8100 to 16.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/base/ice_lan_tx_rx.h

index e1c2f0d..e77d4bf 100644 (file)
@@ -737,7 +737,7 @@ enum ice_flg64_bits {
        ICE_FLG_PKT_DSI         = 0,
        /* If there is a 1 in this bit position then that means Rx packet */
        ICE_FLG_PKT_DIR         = 4,
-       ICE_FLG_EVLAN_x8100     = 15,
+       ICE_FLG_EVLAN_x8100     = 14,
        ICE_FLG_EVLAN_x9100,
        ICE_FLG_VLAN_x8100,
        ICE_FLG_TNL_MAC         = 22,