diff options
Diffstat (limited to 'platform/linux-generic/test/example')
12 files changed, 18 insertions, 72 deletions
diff --git a/platform/linux-generic/test/example/Makefile.am b/platform/linux-generic/test/example/Makefile.am index 947647cd4..a9d0948de 100644 --- a/platform/linux-generic/test/example/Makefile.am +++ b/platform/linux-generic/test/example/Makefile.am @@ -1,6 +1,5 @@ SUBDIRS = \ classifier \ - generator \ ipsec_api \ ipsec_crypto \ l2fwd_simple \ diff --git a/platform/linux-generic/test/example/classifier/pktio_env b/platform/linux-generic/test/example/classifier/pktio_env index eb8f2a80a..1a3cc51a2 100644 --- a/platform/linux-generic/test/example/classifier/pktio_env +++ b/platform/linux-generic/test/example/classifier/pktio_env @@ -1,9 +1,7 @@ #!/bin/sh # -# Copyright (c) 2020, Marvell -# All rights reserved. -# -# SPDX-License-Identifier: BSD-3-Clause +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2020 Marvell # # Script to setup interfaces used for running application on linux-generic. # diff --git a/platform/linux-generic/test/example/generator/Makefile.am b/platform/linux-generic/test/example/generator/Makefile.am deleted file mode 100644 index 2ffced539..000000000 --- a/platform/linux-generic/test/example/generator/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = pktio_env diff --git a/platform/linux-generic/test/example/generator/pktio_env b/platform/linux-generic/test/example/generator/pktio_env deleted file mode 100644 index 06af667e8..000000000 --- a/platform/linux-generic/test/example/generator/pktio_env +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2020, Marvell -# All rights reserved. -# -# SPDX-License-Identifier: BSD-3-Clause -# -# Script to setup interfaces used for running application on linux-generic. -# -# Generator uses null interfaces to validate udp mode. -# -# Network set-up -# IF0 ---> null:0 - -IF0=null:0 - -if [ "$0" = "$BASH_SOURCE" ]; then - echo "Error: Platform specific env file has to be sourced." -fi - -validate_result() -{ - return 0 -} - -setup_interfaces() -{ - return 0 -} - -cleanup_interfaces() -{ - return 0 -} diff --git a/platform/linux-generic/test/example/ipsec_api/pktio_env b/platform/linux-generic/test/example/ipsec_api/pktio_env index b3a073631..67a59919a 100644 --- a/platform/linux-generic/test/example/ipsec_api/pktio_env +++ b/platform/linux-generic/test/example/ipsec_api/pktio_env @@ -1,9 +1,7 @@ #!/bin/sh # -# Copyright (C) 2021, Marvell -# All rights reserved. -# -# SPDX-License-Identifier: BSD-3-Clause +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2021 Marvell # # Script to setup interfaces used for running application on linux-generic. # diff --git a/platform/linux-generic/test/example/ipsec_crypto/pktio_env b/platform/linux-generic/test/example/ipsec_crypto/pktio_env index fd770ac41..82d68f860 100644 --- a/platform/linux-generic/test/example/ipsec_crypto/pktio_env +++ b/platform/linux-generic/test/example/ipsec_crypto/pktio_env @@ -1,9 +1,7 @@ #!/bin/sh # -# Copyright (C) 2021, Marvell -# All rights reserved. -# -# SPDX-License-Identifier: BSD-3-Clause +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2021 Marvell # # Script to setup interfaces used for running application on linux-generic. # diff --git a/platform/linux-generic/test/example/l2fwd_simple/pktio_env b/platform/linux-generic/test/example/l2fwd_simple/pktio_env index e1fbe87cc..016ebf660 100644 --- a/platform/linux-generic/test/example/l2fwd_simple/pktio_env +++ b/platform/linux-generic/test/example/l2fwd_simple/pktio_env @@ -1,9 +1,7 @@ #!/bin/sh # -# Copyright (C) 2020, Marvell -# All rights reserved. -# -# SPDX-License-Identifier: BSD-3-Clause +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2020 Marvell # # Script to setup interfaces used for running application on linux-generic. # diff --git a/platform/linux-generic/test/example/l3fwd/pktio_env b/platform/linux-generic/test/example/l3fwd/pktio_env index a692d79bc..b176d5a3b 100644 --- a/platform/linux-generic/test/example/l3fwd/pktio_env +++ b/platform/linux-generic/test/example/l3fwd/pktio_env @@ -1,9 +1,7 @@ #!/bin/sh # -# Copyright (C) 2020, Marvell -# All rights reserved. -# -# SPDX-License-Identifier: BSD-3-Clause +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2020 Marvell # # Script to setup interfaces used for running application on linux-generic. # diff --git a/platform/linux-generic/test/example/packet/pktio_env b/platform/linux-generic/test/example/packet/pktio_env index 4e1914e2e..47d643ef0 100644 --- a/platform/linux-generic/test/example/packet/pktio_env +++ b/platform/linux-generic/test/example/packet/pktio_env @@ -1,9 +1,7 @@ #!/bin/sh # -# Copyright (C) 2020, Marvell -# All rights reserved. -# -# SPDX-License-Identifier: BSD-3-Clause +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2020 Marvell # # Script to setup interfaces used for running application on linux-generic. # diff --git a/platform/linux-generic/test/example/ping/pktio_env b/platform/linux-generic/test/example/ping/pktio_env index 90106da9d..8b3464ee4 100644 --- a/platform/linux-generic/test/example/ping/pktio_env +++ b/platform/linux-generic/test/example/ping/pktio_env @@ -1,9 +1,7 @@ #!/bin/sh # -# Copyright (C) 2020, Marvell -# All rights reserved. -# -# SPDX-License-Identifier: BSD-3-Clause +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2020 Marvell # # Script to setup interfaces used for running application on linux-generic. # diff --git a/platform/linux-generic/test/example/simple_pipeline/pktio_env b/platform/linux-generic/test/example/simple_pipeline/pktio_env index e1fbe87cc..016ebf660 100644 --- a/platform/linux-generic/test/example/simple_pipeline/pktio_env +++ b/platform/linux-generic/test/example/simple_pipeline/pktio_env @@ -1,9 +1,7 @@ #!/bin/sh # -# Copyright (C) 2020, Marvell -# All rights reserved. -# -# SPDX-License-Identifier: BSD-3-Clause +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2020 Marvell # # Script to setup interfaces used for running application on linux-generic. # diff --git a/platform/linux-generic/test/example/switch/pktio_env b/platform/linux-generic/test/example/switch/pktio_env index 78201cec7..8df735b3b 100644 --- a/platform/linux-generic/test/example/switch/pktio_env +++ b/platform/linux-generic/test/example/switch/pktio_env @@ -1,9 +1,7 @@ #!/bin/sh # -# Copyright (C) 2020, Marvell -# All rights reserved. -# -# SPDX-License-Identifier: BSD-3-Clause +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2020 Marvell # # Script to setup interfaces used for running application on linux-generic. # |