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 81D99A0524; Mon, 27 Jul 2020 05:53:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 30BAF1C0B9; Mon, 27 Jul 2020 05:53:26 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 54CEE1C0B4 for ; Mon, 27 Jul 2020 05:53:24 +0200 (CEST) IronPort-SDR: RINva+1MgAB7vK7fQP3qqYttYnGGiptmUm2iGfMWQR/z80r2RT0dtkCpEm0Y+pTTq3YFVoB09m 0+ImAUEWj/kA== X-IronPort-AV: E=McAfee;i="6000,8403,9694"; a="148833966" X-IronPort-AV: E=Sophos;i="5.75,401,1589266800"; d="scan'208";a="148833966" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2020 20:53:23 -0700 IronPort-SDR: QGYZcBHNsO6L/aW0qKpa6yUoAuFWK+hubt/7ug8Jin6qKP5i302MJ/03xkK8E9JppSy7/c2DGy 377pn4u+tQMA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,401,1589266800"; d="scan'208";a="327889908" Received: from jguo15x-mobl.ccr.corp.intel.com (HELO [10.67.68.176]) ([10.67.68.176]) by FMSMGA003.fm.intel.com with ESMTP; 26 Jul 2020 20:53:21 -0700 To: Guinan Sun , dev@dpdk.org Cc: Beilei Xing , Harshitha Ramamurthy References: <20200721074000.30449-1-guinanx.sun@intel.com> <20200721074000.30449-4-guinanx.sun@intel.com> From: Jeff Guo Message-ID: <30c383c8-1aee-dd34-4fdf-ba5f677d7613@intel.com> Date: Mon, 27 Jul 2020 11:53:20 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200721074000.30449-4-guinanx.sun@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH 3/8] net/i40e/base: enable new custom cloud filters 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" hi, guinan This patch is just define some new types but not enable a feature, could the title to be "add new custom cloud filters types", is it better and could eliminate some confuse? On 7/21/2020 3:39 PM, Guinan Sun wrote: > This patch adds the new filter types needed for custom cloud filters. > These custom cloud filters will route traffic to VFs based on the > dst IP for both tunneled and non-tunneled packets. > > Signed-off-by: Harshitha Ramamurthy > Signed-off-by: Guinan Sun > --- > drivers/net/i40e/base/i40e_adminq_cmd.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h b/drivers/net/i40e/base/i40e_adminq_cmd.h > index f790183be..21f544840 100644 > --- a/drivers/net/i40e/base/i40e_adminq_cmd.h > +++ b/drivers/net/i40e/base/i40e_adminq_cmd.h > @@ -1406,6 +1406,8 @@ struct i40e_aqc_cloud_filters_element_data { > #define I40E_AQC_ADD_CLOUD_FILTER_IMAC 0x000A > #define I40E_AQC_ADD_CLOUD_FILTER_OMAC_TEN_ID_IMAC 0x000B > #define I40E_AQC_ADD_CLOUD_FILTER_IIP 0x000C > +#define I40E_AQC_ADD_CLOUD_FILTER_OIP1 0x0010 > +#define I40E_AQC_ADD_CLOUD_FILTER_OIP2 0x0012 > /* 0x000D reserved */ > /* 0x000E reserved */ > /* 0x000F reserved */