ipc: end multiprocess thread during cleanup
[dpdk.git] / lib / fib / rte_fib6.c
index 44cc0c9..eebee29 100644 (file)
@@ -40,10 +40,10 @@ EAL_REGISTER_TAILQ(rte_fib6_tailq)
 struct rte_fib6 {
        char                    name[FIB6_NAMESIZE];
        enum rte_fib6_type      type;   /**< Type of FIB struct */
-       struct rte_rib6         *rib;   /**< RIB helper datastruct */
+       struct rte_rib6         *rib;   /**< RIB helper datastructure */
        void                    *dp;    /**< pointer to the dataplane struct*/
-       rte_fib6_lookup_fn_t    lookup; /**< fib lookup function */
-       rte_fib6_modify_fn_t    modify; /**< modify fib datastruct */
+       rte_fib6_lookup_fn_t    lookup; /**< FIB lookup function */
+       rte_fib6_modify_fn_t    modify; /**< modify FIB datastructure */
        uint64_t                def_nh;
 };
 
@@ -165,7 +165,7 @@ rte_fib6_create(const char *name, int socket_id, struct rte_fib6_conf *conf)
                return NULL;
        }
 
-       rib_conf.ext_sz = 0;
+       rib_conf.ext_sz = conf->rib_ext_sz;
        rib_conf.max_nodes = conf->max_routes * 2;
 
        rib = rte_rib6_create(name, socket_id, &rib_conf);