On 7/15/2017 6:57 PM, Gaetan Rivet wrote:
> Signed-off-by: Gaetan Rivet <gaetan.ri...@6wind.com>
> Acked-by: Olga Shern <ol...@mellanox.com>

<...>

> +
> +     flow = fs_flow_allocate(attr, patterns, actions);
> +     FOREACH_SUBDEV_ST(sdev, i, dev, DEV_ACTIVE) {
> +             flow->flows[i] = rte_flow_create(PORT_ID(sdev),
> +                             attr, patterns, actions, error);

Should SUB_ID(sdev) used here? And in related functions.
flow->flows[SUB_ID(sdev)] = ...

> +             if (flow->flows[i] == NULL) {
> +                     ERROR("Failed to create flow on sub_device %d",
> +                             i);
> +                     goto err;
> +             }
<...>

Reply via email to