net/cnxk: support raw flow pattern
[dpdk.git] / drivers / net / cnxk / cnxk_ethdev_devargs.c
index 7f20e92..37720fb 100644 (file)
@@ -99,6 +99,13 @@ parse_switch_header_type(const char *key, const char *value, void *extra_args)
 
        if (strcmp(value, "chlen90b") == 0)
                *(uint16_t *)extra_args = ROC_PRIV_FLAGS_LEN_90B;
+
+       if (strcmp(value, "exdsa") == 0)
+               *(uint16_t *)extra_args = ROC_PRIV_FLAGS_EXDSA;
+
+       if (strcmp(value, "vlan_exdsa") == 0)
+               *(uint16_t *)extra_args = ROC_PRIV_FLAGS_VLAN_EXDSA;
+
        return 0;
 }