From 5952262dac11bef7ede82b240bd39ad649495bd3 Mon Sep 17 00:00:00 2001 From: "Nadiya.Stetskovych" Date: Fri, 12 Oct 2018 13:51:34 -0700 Subject: [PATCH 1/3] Change sai config to use bfrt instead of pd Signed-off-by: Nadiya.Stetskovych --- .../montara/switch-sai.conf | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/device/barefoot/x86_64-accton_wedge100bf_32x-r0/montara/switch-sai.conf b/device/barefoot/x86_64-accton_wedge100bf_32x-r0/montara/switch-sai.conf index 089153b6a5ce..517d8f37c159 100644 --- a/device/barefoot/x86_64-accton_wedge100bf_32x-r0/montara/switch-sai.conf +++ b/device/barefoot/x86_64-accton_wedge100bf_32x-r0/montara/switch-sai.conf @@ -20,15 +20,14 @@ "instance": 0, "path": "switch", "program-name": "switch", - "pd": "lib/tofinopd/switch/libpd.so", - "pd-thrift": "lib/tofinopd/switch/libpdthrift.so", - "table-config": "share/tofinopd/switch/context.json", - "tofino-bin": "share/tofinopd/switch/tofino.bin", - "switchapi": "lib/libswitchapi.so", + "table-config": "share/tofinopd/switch/pipe/context.json", + "tofino-bin": "share/tofinopd/switch/pipe/tofino.bin", "switchsai": "lib/libswitchsai.so", "agent0": "lib/platform/x86_64-accton_wedge100bf_32x-r0/libpltfm_mgr.so", - "switchapi_port_add": false, - "non_default_port_ppgs": 5 + "bfrt-config" : "share/tofinopd/switch/bf-rt.json", + "model_json_path" : "share/switch/aug_model.json", + "switchapi_port_add": false, + "non_default_port_ppgs": 5 } ] } From 6ca050f5a434994b8d25b2a6d9f180ca65dbb95b Mon Sep 17 00:00:00 2001 From: "Nadiya.Stetskovych" Date: Mon, 29 Oct 2018 09:13:32 -0700 Subject: [PATCH 2/3] Add p4_16 stack dependency Signed-off-by: Nadiya.Stetskovych --- platform/barefoot/docker-syncd-bfn/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/barefoot/docker-syncd-bfn/Dockerfile.j2 b/platform/barefoot/docker-syncd-bfn/Dockerfile.j2 index 3e31e4b94417..cc4662b42945 100755 --- a/platform/barefoot/docker-syncd-bfn/Dockerfile.j2 +++ b/platform/barefoot/docker-syncd-bfn/Dockerfile.j2 @@ -11,7 +11,7 @@ debs/{{ deb }}{{' '}} {%- endfor -%} debs/ -RUN apt-get install -y libxml2 libpcap-dev libusb-1.0-0-dev libcurl3 libcurl4-gnutls-dev libunwind8-dev +RUN apt-get install -y libxml2 libpcap-dev libusb-1.0-0-dev libcurl3 libcurl4-gnutls-dev libunwind8-dev libc-ares2 RUN dpkg -i \ {% for deb in docker_syncd_bfn_debs.split(' ') -%} From 78543752eaf66811d115df0f06085ad30f08bc4a Mon Sep 17 00:00:00 2001 From: "Nadiya.Stetskovych" Date: Tue, 30 Oct 2018 07:56:06 -0700 Subject: [PATCH 3/3] Add package for missed libprofiler Signed-off-by: Nadiya.Stetskovych --- platform/barefoot/docker-syncd-bfn/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/barefoot/docker-syncd-bfn/Dockerfile.j2 b/platform/barefoot/docker-syncd-bfn/Dockerfile.j2 index cc4662b42945..05af6aebf823 100755 --- a/platform/barefoot/docker-syncd-bfn/Dockerfile.j2 +++ b/platform/barefoot/docker-syncd-bfn/Dockerfile.j2 @@ -11,7 +11,7 @@ debs/{{ deb }}{{' '}} {%- endfor -%} debs/ -RUN apt-get install -y libxml2 libpcap-dev libusb-1.0-0-dev libcurl3 libcurl4-gnutls-dev libunwind8-dev libc-ares2 +RUN apt-get install -y libxml2 libpcap-dev libusb-1.0-0-dev libcurl3 libcurl4-gnutls-dev libunwind8-dev libc-ares2 libgoogle-perftools4 RUN dpkg -i \ {% for deb in docker_syncd_bfn_debs.split(' ') -%}