> -----Original Message-----
> From: Wang, Jie1X <[email protected]>
> Sent: Wednesday, September 7, 2022 1:11 PM
> To: [email protected]
> Cc: Yang, Qiming <[email protected]>; Zhang, Qi Z
> <[email protected]>; Wu, Jingjing <[email protected]>; Xing, Beilei
> <[email protected]>; Yang, SteveX <[email protected]>; Wang, Jie1X
> <[email protected]>
> 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 <[email protected]>
> ---
> 
> +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.

Reply via email to