[dpdk-dev] [PATCH v3 3/6] net/enic: flow API for NICs with advanced filters disabled

Ferruh Yigit ferruh.yigit at intel.com
Wed May 17 13:13:09 CEST 2017


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 <johndale at cisco.com>
> Reviewed-by: Nelson Escobar <neescoba at cisco.com>

<...>

> @@ -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'?


More information about the dev mailing list