net/mlx5: support maximum flow id allocation
authorSuanming Mou <suanmingm@mellanox.com>
Thu, 23 Jan 2020 06:01:01 +0000 (08:01 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:20 +0000 (09:51 +0100)
commit30a3687d99f17fa821a7aa933b5c738bf6885c30
treef70d275e195664bbca34f207d0fa33303d31ebd4
parent0e2ceb639d8a32b7221d5fd2acba8a3798cb35d0
net/mlx5: support maximum flow id allocation

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 <suanmingm@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.h