Re: [dpdk-dev] [RFC PATCH 2/6] common/mlx5: use class enable check helper function

2020-06-15 Thread Gaƫtan Rivet
On 10/06/20 17:17 +, Parav Pandit wrote: > Currently mlx5_class_get() returns enabled single valid class. > To support multiple class and to improve readability of code, change it > to mlx5_class_enabled(). > With this function, each class enablement can be checked, to load class > specific dri

[dpdk-dev] [RFC PATCH 2/6] common/mlx5: use class enable check helper function

2020-06-10 Thread Parav Pandit
Currently mlx5_class_get() returns enabled single valid class. To support multiple class and to improve readability of code, change it to mlx5_class_enabled(). With this function, each class enablement can be checked, to load class specific driver. Signed-off-by: Parav Pandit --- drivers/common/