Re: [dpdk-dev] [PATCH] net/mlx5: fix meter color register consideration

2020-05-11 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Michael Baum > Sent: Wednesday, May 6, 2020 7:24 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Slava Ovsiienko > ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix meter color register consideration > &g

[dpdk-dev] [PATCH] net/mlx5: fix meter color register consideration

2020-05-06 Thread Michael Baum
The mlx5_flow_get_reg_id() function translates tag ID to register from the registers that are supported and available for use. The user does not know which register is available at a time and therefore there is an array that represents mapping to the available registers. Usually the free registers