aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorSudarsana Reddy Kalluru <[email protected]>2018-11-26 02:26:58 -0800
committerDavid S. Miller <[email protected]>2018-11-27 16:17:19 -0800
commit149d3775f108c9b97f3309891f010b65e912c7b7 (patch)
treebb1ff39bb169e01c115f627591d79fd7ad472e0f /tools/perf/scripts/python/powerpc-hcalls.py
parentec036eb92e34298871c45ae6469cd8f7bb56c30e (diff)
qede: Simplify the usage of qede-flags.
The values represented by qede->flags is being used in mixed ways: 1. As 'value' at some places e.g., QEDE_FLAGS_IS_VF usage 2. As bit-mask(value) at some places e.g., QEDE_FLAGS_PTP_TX_IN_PRORGESS usage. This implementation pose problems in future when we want to add more flag values e.g., overlap of the values, overflow of 64-bit storage. Updated the implementation to go with approach (2) for qede->flags. Signed-off-by: Sudarsana Reddy Kalluru <[email protected]> Signed-off-by: Ariel Elior <[email protected]> Signed-off-by: Michal Kalderon <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions