]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/tf_core/tf_core.c
net/bnxt: support TruFlow core table scope
[dpdk.git] / drivers / net / bnxt / tf_core / tf_core.c
index 39f4a110a5798d2bb5a59ab5bd281a61134ea6cc..f04a9b1c33cd9730661589f284f9622294523579 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 */