On 3/20/2020 2:46 AM, alvinx.zh...@intel.com wrote:
> From: Alvin Zhang <alvinx.zh...@intel.com>
> 
> Below type of flows are supported:
> ether-type filter,
> 2-tuple filter,
> SYN filter,
> RSS
> 
> Signed-off-by: Alvin Zhang <alvinx.zh...@intel.com>

<...>

> @@ -852,6 +854,11 @@
>       case RTE_ETH_FILTER_HASH:
>               ret = igc_hash_filter_ctrl(dev, filter_op, arg);
>               break;
> +     case RTE_ETH_FILTER_GENERIC:
> +             if (filter_op != RTE_ETH_FILTER_GET)
> +                     return -EINVAL;
> +             *(const void **)arg = &igc_flow_ops;
> +             break;

This patch implement flow API and can set "Flow API" feature in this patch.
Btw, what filtering is enabled with this flow API is not clear, at least to me,
what do you think adding some documentation for it, and it would be even better
to provide some samples too on how to use them, and document any limitation etc
as well.

Reply via email to