X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=app%2Ftest-pmd%2Fparameters.c;h=e3499cd400e28516c9c2046c92cd016a85d64a70;hb=8ea656f8c300175ac84f3cbe1117f5ef11ffc4eb;hp=2852fa23990012f9299f299f3640b07cc9f350b9;hpb=76ad4a2d82d4d72c3a7ed4675d77268b5fae3cc9;p=dpdk.git diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index 2852fa2399..e3499cd400 100644 --- a/app/test-pmd/parameters.c +++ b/app/test-pmd/parameters.c @@ -200,6 +200,7 @@ usage(char* progname) " or total packet length.\n"); printf(" --disable-link-check: disable check on link status when " "starting/stopping ports.\n"); + printf(" --no-lsc-interrupt: disable link status change interrupt.\n"); } #ifdef RTE_LIBRTE_CMDLINE @@ -568,6 +569,7 @@ launch_args_parse(int argc, char** argv) { "no-flush-rx", 0, 0, 0 }, { "txpkts", 1, 0, 0 }, { "disable-link-check", 0, 0, 0 }, + { "no-lsc-interrupt", 0, 0, 0 }, { 0, 0, 0, 0 }, }; @@ -998,6 +1000,8 @@ launch_args_parse(int argc, char** argv) no_flush_rx = 1; if (!strcmp(lgopts[opt_idx].name, "disable-link-check")) no_link_check = 1; + if (!strcmp(lgopts[opt_idx].name, "no-lsc-interrupt")) + lsc_interrupt = 0; break; case 'h':