From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 2186A2986 for ; Wed, 17 May 2017 13:13:12 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 May 2017 04:13:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,354,1491289200"; d="scan'208";a="87878925" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.81]) ([10.237.220.81]) by orsmga002.jf.intel.com with ESMTP; 17 May 2017 04:13:11 -0700 To: John Daley Cc: dev@dpdk.org References: <20170331020622.25498-8-johndale@cisco.com> <20170517030348.2663-1-johndale@cisco.com> <20170517030348.2663-4-johndale@cisco.com> From: Ferruh Yigit Message-ID: <026046f6-5145-e7c8-a00e-b703e81a1d40@intel.com> Date: Wed, 17 May 2017 12:13:09 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170517030348.2663-4-johndale@cisco.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v3 3/6] net/enic: flow API for NICs with advanced filters disabled 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: , X-List-Received-Date: Wed, 17 May 2017 11:13:13 -0000 On 5/17/2017 4:03 AM, John Daley wrote: > Flow support for 1300 series adapters with the 'Advanced Filter' > mode disabled via the UCS management interface. This allows: > Attributes: ingress > Items: Outer eth, ipv4, ipv6, udp, sctp, tcp, vxlan. Inner eth, ipv4, > ipv6, udp, tcp. > Actions: queue and void > Selectors: 'is', 'spec' and 'mask'. 'last' is not supported > > With advanced filters disabled, an IPv4 or IPv6 item must be specified > in the pattern. > > Signed-off-by: John Daley > Reviewed-by: Nelson Escobar <...> > @@ -193,6 +279,10 @@ static const enum rte_flow_action_type enic_supported_actions_v2[] = { > > /** Action capabilites indexed by NIC version information */ > static const struct enic_action_cap enic_action_cap[] = { > + [FILTER_ACTION_RQ_STEERING_FLAG] = { FILTER_ACTION_RQ_STEERING_FLAG doesn't defined anywhere which is causing build error, compiler asks if you mean FILTER_ACTION_RQ_STEERING: drivers/net/enic/enic_flow.c:318:3: error: use of undeclared identifier 'FILTER_ACTION_RQ_STEERING_FLAG'; did you mean 'FILTER_ACTION_RQ_STEERING'?