Skip to content

Commit

Permalink
feature -add/merge support to CXL CMC (#3004)
Browse files Browse the repository at this point in the history
* add/merge support to CXL CMC

- add CMC device id Opae.cfg
- add CXL Memory traffic generator  tool
- add CMC mastics support

Signed-off-by: anandaravuri <[email protected]>
---------

Signed-off-by: anandaravuri <[email protected]>
  • Loading branch information
anandaravuri authored Aug 31, 2023
1 parent f6bfb82 commit e31ee93
Show file tree
Hide file tree
Showing 20 changed files with 1,523 additions and 3 deletions.
3 changes: 3 additions & 0 deletions binaries/opae.io/opae/io/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@
(0x8086, 0x0b31, OPAE_VENDOR_ANY, OPAE_DEVICE_ANY) : {
'platform': 'Intel FPGA Programmable Acceleration Card N3000'
},
(0x8086, 0x0ddb, OPAE_VENDOR_ANY, OPAE_DEVICE_ANY) : {
'platform': 'Intel Acceleration Development Platform CMC'
},
(0x1c2c, 0x1000, 0, 0) : {
'platform': 'Silicom FPGA SmartNIC N5010 Series'
},
Expand Down
1 change: 1 addition & 0 deletions libraries/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ opae_add_subdirectory(libboard/board_d5005)
opae_add_subdirectory(libboard/board_n6000)
opae_add_subdirectory(libboard/board_n5010)
opae_add_subdirectory(libboard/board_c6100)
opae_add_subdirectory(libboard/board_cmc)
42 changes: 42 additions & 0 deletions libraries/libboard/board_cmc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## Copyright(c) 2023, Intel Corporation
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions are met:
##
## * Redistributions of source code must retain the above copyright notice,
## this list of conditions and the following disclaimer.
## * Redistributions in binary form must reproduce the above copyright notice,
## this list of conditions and the following disclaimer in the documentation
## and/or other materials provided with the distribution.
## * Neither the name of Intel Corporation nor the names of its contributors
## may be used to endorse or promote products derived from this software
## without specific prior written permission.
##
## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
## AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
## ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
## LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
## CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
## SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
## INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
## CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
## POSSIBILITY OF SUCH DAMAGE.

opae_add_module_library(TARGET board_cmc
SOURCE
board_cmc.c
${opae-test_ROOT}/framework/mock/opae_std.c
LIBS
${CMAKE_THREAD_LIBS_INIT}
opae-c
opaeuio
board_common
COMPONENT opaeboardlib
)

target_include_directories(board_cmc
PRIVATE
${OPAE_LIB_SOURCE}/libboard/board_common
)
Loading

0 comments on commit e31ee93

Please sign in to comment.