> > Currently, the counter offset support is discovered by creating the rule 
> > with
> > invalid offset counter and drop action in root table. If the rule creation 
> > fails
> > with EINVAL errno, that mean counter offset is not supported in root table.
> > 
> > However, drop action may not be supported in some rdma-core version in
> > root table. In this case, the discover code will not work properly.
> > 
> > This commits changes flow attribute to egress. That removes all the extra
> > fate actions in the flow to avoid any unsupported fate actions make the
> > discover code fail time to time.
> > 
> > Fixes: 994829e695c0 ("net/mlx5: remove single counter container")
> > Cc: [email protected]
> > 
> > Signed-off-by: Suanming Mou <[email protected]>
> Acked-by: Matan Azrad <[email protected]>

Applied in next-net-mlx, thanks.


Reply via email to