From aab87757d38ad2e7f2c86761f84f8f5c610ed4bd Mon Sep 17 00:00:00 2001 From: pavel-shirshov Date: Thu, 18 May 2017 14:45:16 -0700 Subject: [PATCH] Remove sysctl setting which is not used anymore (#611) --- platform/broadcom/docker-syncd-brcm-rpc/99-syncd.conf | 2 -- platform/broadcom/docker-syncd-brcm-rpc/Dockerfile.j2 | 1 - platform/cavium/docker-syncd-cavm-rpc/99-syncd.conf | 2 -- platform/cavium/docker-syncd-cavm-rpc/Dockerfile.j2 | 1 - platform/centec/docker-syncd-centec-rpc/99-syncd.conf | 2 -- platform/centec/docker-syncd-centec-rpc/Dockerfile.j2 | 1 - platform/mellanox/docker-syncd-mlnx-rpc/99-syncd.conf | 2 -- platform/mellanox/docker-syncd-mlnx-rpc/Dockerfile.j2 | 1 - 8 files changed, 12 deletions(-) delete mode 100644 platform/broadcom/docker-syncd-brcm-rpc/99-syncd.conf delete mode 100644 platform/cavium/docker-syncd-cavm-rpc/99-syncd.conf delete mode 100644 platform/centec/docker-syncd-centec-rpc/99-syncd.conf delete mode 100644 platform/mellanox/docker-syncd-mlnx-rpc/99-syncd.conf diff --git a/platform/broadcom/docker-syncd-brcm-rpc/99-syncd.conf b/platform/broadcom/docker-syncd-brcm-rpc/99-syncd.conf deleted file mode 100644 index f3b57e3b19..0000000000 --- a/platform/broadcom/docker-syncd-brcm-rpc/99-syncd.conf +++ /dev/null @@ -1,2 +0,0 @@ -sysctl -w net.core.rmem_max=509430500 - diff --git a/platform/broadcom/docker-syncd-brcm-rpc/Dockerfile.j2 b/platform/broadcom/docker-syncd-brcm-rpc/Dockerfile.j2 index 4799d7a5ab..ebe3dda1c1 100644 --- a/platform/broadcom/docker-syncd-brcm-rpc/Dockerfile.j2 +++ b/platform/broadcom/docker-syncd-brcm-rpc/Dockerfile.j2 @@ -47,7 +47,6 @@ RUN apt-get update \ && rm -rf /root/deps COPY ["ptf_nn_agent.conf", "/etc/supervisor/conf.d/"] -COPY ["99-syncd.conf", "/etc/sysctl.d/"] ENTRYPOINT ["/usr/bin/supervisord"] diff --git a/platform/cavium/docker-syncd-cavm-rpc/99-syncd.conf b/platform/cavium/docker-syncd-cavm-rpc/99-syncd.conf deleted file mode 100644 index f3b57e3b19..0000000000 --- a/platform/cavium/docker-syncd-cavm-rpc/99-syncd.conf +++ /dev/null @@ -1,2 +0,0 @@ -sysctl -w net.core.rmem_max=509430500 - diff --git a/platform/cavium/docker-syncd-cavm-rpc/Dockerfile.j2 b/platform/cavium/docker-syncd-cavm-rpc/Dockerfile.j2 index 0de427c22a..0c70dcd8e8 100644 --- a/platform/cavium/docker-syncd-cavm-rpc/Dockerfile.j2 +++ b/platform/cavium/docker-syncd-cavm-rpc/Dockerfile.j2 @@ -47,6 +47,5 @@ RUN apt-get update \ && rm -rf /root/deps COPY ["ptf_nn_agent.conf", "/etc/supervisor/conf.d/"] -COPY ["99-syncd.conf", "/etc/sysctl.d/"] ENTRYPOINT ["/usr/bin/supervisord"] diff --git a/platform/centec/docker-syncd-centec-rpc/99-syncd.conf b/platform/centec/docker-syncd-centec-rpc/99-syncd.conf deleted file mode 100644 index f3b57e3b19..0000000000 --- a/platform/centec/docker-syncd-centec-rpc/99-syncd.conf +++ /dev/null @@ -1,2 +0,0 @@ -sysctl -w net.core.rmem_max=509430500 - diff --git a/platform/centec/docker-syncd-centec-rpc/Dockerfile.j2 b/platform/centec/docker-syncd-centec-rpc/Dockerfile.j2 index 13a2c92cec..ac402d1f6e 100644 --- a/platform/centec/docker-syncd-centec-rpc/Dockerfile.j2 +++ b/platform/centec/docker-syncd-centec-rpc/Dockerfile.j2 @@ -47,7 +47,6 @@ RUN apt-get update \ && rm -rf /root/deps COPY ["ptf_nn_agent.conf", "/etc/supervisor/conf.d/"] -COPY ["99-syncd.conf", "/etc/sysctl.d/"] ENTRYPOINT ["/usr/bin/supervisord"] diff --git a/platform/mellanox/docker-syncd-mlnx-rpc/99-syncd.conf b/platform/mellanox/docker-syncd-mlnx-rpc/99-syncd.conf deleted file mode 100644 index f3b57e3b19..0000000000 --- a/platform/mellanox/docker-syncd-mlnx-rpc/99-syncd.conf +++ /dev/null @@ -1,2 +0,0 @@ -sysctl -w net.core.rmem_max=509430500 - diff --git a/platform/mellanox/docker-syncd-mlnx-rpc/Dockerfile.j2 b/platform/mellanox/docker-syncd-mlnx-rpc/Dockerfile.j2 index 51fb26c00b..66eab2013b 100644 --- a/platform/mellanox/docker-syncd-mlnx-rpc/Dockerfile.j2 +++ b/platform/mellanox/docker-syncd-mlnx-rpc/Dockerfile.j2 @@ -47,7 +47,6 @@ RUN apt-get update \ && rm -rf /root/deps COPY ["ptf_nn_agent.conf", "/etc/supervisor/conf.d/"] -COPY ["99-syncd.conf", "/etc/sysctl.d/"] ENTRYPOINT ["/usr/bin/supervisord"]