diff options
| author | Dmytro Linkin <dmitrolin@mellanox.com> | 2019-10-07 13:48:00 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-11-02 00:55:16 +0300 |
| commit | ab9341b54969a2d02dbb7819e2f17c2f0d9cf5b5 (patch) | |
| tree | 3516dbe4c5046e4b312b07a558749f61af2fef54 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 88f30bbcbaaa1b124fcc622ff49e3d427da9c96c (diff) | |
| download | linux-ab9341b54969a2d02dbb7819e2f17c2f0d9cf5b5.tar.xz | |
net/mlx5e: Add ToS (DSCP) header rewrite support
Add support for rewriting of DSCP part of ToS field.
Next commands, for example, can be used to offload rewrite action:
OVS:
$ ovs-ofctl add-flow ovs-sriov "ip, in_port=REP, \
actions=mod_nw_tos:68, output:NIC"
iproute2 (used retain mask, as tc command rewrite whole ToS field):
$ tc filter add dev REP ingress protocol ip prio 1 flower skip_sw \
ip_proto icmp action pedit munge ip tos set 68 retain 0xfc pipe \
action mirred egress redirect dev NIC
Signed-off-by: Dmytro Linkin <dmitrolin@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
