NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
doca_pcc_dev_data_structures.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES, ALL RIGHTS RESERVED.
3  *
4  * This software product is a proprietary product of NVIDIA CORPORATION &
5  * AFFILIATES (the "Company") and all right, title, and interest in and to the
6  * software product, including all associated intellectual property rights, are
7  * and shall remain exclusively with the Company.
8  *
9  * This software product is governed by the End User License Agreement
10  * provided with the software product.
11  *
12  */
13 
20 #ifndef DOCA_PCC_DEV_DATA_STRUCTURES_H_
21 #define DOCA_PCC_DEV_DATA_STRUCTURES_H_
22 
23 #if __NV_DPA == __NV_DPA_BF3
25 #elif __NV_DPA == __NV_DPA_CX8
27 #else
28 #error "Must supply '-mcpu' compiler option on command line"
29 #endif
30 
32 typedef struct mlnx_cc_attr_t doca_pcc_dev_attr_t;
42 
43 #if __NV_DPA == __NV_DPA_BF3
45 #elif __NV_DPA >= __NV_DPA_CX8
46 typedef struct mlnx_cc_event_general_dword2_t doca_pcc_dev_event_general_dword2_t;
47 typedef struct mlnx_cc_rtt_spec_data0_t doca_pcc_dev_rtt_spec_data0_t;
48 typedef struct mlnx_cc_rtt_spec_data1_t doca_pcc_dev_rtt_spec_data1_t;
49 typedef struct mlnx_cc_rtt_spec_data2_t doca_pcc_dev_rtt_spec_data2_t;
50 typedef struct mlnx_cc_rtt_spec_data3_t doca_pcc_dev_rtt_spec_data3_t;
51 #endif
52 
55 #endif /* DOCA_PCC_DEV_DATA_STRUCTURES_H_ */