We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69bc752 commit c1ced4dCopy full SHA for c1ced4d
lib/ff_dpdk_if.c
@@ -71,7 +71,7 @@
71
72
int enable_kni = 0;
73
static int kni_accept;
74
-static int knictl_action = FF_KNICTL_ACTION_DEFAULT;
+static enum FF_KNICTL_ACTION knictl_action = FF_KNICTL_ACTION_DEFAULT;
75
#endif
76
int nb_dev_ports = 0; /* primary is correct, secondary is not correct, but no impact now*/
77
@@ -520,7 +520,7 @@ init_msg_ring(void)
520
521
#ifdef FF_KNI
522
523
-static enum FF_KNICTL_CMD get_kni_action(const char *c){
+static enum FF_KNICTL_ACTION get_kni_action(const char *c){
524
if (!c)
525
return FF_KNICTL_ACTION_DEFAULT;
526
if (0 == strcasecmp(c, "alltokni")){
0 commit comments