Lines Matching +full:p +full:- +full:256
2 # SPDX-License-Identifier: GPL-2.0
5 NSIM_SV_ID=$((256 + RANDOM % 256))
7 NSIM_CL_ID=$((512 + RANDOM % 256))
32 set -e
36 NSIM_SV_NAME=$(find $NSIM_SV_SYS/net -maxdepth 1 -type d ! \
37 -path $NSIM_SV_SYS/net -exec basename {} \;)
38 NSIM_CL_NAME=$(find $NSIM_CL_SYS/net -maxdepth 1 -type d ! \
39 -path $NSIM_CL_SYS/net -exec basename {} \;)
42 ethtool -L $NSIM_SV_NAME combined 1 2>/dev/null
64 suspend_value=${1:-0}
71 timeout -k 1s 30s ip netns exec nssv ./busy_poller \
72 -p${SERVER_PORT} \
73 -b${SERVER_IP} \
74 -m${MAX_EVENTS} \
75 -u${BUSY_POLL_USECS} \
76 -P${PREFER_BUSY_POLL} \
77 -g${BUSY_POLL_BUDGET} \
78 -i${NSIM_SV_IFIDX} \
79 -s${suspend_value} \
80 -o${out_file}&
84 ip netns exec nscl socat -u $tmp_file TCP:${SERVER_IP}:${SERVER_PORT}
88 tmp_file_md5sum=$(md5sum $tmp_file | cut -f1 -d' ')
89 out_file_md5sum=$(md5sum $out_file | cut -f1 -d' ')
126 NSIM_SV_FD=$((256 + RANDOM % 256))
130 NSIM_CL_FD=$((256 + RANDOM % 256))
137 if [ $? -ne 0 ]; then
144 if [ $? -ne 0 ]; then
151 if [ $? -ne 0 ]; then
163 modprobe -r netdevsim