]> git.droids-corp.org - dpdk.git/blobdiff - drivers/vdpa/mlx5/mlx5_vdpa.c
net/mlx5: fix meter policy flow match item
[dpdk.git] / drivers / vdpa / mlx5 / mlx5_vdpa.c
index e5e03e65821b6ba19bf282f69a7e57087894f0d2..8b5bfd8c3d7f9f8ac0a21080e2762e4bb0526bdf 100644 (file)
@@ -588,7 +588,7 @@ mlx5_vdpa_args_check_handler(const char *key, const char *val, void *opaque)
        unsigned long tmp;
        int n_cores = sysconf(_SC_NPROCESSORS_ONLN);
 
-       if (strcmp(key, "class") == 0)
+       if (strcmp(key, RTE_DEVARGS_KEY_CLASS) == 0)
                return 0;
        errno = 0;
        tmp = strtoul(val, NULL, 0);