net/ice/base: cleanup filter list on error
[dpdk.git] / drivers / common / mlx5 / mlx5_common_pci.c
index 02417c6..2b65768 100644 (file)
@@ -28,14 +28,21 @@ static const struct {
        { .name = "vdpa", .driver_class = MLX5_CLASS_VDPA },
        { .name = "net", .driver_class = MLX5_CLASS_NET },
        { .name = "regex", .driver_class = MLX5_CLASS_REGEX },
+       { .name = "compress", .driver_class = MLX5_CLASS_COMPRESS },
 };
 
 static const unsigned int mlx5_class_combinations[] = {
        MLX5_CLASS_NET,
        MLX5_CLASS_VDPA,
        MLX5_CLASS_REGEX,
+       MLX5_CLASS_COMPRESS,
        MLX5_CLASS_NET | MLX5_CLASS_REGEX,
        MLX5_CLASS_VDPA | MLX5_CLASS_REGEX,
+       MLX5_CLASS_NET | MLX5_CLASS_COMPRESS,
+       MLX5_CLASS_VDPA | MLX5_CLASS_COMPRESS,
+       MLX5_CLASS_REGEX | MLX5_CLASS_COMPRESS,
+       MLX5_CLASS_NET | MLX5_CLASS_REGEX | MLX5_CLASS_COMPRESS,
+       MLX5_CLASS_VDPA | MLX5_CLASS_REGEX | MLX5_CLASS_COMPRESS,
        /* New class combination should be added here. */
 };
 
@@ -408,7 +415,7 @@ static struct rte_pci_id *mlx5_pci_id_table;
 
 static struct rte_pci_driver mlx5_pci_driver = {
        .driver = {
-               .name = "mlx5_pci",
+               .name = MLX5_DRIVER_NAME,
        },
        .probe = mlx5_common_pci_probe,
        .remove = mlx5_common_pci_remove,