diff options
| author | Hadar Hen Zion <hadarh@mellanox.com> | 2016-12-01 15:06:34 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-12-02 21:28:36 +0300 |
| commit | 796852197c7a1a3a69ee5184d68bf16885bef65b (patch) | |
| tree | 58614269b0e9e1e6aa2e0e4231da1843eff9c0b4 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 55330f05969437c5d22fcc2ae2e54810b5236b7b (diff) | |
| download | linux-796852197c7a1a3a69ee5184d68bf16885bef65b.tar.xz | |
net/sched: cls_flower: Try to offload only if skip_hw flag isn't set
Check skip_hw flag isn't set before calling
fl_hw_{replace/destroy}_filter and fl_hw_update_stats functions.
Replace the call to tc_should_offload with tc_can_offload.
tc_can_offload only checks if the device supports offloading, the check for
skip_hw flag is done earlier in the flow.
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
