From: Tyler Cipriani Date: Sun, 9 Jan 2022 21:38:26 +0000 (-0700) Subject: Typo "flgas" -> "flags" X-Git-Tag: v0.24.0~6^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bafef4b8fb26bb149e0e388be7192a0684abbe7;p=platform%2Fupstream%2Fbcc.git Typo "flgas" -> "flags" --- diff --git a/docs/reference_guide.md b/docs/reference_guide.md index 96e8a3f2..5fc78d49 100644 --- a/docs/reference_guide.md +++ b/docs/reference_guide.md @@ -1825,7 +1825,7 @@ XDP_FLAGS_REPLACE = (1 << 4) You can use flags like this ```BPF.attach_xdp(dev="device", fn=b.load_func("fn_name",BPF.XDP), flags=BPF.XDP_FLAGS_UPDATE_IF_NOEXIST)``` -The default value of flgas is 0. This means if there is no xdp program with `device`, the fn will run with that device. If there is an xdp program running with device, the old program will be replaced with new fn program. +The default value of flags is 0. This means if there is no xdp program with `device`, the fn will run with that device. If there is an xdp program running with device, the old program will be replaced with new fn program. Currently, bcc does not support XDP_FLAGS_REPLACE flag. The following are the descriptions of other flags.