diff options
author | 2019-05-24 12:05:50 +0200 | |
---|---|---|
committer | 2019-05-25 16:38:15 -0700 | |
commit | ae8e1d5e5651f66e1d6a33c51df0425cea61d2f5 (patch) | |
tree | d88e0ab58aa5e74078cc713385379be12c8fa3d4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | flow_offload: use struct_size() in kzalloc() (diff) | |
download | wireguard-linux-ae8e1d5e5651f66e1d6a33c51df0425cea61d2f5.tar.xz wireguard-linux-ae8e1d5e5651f66e1d6a33c51df0425cea61d2f5.zip |
net: mvpp2: cls: Use the correct number of rules in various places
As of today, the classification offload implementation only supports 4
different rules to be offloaded. This number has been hardcoded in the
rule insertion function, and the wrong define is being used elsewhere.
Use the correct #define everywhere to make sure we always check for the
correct number of rules.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions