> -----Original Message-----
> From: Wang, Jie1X <jie1x.w...@intel.com>
> Sent: Wednesday, September 7, 2022 1:11 PM
> To: dev@dpdk.org
> Cc: Yang, Qiming <qiming.y...@intel.com>; Zhang, Qi Z
> <qi.z.zh...@intel.com>; Wu, Jingjing <jingjing...@intel.com>; Xing, Beilei
> <beilei.x...@intel.com>; Yang, SteveX <stevex.y...@intel.com>; Wang, Jie1X
> <jie1x.w...@intel.com>
> Subject: [PATCH v5 3/5] net/iavf: support flow subscrption pattern
>
> Add flow subscription pattern support for AVF.
>
> The supported patterns are listed below:
> eth/vlan/ipv4
> eth/ipv4(6)
> eth/ipv4(6)/udp
> eth/ipv4(6)/tcp
>
> Signed-off-by: Jie Wang <jie1x.w...@intel.com>
> ---
>
> +static int
> +iavf_fsub_check_action(const struct rte_flow_action *actions,
> + struct rte_flow_error *error)
> +{
> + const struct rte_flow_action *action;
> + enum rte_flow_action_type action_type;
> + uint16_t actions_num = 0;
> + bool vf_valid = false;
> + bool queue_valid = false;
> +
> + for (action = actions; action->type !=
> + RTE_FLOW_ACTION_TYPE_END; action++) {
> + action_type = action->type;
> + switch (action_type) {
> + case RTE_FLOW_ACTION_TYPE_PORT_REPRESENTOR:
Need to sync the document in iavf.ini
[rte_flow actions]
....
port_representor = Y
will be fixed during code merge.