Skip to content

Commit

Permalink
Add support for Alibaba F5 cards. (#2769)
Browse files Browse the repository at this point in the history
Signed-off-by: richard.li <richard.li@linux.alibaba.com>
  • Loading branch information
richardli001 committed Nov 14, 2022
1 parent ee8df16 commit a620bbd
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
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 @@ -82,6 +82,9 @@
(0x1c2c, 0x1003, 0, 0) : {
'platform': 'Silicom FPGA SmartNIC N5014'
},
(0x1ded, 0x8103, 0x1ded, 0x4342) : {
'platform': 'Alibaba Card F5'
},
(0x8086, 0xbcce, 0x8086, 0x1770) : {
'platform': 'Intel Acceleration Development Platform N6000'
},
Expand Down
1 change: 1 addition & 0 deletions libraries/libopae-c/cfg-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ STATIC libopae_config_data default_libopae_config_table[] = {
{ 0x1c2c, 0x1001, 0x0000, 0x0000, "libxfpga.so", "{}", 0 }, // N5011
{ 0x1c2c, 0x1002, 0x0000, 0x0000, "libxfpga.so", "{}", 0 }, // N5013
{ 0x1c2c, 0x1003, 0x0000, 0x0000, "libxfpga.so", "{}", 0 }, // N5014
{ 0x1ded, 0x8103, 0x1ded, 0x4342, "libxfpga.so", "{}", 0 }, // F5
{ 0x8086, 0xbcbd, OPAE_VENDOR_ANY, OPAE_DEVICE_ANY, "libxfpga.so", "{}", 0 }, // MCP
{ 0x8086, 0xbcc0, OPAE_VENDOR_ANY, OPAE_DEVICE_ANY, "libxfpga.so", "{}", 0 }, // MCP
{ 0x8086, 0xbcc1, OPAE_VENDOR_ANY, OPAE_DEVICE_ANY, "libxfpga.so", "{}", 0 }, // MCP
Expand Down
33 changes: 32 additions & 1 deletion opae.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,36 @@
}
]
}
},

"f5": {
"enabled": true,
"platform": "Alibaba F5 Card with Intel Agilex FPGA",

"devices": [
{ "name": "f5", "id": [ "0x1ded", "0x8103", "0x1ded", "0x4342" ] }
],

"opae": {
"plugin": [
{
"enabled": true,
"module": "libxfpga.so",
"devices": [ "f5" ],
"configuration": {}
}
],
"fpgainfo": [],
"fpgad": [],
"rsu": [],
"fpgareg": [],
"opae.io": [
{
"enabled": true,
"devices": [ "f5" ]
}
]
}
}
},

Expand All @@ -706,7 +736,8 @@
"n6000",
"n6001",
"c6100",
"ofs"
"ofs",
"f5"
],

"common_rsu_sequences" : [
Expand Down

0 comments on commit a620bbd

Please sign in to comment.