@@ -641,7 +641,7 @@ int parse_interface_with_flags(const char* s, int* ifindex_out,
641641 ef_driver_handle driver_handle )
642642{
643643 char * flags , ifname [IF_NAMESIZE ];
644- bool requested_llct = false;
644+ bool requested_express = false;
645645 unsigned long cap ;
646646 int rc ;
647647
@@ -662,17 +662,17 @@ int parse_interface_with_flags(const char* s, int* ifindex_out,
662662 if ( ! parse_interface (ifname , ifindex_out ) )
663663 return 0 ;
664664
665- #define FLAG_DP_LLCT "llct "
666- #define FLAG_DP_FF "ff "
665+ #define FLAG_DP_EXPRESS "express "
666+ #define FLAG_DP_ENTERPRISE "enterprise "
667667#define FLAG_PHYS_MODE "phys"
668668 for ( ; flags ; flags = strchr (flags , ',' ) ) {
669669 flags ++ ;
670- if ( flag_token_eq (FLAG_DP_LLCT , flags , strlen (FLAG_DP_LLCT )) ) {
670+ if ( flag_token_eq (FLAG_DP_EXPRESS , flags , strlen (FLAG_DP_EXPRESS )) ) {
671671 * pd_flags_out |= EF_PD_EXPRESS ;
672- requested_llct = true;
673- } else if ( flag_token_eq (FLAG_DP_FF , flags , strlen (FLAG_DP_FF )) ) {
672+ requested_express = true;
673+ } else if ( flag_token_eq (FLAG_DP_ENTERPRISE , flags , strlen (FLAG_DP_ENTERPRISE )) ) {
674674 * pd_flags_out &= ~EF_PD_EXPRESS ;
675- requested_llct = false;
675+ requested_express = false;
676676 } else if ( flag_token_eq (FLAG_PHYS_MODE , flags , strlen (FLAG_PHYS_MODE )) ) {
677677 * pd_flags_out |= EF_PD_PHYS_MODE ;
678678 } else {
@@ -686,9 +686,9 @@ int parse_interface_with_flags(const char* s, int* ifindex_out,
686686 EF_VI_CAP_EXTRA_DATAPATHS , & cap );
687687 if ( rc != 0 || ! ( cap & EF_VI_EXTRA_DATAPATH_EXPRESS ) ) {
688688 * pd_flags_out &= ~EF_PD_EXPRESS ;
689- if ( requested_llct )
689+ if ( requested_express )
690690 fprintf (stderr ,
691- "WARNING: interface %s is not multi-arch, ignoring llct flag\n" ,
691+ "WARNING: interface %s is not multi-arch, ignoring express flag\n" ,
692692 ifname );
693693 }
694694
0 commit comments