diff options
| author | Sudarsana Reddy Kalluru <[email protected]> | 2018-11-26 02:26:58 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-11-27 16:17:19 -0800 |
| commit | 149d3775f108c9b97f3309891f010b65e912c7b7 (patch) | |
| tree | bb1ff39bb169e01c115f627591d79fd7ad472e0f /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | ec036eb92e34298871c45ae6469cd8f7bb56c30e (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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions