-
Notifications
You must be signed in to change notification settings - Fork 68
/
tsq1b.config
43 lines (32 loc) · 912 Bytes
/
tsq1b.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
###############################################################################
# Phase: Init
IFACE_MAC_ADDR="22:bb:22:bb:22:bb"
IFACE_IP_ADDR="169.254.1.22"
IFACE_BRC_ADDR="169.254.1.255"
IFACE_VLAN_IP_ADDR="169.254.11.22"
IFACE_VLAN_BRC_ADDR="169.254.11.255"
IFACE_VLAN_ID="3"
TX_Q_COUNT=4
RX_Q_COUNT=4
VLAN_PRIORITY_SUPPORT="YES"
VLAN_STRIP_SUPPORT="NO"
EEE_TURNOFF="NO"
if [ $NUM_CORE == 2 ]; then
# ADLN SKU5 - has only 2 cores
IRQ_AFFINITY_FILE="irq_affinity_2c_4TxRx.map"
PTP_CPU_AFFINITY=0
else
IRQ_AFFINITY_FILE="irq_affinity_4c_4TxRx.map"
PTP_CPU_AFFINITY=1
fi
###############################################################################
# Phase: Setup
PTP_IFACE_APPEND=".vlan"
PTP_PHY_HW="i225-1G"
PTP_TX_Q=0
PTP_RX_Q=0
###############################################################################
# Runtime
TARGET_IP_ADDR="169.254.1.11"
TEST_PERIOD=60