Re: [dpdk-dev] [PATCH] net/mlx5: fix counter offset detection

2021-05-13 Thread Thomas Monjalon
> > 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 s

Re: [dpdk-dev] [PATCH] net/mlx5: fix counter offset detection

2021-05-13 Thread Matan Azrad
From: Suanming Mou > 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

[dpdk-dev] [PATCH] net/mlx5: fix counter offset detection

2021-05-13 Thread Suanming Mou
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 ver