[dpdk-dev] [PATCH 16/18] net/ixgbe: create consistent filter
Ferruh Yigit
ferruh.yigit at intel.com
Tue Dec 20 18:25:13 CET 2016
On 12/2/2016 10:43 AM, Wei Zhao wrote:
> From: wei zhao1 <wei.zhao1 at intel.com>
>
> This patch adds a function to create the flow directory filter.
>
> Signed-off-by: wei zhao1 <wei.zhao1 at intel.com>
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu at intel.com>
<...>
> +/**
> + * Create or destroy a flow rule.
> + * Theorically one rule can match more than one filters.
> + * We will let it use the filter which it hitt first.
> + * So, the sequence matters.
> + */
> +struct ixgbe_flow *
> +ixgbe_flow_create(struct rte_eth_dev *dev,
> + const struct rte_flow_attr *attr,
> + const struct rte_flow_item pattern[],
> + const struct rte_flow_action actions[],
> + struct rte_flow_error *error)
> +{
> + int ret;
> + struct rte_eth_ntuple_filter ntuple_filter;
<...>
> + error->type = ret;
This also returns same ICC error, there are a few more same usage:
.../drivers/net/ixgbe/ixgbe_ethdev.c(9764): error #188: enumerated type
mixed with another type
error->type = ret;
^
More information about the dev
mailing list