]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/tf_core/tf_tbl.h
net/bnxt: support EEM system memory
[dpdk.git] / drivers / net / bnxt / tf_core / tf_tbl.h
index 2a10b47ce97aa61eb1f31c4330fcc19a601f6977..f20e8d729a40a662360a19e352b611d887c48fe2 100644 (file)
@@ -38,6 +38,13 @@ struct tf_em_caps {
  */
 struct tf_tbl_scope_cb {
        uint32_t tbl_scope_id;
  */
 struct tf_tbl_scope_cb {
        uint32_t tbl_scope_id;
+#ifdef TF_USE_SYSTEM_MEM
+       int lfc_fd;
+       uint32_t bus;
+       uint32_t devfn;
+       int fd[TF_DIR_MAX][TF_MAX_TABLE];
+       bool valid;
+#endif
        int index;
        struct hcapi_cfa_em_ctx_mem_info em_ctx_info[TF_DIR_MAX];
        struct tf_em_caps em_caps[TF_DIR_MAX];
        int index;
        struct hcapi_cfa_em_ctx_mem_info em_ctx_info[TF_DIR_MAX];
        struct tf_em_caps em_caps[TF_DIR_MAX];