1*49cdfc7eSAndroid Build Coastguard Worker#!/bin/sh 2*49cdfc7eSAndroid Build Coastguard Worker# SPDX-License-Identifier: GPL-2.0-or-later 3*49cdfc7eSAndroid Build Coastguard Worker# Copyright (c) 2018 Petr Vorel <[email protected]> 4*49cdfc7eSAndroid Build Coastguard Worker# Copyright (c) 2017 Oracle and/or its affiliates. All Rights Reserved. 5*49cdfc7eSAndroid Build Coastguard Worker# Author: Alexey Kodanev <[email protected]> 6*49cdfc7eSAndroid Build Coastguard Worker# 7*49cdfc7eSAndroid Build Coastguard Worker# Test-case: setup two MACsec drivers and run TCP traffic over them 8*49cdfc7eSAndroid Build Coastguard Worker# with enabled frame encryption and replay protection, compare 9*49cdfc7eSAndroid Build Coastguard Worker# performance with similar IPsec configuration on master interface. 10*49cdfc7eSAndroid Build Coastguard Worker 11*49cdfc7eSAndroid Build Coastguard WorkerIPSEC_PROTO="esp_aead" 12*49cdfc7eSAndroid Build Coastguard WorkerEALGO="aes" 13*49cdfc7eSAndroid Build Coastguard WorkerMACSEC_LIB_SETUP="replay on window 300 encrypt on protect on" 14*49cdfc7eSAndroid Build Coastguard Worker 15*49cdfc7eSAndroid Build Coastguard Worker. macsec_lib.sh 16*49cdfc7eSAndroid Build Coastguard Workertst_run 17