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 5C986A0613 for ; Wed, 28 Aug 2019 10:18:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3AFC31C220; Wed, 28 Aug 2019 10:18:58 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 76DDD1BEDD for ; Mon, 26 Aug 2019 19:53:42 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Aug 2019 10:53:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,433,1559545200"; d="scan'208";a="181449121" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by fmsmga007.fm.intel.com with ESMTP; 26 Aug 2019 10:53:41 -0700 Received: from orsmsx112.amr.corp.intel.com (10.22.240.13) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 26 Aug 2019 10:53:40 -0700 Received: from orsmsx106.amr.corp.intel.com ([169.254.1.16]) by ORSMSX112.amr.corp.intel.com ([169.254.3.89]) with mapi id 14.03.0439.000; Mon, 26 Aug 2019 10:53:40 -0700 From: "Dziggel, Douglas A" To: "Zhang, Qi Z" , "Lu, Wenzhuo" , "Yang, Qiming" CC: "dev@dpdk.org" , "Ye, Xiaolong" , "Stillwell Jr, Paul M" Thread-Topic: [PATCH 61/63] net/ice/base: add GENEVE offset Thread-Index: AQHVW/wVwTm3TeGZBUKCszo5tGnwYqcNtjCQ Date: Mon, 26 Aug 2019 17:53:40 +0000 Message-ID: References: <20190826105105.19121-1-qi.z.zhang@intel.com> <20190826105105.19121-62-qi.z.zhang@intel.com> In-Reply-To: <20190826105105.19121-62-qi.z.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2U1MzQ0N2EtOGI0ZS00NjBlLWI0ODAtZmVjMTJlYzQwMWVlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVGlUdU0xSlBoK2IwWTJkRmxWSENXbzFMTzdjSm16cm45RFZOQ09VUUpOa3lSSVJmQmtmSnJzSjVcL1JlUHFYVUcifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 28 Aug 2019 10:18:57 +0200 Subject: Re: [dpdk-dev] [PATCH 61/63] net/ice/base: add GENEVE offset 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" Looks good, +2 -Doug -----Original Message----- From: Zhang, Qi Z=20 Sent: Monday, August 26, 2019 3:51 AM To: Lu, Wenzhuo ; Yang, Qiming Cc: dev@dpdk.org; Ye, Xiaolong ; Zhang, Qi Z ; Dziggel, Douglas A ; Stillwel= l Jr, Paul M Subject: [PATCH 61/63] net/ice/base: add GENEVE offset Add Geneve offset for tunneled packets to allow dummy packets to be properl= y created. Signed-off-by: Doug Dziggel Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_switch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_s= witch.c index 3ae53d3d8..8f20b9ed6 100644 --- a/drivers/net/ice/base/ice_switch.c +++ b/drivers/net/ice/base/ice_switch.c @@ -156,6 +156,7 @@ struct ice_dummy_pkt_offsets dummy_udp_tun_tcp_packet_o= ffsets[] =3D { { ICE_IPV4_OFOS, 14 }, { ICE_UDP_OF, 34 }, { ICE_VXLAN, 42 }, + { ICE_GENEVE, 42 }, { ICE_MAC_IL, 50 }, { ICE_IPV4_IL, 64 }, { ICE_TCP_IL, 84 }, @@ -207,6 +208,7 @@ struct ice_dummy_pkt_offsets dummy_udp_tun_udp_packet_o= ffsets[] =3D { { ICE_IPV4_OFOS, 14 }, { ICE_UDP_OF, 34 }, { ICE_VXLAN, 42 }, + { ICE_GENEVE, 42 }, { ICE_MAC_IL, 50 }, { ICE_IPV4_IL, 64 }, { ICE_UDP_ILOS, 84 }, -- 2.13.6