]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit947e6334069d25d31fbe569354af85935f1f7522
treee14b8c71fbfc554665bbe6372b7079bdde08e2dc
parenteb6c3389cfa5a7196b9de5fe5932c1a12fcff44e
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