diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-10-30 16:20:40 +0200 |
---|---|---|
committer | David Ahern <dsahern@gmail.com> | 2019-11-02 07:44:23 -0700 |
commit | fb2e033add073893dea71bb483353790fe8c5354 (patch) | |
tree | bbea1ea0b88a45f82db0aaf8d0c2271de7d935b8 /devlink/devlink.c | |
parent | 17a948c80af57da2fa86a8e34153f755f86e9c9c (diff) |
tc: implement support for action flags
Implement setting and printing of action flags with single available flag
value "no_percpu" that translates to kernel UAPI TCA_ACT_FLAGS value
TCA_ACT_FLAGS_NO_PERCPU_STATS. Update man page with information regarding
usage of action flags.
Example usage:
# tc actions add action gact drop no_percpu
# sudo tc actions list action gact
total acts 1
action order 0: gact action drop
random type none pass val 0
index 1 ref 1 bind 0
no_percpu
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Diffstat (limited to 'devlink/devlink.c')
0 files changed, 0 insertions, 0 deletions