vdpa/sfc: get max supported queue count
[dpdk.git] / app / test / test_fib_perf.c
index 573087c..86b2f83 100644 (file)
@@ -35,7 +35,7 @@ struct route_rule {
        uint8_t depth;
 };
 
-struct route_rule large_route_table[MAX_RULE_NUM];
+static struct route_rule large_route_table[MAX_RULE_NUM];
 
 static uint32_t num_route_entries;
 #define NUM_ROUTE_ENTRIES num_route_entries
@@ -323,6 +323,7 @@ test_fib_perf(void)
        struct rte_fib_conf config;
 
        config.max_routes = 2000000;
+       config.rib_ext_sz = 0;
        config.type = RTE_FIB_DIR24_8;
        config.default_nh = 0;
        config.dir24_8.nh_sz = RTE_FIB_DIR24_8_4B;