mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
Fixup mentions of "ingress"
This was partly copied from netoptimizer/network-testing script that used this for testing ingress path. Our use-case is egress code path. Signed-off-by: Jesper Dangaard Brouer <netoptimizer@brouer.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
function usage() {
|
function usage() {
|
||||||
echo ""
|
echo ""
|
||||||
echo "Usage: $0 [-vh] --dev ethX"
|
echo "Usage: $0 [-vh] --dev ethX"
|
||||||
echo " -d | --dev : (\$DEV) Ingress interface/device (required)"
|
echo " -d | --dev : (\$DEV) Interface/device (required)"
|
||||||
echo " -v | --verbose : (\$VERBOSE) verbose"
|
echo " -v | --verbose : (\$VERBOSE) verbose"
|
||||||
echo " --remove : (\$REMOVE) Remove the TC rules"
|
echo " --remove : (\$REMOVE) Remove the TC rules"
|
||||||
echo " --dry-run : (\$DRYRUN) Dry-run only (echo tc commands)"
|
echo " --dry-run : (\$DRYRUN) Dry-run only (echo tc commands)"
|
||||||
@@ -31,7 +31,7 @@ while true; do
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
-d | --dev ) # device
|
-d | --dev ) # device
|
||||||
export DEV=$2
|
export DEV=$2
|
||||||
info "Ingress device set to: DEV=$DEV" >&2
|
info "Device set to: DEV=$DEV" >&2
|
||||||
shift 2
|
shift 2
|
||||||
;;
|
;;
|
||||||
-v | --verbose)
|
-v | --verbose)
|
||||||
|
|||||||
Reference in New Issue
Block a user