aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2021-03-29 13:09:43 +0300
committerDavid S. Miller <[email protected]>2021-03-29 13:37:25 -0700
commit4947e7309a31fdab1078b477b98b4cb1a28f80d8 (patch)
treebcb9fc9dc0a218d018f863c545ce7d1e814de7a9 /tools/perf/scripts/python
parent32e67c0aea904225fc77bf6edb27d033bec564fb (diff)
mlxsw: spectrum_matchall: Perform protocol check earlier
Perform the protocol check earlier in the function instead of repeating it for every action. Example: # tc filter add dev swp1 ingress proto ip matchall skip_sw action sample group 1 rate 100 Error: matchall rules only supported with 'all' protocol. We have an error talking to the kernel Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions