Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile-trex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM quay.io/centos/centos:8
FROM quay.io/centos/centos:stream8

ARG TREX_VERSION=2.87
ARG TREX_VERSION=2.95
ENV TREX_VERSION ${TREX_VERSION}

# install requirements
Expand Down
6 changes: 4 additions & 2 deletions pods/dpdk/trex/trex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ data:
trex_cfg.yaml : |
- port_limit: 2
version: 2
interfaces: ["${PCIDEVICE_OPENSHIFT_IO_DPDK_NIC_1}","${PCIDEVICE_OPENSHIFT_IO_DPDK_NIC_2}"]
interfaces:
- ${PCIDEVICE_OPENSHIFT_IO_DPDK_NIC_1}
- ${PCIDEVICE_OPENSHIFT_IO_DPDK_NIC_2}
port_bandwidth_gb: ${PORT_BANDWIDTH_GB}
port_info:
- ip: 10.10.10.2
Expand Down Expand Up @@ -300,4 +302,4 @@ spec:
name: trex-tests
- emptyDir:
medium: HugePages
name: hugepages
name: hugepages
2 changes: 1 addition & 1 deletion scripts/create-trex-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ done
CPU="${CPU:1}"
echo $CPU

NODE=`lscpu | grep ${MASTER} | awk '/node0/{print "0"}{print "1"}'`
NODE=`lscpu | grep ${MASTER}, | awk '/node0/{print "0"}{print "1"}'`
export SOCKET="0"
if [[ ${NODE} -eq 1 ]]
then
Expand Down