net/bnxt: fix scalar Rx datapath on Thor
[dpdk.git] / app / test-fib / main.c
index 9e6a4f2..ecd4201 100644 (file)
@@ -629,10 +629,10 @@ print_usage(void)
                "[-s <shuffle randomly generated routes>]\n"
                "[-a <check nexthops for all ipv4 address space"
                "(only valid with -c)>]\n"
-               "[-b <fib algorithm>]\n\tavailible options for ipv4\n"
+               "[-b <fib algorithm>]\n\tavailable options for ipv4\n"
                "\t\trib - RIB based FIB\n"
                "\t\tdir - DIR24_8 based FIB\n"
-               "\tavailible options for ipv6:\n"
+               "\tavailable options for ipv6:\n"
                "\t\trib - RIB based FIB\n"
                "\t\ttrie - TRIE based FIB\n"
                "defaults are: dir for ipv4 and trie for ipv6\n"
@@ -857,6 +857,7 @@ run_v4(void)
        conf.type = get_fib_type();
        conf.default_nh = def_nh;
        conf.max_routes = config.nb_routes * 2;
+       conf.rib_ext_sz = 0;
        if (conf.type == RTE_FIB_DIR24_8) {
                conf.dir24_8.nh_sz = __builtin_ctz(config.ent_sz);
                conf.dir24_8.num_tbl8 = RTE_MIN(config.tbl8,
@@ -1057,6 +1058,7 @@ run_v6(void)
        conf.type = get_fib_type();
        conf.default_nh = def_nh;
        conf.max_routes = config.nb_routes * 2;
+       conf.rib_ext_sz = 0;
        if (conf.type == RTE_FIB6_TRIE) {
                conf.trie.nh_sz = __builtin_ctz(config.ent_sz);
                conf.trie.num_tbl8 = RTE_MIN(config.tbl8,