net/bnxt: support TruFlow core table scope
[dpdk.git] / drivers / net / bnxt / tf_core / tf_core.c
index 39f4a11..f04a9b1 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "tf_core.h"
 #include "tf_session.h"
+#include "tf_tbl.h"
 #include "tf_rm.h"
 #include "tf_msg.h"
 #include "tfp.h"
@@ -173,6 +174,9 @@ tf_open_session(struct tf                    *tfp,
        /* Setup hash seeds */
        tf_seeds_init(session);
 
+       /* Initialize external pool data structures */
+       tf_init_tbl_pool(session);
+
        session->ref_count++;
 
        /* Return session ID */