OSDN Git Service

net/mlx5: Use helpers to allocate and free rl table entries
authorParav Pandit <parav@nvidia.com>
Fri, 19 Feb 2021 07:29:56 +0000 (09:29 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 2 Apr 2021 23:13:05 +0000 (16:13 -0700)
commit51ccc9f5f106caf293230e10dcd494a4e33cc68e
treee14b8c71fbfc554665bbe6372b7079bdde08e2dc
parent16e74672a21b95ebc6fb42420d9a8b91b7e947b0
net/mlx5: Use helpers to allocate and free rl table entries

User helper routines to allocate and free rate limit table entries.
Subsequent patch extends use of these helpers to do allocation
during rate entry allocation callback.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/rl.c