diff options
| author | Ido Schimmel <[email protected]> | 2021-03-29 13:09:43 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-29 13:37:25 -0700 |
| commit | 4947e7309a31fdab1078b477b98b4cb1a28f80d8 (patch) | |
| tree | bcb9fc9dc0a218d018f863c545ce7d1e814de7a9 /tools/perf/scripts/python | |
| parent | 32e67c0aea904225fc77bf6edb27d033bec564fb (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