Re: [dpdk-dev] [PATCH 1/2] net/mlx5: support maximum id in id allocate

2020-01-26 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Suanming Mou > Sent: Thursday, January 23, 2020 8:01 AM > To: Matan Azrad ; Shahaf Shuler > ; Slava Ovsiienko > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 1/2] net/mlx5: support maximum id in id allocate > &

[dpdk-dev] [PATCH 1/2] net/mlx5: support maximum id in id allocate

2020-01-22 Thread Suanming Mou
The id allocated is for the register unique id match. Some registers may not use the full 32 bits. Add the maximum id to avoid allocate id over the register restriction. Signed-off-by: Suanming Mou Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5.c | 12 drivers/net/ml