d2f6fe7463
* Add support for Accton wedge100bf_32qs platform This pull request is based on wedge100bf_32x. The components on the mainboard are the same as wedge100bf_32x, except for tofino 32Q and COMe models, so it refers to wedge100bf_32x to create new model: wedge100bf_32qs. Signed-off-by: alvin_feng <alvin_feng@accton.com> * Fix lgtm alerts issues Signed-off-by: alvin_feng <alvin_feng@accton.com> * Modify some file permissions and use symlink to link wedge100bf-32qs/sonic_platform Signed-off-by: alvin_feng <alvin_feng@accton.com> * Remove switch-sai.conf file Signed-off-by: alvin_feng <alvin_feng@accton.com> * Modify platform.json to avoid platform TCs issues and changes for correct generating BUFFER_QUEUE values in DB. Signed-off-by: alvin_feng <alvin_feng@accton.com> * Fix error name in platform.json
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
{
|
|
"instance": 0,
|
|
"chip_list": [
|
|
{
|
|
"id": "asic-0",
|
|
"chip_family": "Tofino",
|
|
"instance": 0,
|
|
"pcie_sysfs_prefix": "/sys/devices/pci0000:00/0000:00:03.0/0000:05:00.0",
|
|
"pcie_domain": 0,
|
|
"pcie_bus": 5,
|
|
"pcie_fn": 0,
|
|
"pcie_dev": 0,
|
|
"pcie_int_mode": 1,
|
|
"sds_fw_path": "share/tofino_sds_fw/avago/firmware"
|
|
}
|
|
],
|
|
"p4_devices": [
|
|
{
|
|
"device-id": 0,
|
|
"agent0": "lib/platform/x86_64-accton_wedge100bf_32qs-r0/libpltfm_mgr.so",
|
|
"p4_programs": [
|
|
{
|
|
"p4_pipelines": [
|
|
{
|
|
"p4_pipeline_name": "pipe",
|
|
"config": "share/switch/pipe/tofino.bin",
|
|
"context": "share/switch/pipe/context.json"
|
|
}
|
|
],
|
|
"program-name": "switch",
|
|
"sai": "lib/libsai.so",
|
|
"bfrt-config": "share/switch/bf-rt.json",
|
|
"model_json_path" : "share/switch/aug_model.json",
|
|
"switchapi_port_add": false,
|
|
"non_default_port_ppgs": 5
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|