From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 787BCA0561; Mon, 20 Apr 2020 07:16:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 448D11C223; Mon, 20 Apr 2020 07:16:37 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 7B83D1C21A for ; Mon, 20 Apr 2020 07:16:35 +0200 (CEST) IronPort-SDR: RRQ38lP1CXmb+7szGzktGW85O1AG1yxJYnSAIVEGPDHhIoGg/fhwqQPk+Y9Bqz9cHiYoCNTb8/ VED8RdENLlmQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2020 22:16:34 -0700 IronPort-SDR: +ftgY6JY1CgauUuki4l8jVC5Zqr3ST+AimljB8lW16KJ24PnNdrSeX56Yby5fOqfCTOlgtHenf cC8oDRsh+37A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,405,1580803200"; d="scan'208";a="254827961" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 19 Apr 2020 22:16:34 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Apr 2020 22:16:33 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Apr 2020 22:16:33 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.146]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.89]) with mapi id 14.03.0439.000; Mon, 20 Apr 2020 13:16:30 +0800 From: "Zhang, Qi Z" To: "Zhao1, Wei" , "dev@dpdk.org" CC: "Fu, Qi" Thread-Topic: [PATCH 3/3] net/ice: add flow support for AH ESP and L2TP Thread-Index: AQHWFJUFv1f/oYvdMEmNEQTQJcmDuqiBe+Vw Date: Mon, 20 Apr 2020 05:16:30 +0000 Message-ID: <039ED4275CED7440929022BC67E70611547FDAEA@SHSMSX103.ccr.corp.intel.com> References: <20200417082617.33361-1-wei.zhao1@intel.com> <20200417082617.33361-4-wei.zhao1@intel.com> In-Reply-To: <20200417082617.33361-4-wei.zhao1@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 3/3] net/ice: add flow support for AH ESP and L2TP X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Zhao1, Wei > Sent: Friday, April 17, 2020 4:26 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Fu, Qi ; Zhao1, > Wei > Subject: [PATCH 3/3] net/ice: add flow support for AH ESP and L2TP >=20 > Add switch filter support for AH ESP and L2TP protocol, and use spi or > session idas input set for switch rule. >=20 > Signed-off-by: Wei Zhao > --- ..... > struct sw_meta { > struct ice_adv_lkup_elem *list; > @@ -148,16 +166,24 @@ ice_pattern_match_item > ice_switch_pattern_dist_comms[] =3D { > ICE_SW_INSET_MAC_PPPOE_PROTO, ICE_INSET_NONE}, > {pattern_eth_vlan_pppoes_proto, > ICE_SW_INSET_MAC_PPPOE_PROTO, ICE_INSET_NONE}, > + {pattern_eth_ipv4_esp, > + ICE_SW_INSET_MAC_IPV4_ESP, ICE_INSET_NONE}, > + {pattern_eth_ipv4_udp_esp, > + ICE_SW_INSET_MAC_IPV6_ESP, ICE_INSET_NONE}, Why IPv6 input be used by IPv4 flow? Just typo? > {pattern_eth_ipv6_esp, > - ICE_INSET_NONE, ICE_INSET_NONE}, > + ICE_SW_INSET_MAC_IPV4_ESP, ICE_INSET_NONE}, Same issue.