[dpdk-dev] [PATCH v2 16/18] net/ixgbe: create consistent filter
Ferruh Yigit
ferruh.yigit at intel.com
Fri Jan 6 18:26:32 CET 2017
On 12/30/2016 7:53 AM, Wei Zhao wrote:
> This patch adds a function to create the flow directory filter.
>
> Signed-off-by: Wei Zhao <wei.zhao1 at intel.com>
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu at intel.com>
>
> ---
>
> v2:
> --add new error set function
> ---
<...>
>
> +struct ixgbe_flow {
> + enum rte_filter_type filter_type;
> + void *rule;
> +};
It is possible to rename this struct to rte_flow, to prevent casting.
Although functionally there is no difference.
> +
> /*
> * Structure to store private data for each driver instance (for each port).
> */
>
More information about the dev
mailing list