From e8406591c3dc7fcecc3f5007b58757df52c232e0 Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Fri, 18 Sep 2020 12:59:44 +0800 Subject: [PATCH] net/ice/base: modify ptype bitmap for outer MAC Add below ptypes into ice_ptypes_mac_ofos: MAC_IPV4[6]_ESP MAC_IPV4[6]_AH MAC_IPV4[6]_NAT_T_ESP MAC_IPV4[6]_NAT_T_IKE MAC_IPV4[6]_NAT_T_KEEP MAC_IPV4[6]_PFCP_NODE MAC_IPV4[6]_PFCP_SESSION MAC_IPV4[6]_L2TPV3 So above ptype can also be selected by a filter when outer mac header is required. Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_flow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/base/ice_flow.c b/drivers/net/ice/base/ice_flow.c index 601ca251d3..45990aeca0 100644 --- a/drivers/net/ice/base/ice_flow.c +++ b/drivers/net/ice/base/ice_flow.c @@ -197,8 +197,8 @@ struct ice_flow_field_info ice_flds_info[ICE_FLOW_FIELD_IDX_MAX] = { */ static const u32 ice_ptypes_mac_ofos[] = { 0xFDC00846, 0xBFBF7F7E, 0xF70001DF, 0xFEFDFDFB, - 0x0000077E, 0x00000000, 0x00000000, 0x00000000, - 0x00400000, 0x03FFF000, 0x7FFFFFE0, 0x00000000, + 0x0000077E, 0x000003FF, 0x00000000, 0x00000000, + 0x00400000, 0x03FFF000, 0xFFFFFFE0, 0x00000307, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, -- 2.20.1