net/ixgbe: support power management on VF
[dpdk.git] / drivers / net / bnxt / tf_core / tf_tbl.h
index 930fcc3..f0d8e94 100644 (file)
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2020 Broadcom
+ * Copyright(c) 2019-2021 Broadcom
  * All rights reserved.
  */
 
@@ -38,13 +38,9 @@ struct tf_em_caps {
  */
 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
+       /** The pf or parent pf of the vf used for table scope creation
+       */
+       uint16_t pf;
        int index;
        struct hcapi_cfa_em_ctx_mem_info em_ctx_info[TF_DIR_MAX];
        struct tf_em_caps em_caps[TF_DIR_MAX];