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 A57E9A0524; Mon, 27 Jul 2020 08:43:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DC5821BFE8; Mon, 27 Jul 2020 08:43:05 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 414071BFD9 for ; Mon, 27 Jul 2020 08:43:04 +0200 (CEST) IronPort-SDR: iZKrwCuhn0dGfjBaDbP+QO9H5eEIs6XsnZ2C2SuyZlG1DmZV0hGOiRjJ1RnozqtXLlM3A1mf/t gUCJPf0VP0VQ== X-IronPort-AV: E=McAfee;i="6000,8403,9694"; a="138475115" X-IronPort-AV: E=Sophos;i="5.75,401,1589266800"; d="scan'208";a="138475115" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2020 23:43:03 -0700 IronPort-SDR: O/NFK4n1zC7gpo3R0LW8ymxVDpt8NT0/w+n9b2sTPUKodc/dGrgDRf/wsQSEukCdCDmxq/2Sy7 kz+2OtcDnWRw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,401,1589266800"; d="scan'208";a="327919025" 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 23:43:01 -0700 To: Guinan Sun , dev@dpdk.org Cc: Beilei Xing , Harshitha Ramamurthy References: <20200721074000.30449-1-guinanx.sun@intel.com> <20200727053451.22214-1-guinanx.sun@intel.com> <20200727053451.22214-4-guinanx.sun@intel.com> From: Jeff Guo Message-ID: <61791f03-98d3-28a2-2051-369298b59adf@intel.com> Date: Mon, 27 Jul 2020 14:43:00 +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: <20200727053451.22214-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 v2 3/8] net/i40e/base: add new custom cloud filter types 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" Acked-by: Jeff Guo On 7/27/2020 1:34 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 > --- > V2: > * Modify the title. > --- > 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 */