aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorKumar Sanghvi <[email protected]>2018-05-14 16:27:34 +0530
committerDavid S. Miller <[email protected]>2018-05-14 22:41:29 -0400
commit849a742c59a3d597473c0232f9c2506c69eeef14 (patch)
treeedd3a5cbada000d8b145352858aedec6048578af /tools/perf/util/scripting-engines/trace-event-python.c
parentd49baa7e12ee70c0a7b821d088a770c94c02e494 (diff)
cxgb4: Correct ntuple mask validation for hash filters
Earlier code of doing bitwise AND with field width bits was wrong. Instead, simplify code to calculate ntuple_mask based on supplied fields and then compare with mask configured in hw - which is the correct and simpler way to validate ntuple mask. Fixes: 3eb8b62d5a26 ("cxgb4: add support to create hash-filters via tc-flower offload") Signed-off-by: Kumar Sanghvi <[email protected]> Signed-off-by: Ganesh Goudar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions