From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C6BC9A0547; Thu, 28 Oct 2021 13:47:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F26241100; Thu, 28 Oct 2021 13:47:14 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 3CF7540DF4 for ; Thu, 28 Oct 2021 13:47:13 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10150"; a="227841525" X-IronPort-AV: E=Sophos;i="5.87,189,1631602800"; d="scan'208";a="227841525" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 04:46:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,189,1631602800"; d="scan'208";a="529987314" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga001.jf.intel.com with ESMTP; 28 Oct 2021 04:46:56 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 28 Oct 2021 04:46:55 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 28 Oct 2021 19:46:53 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2242.012; Thu, 28 Oct 2021 19:46:53 +0800 From: "Zhang, Qi Z" To: "Guo, Junfeng" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "Yigit, Ferruh" , "Xu, Ting" Thread-Topic: [PATCH v7 3/4] app/testpmd: update Max RAW pattern size to 512 Thread-Index: AQHXy9w3dyb/Syx4Aky0mT0f/2/OqKvoSyjw Date: Thu, 28 Oct 2021 11:46:53 +0000 Message-ID: <666b1da4a8354720b332f14ea24e3695@intel.com> References: <20211028083416.1490834-5-junfeng.guo@intel.com> <20211028091346.1674650-1-junfeng.guo@intel.com> <20211028091346.1674650-4-junfeng.guo@intel.com> In-Reply-To: <20211028091346.1674650-4-junfeng.guo@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v7 3/4] app/testpmd: update Max RAW pattern size to 512 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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: Guo, Junfeng > Sent: Thursday, October 28, 2021 5:14 PM > To: Zhang, Qi Z ; Wu, Jingjing ; > Xing, Beilei > Cc: dev@dpdk.org; Yigit, Ferruh ; Xu, Ting > ; Guo, Junfeng > Subject: [PATCH v7 3/4] app/testpmd: update Max RAW pattern size to 512 >=20 > Update max size for pattern in struct rte_flow_item_raw to enable protoco= l > agnostic flow offloading. >=20 > Signed-off-by: Junfeng Guo Reviewed-by: Qi Zhang > --- > app/test-pmd/cmdline_flow.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c in= dex > d8218771fb..ef24710bd8 100644 > --- a/app/test-pmd/cmdline_flow.c > +++ b/app/test-pmd/cmdline_flow.c > @@ -495,7 +495,7 @@ enum index { > }; >=20 > /** Maximum size for pattern in struct rte_flow_item_raw. */ -#define > ITEM_RAW_PATTERN_SIZE 40 > +#define ITEM_RAW_PATTERN_SIZE 512 >=20 > /** Maximum size for GENEVE option data pattern in bytes. */ #define > ITEM_GENEVE_OPT_DATA_SIZE 124 > -- > 2.25.1