diff options
author | Brett Creeley <brett.creeley@intel.com> | 2021-05-07 15:09:11 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-10-29 13:11:53 -0700 |
commit | 4a15022f82ee0f2e14a7f953b7bbc0f5c983b663 (patch) | |
tree | b9cf24097712b017a3b9f9121c6eb7157046ef52 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5bf84b29938579a9350a4a9c2c4f8b5da2aa6992 (diff) |
virtchnl: Use the BIT() macro for capability/offload flags
Currently raw hex values are used to define specific bits for each
capability/offload in virtchnl.h. Using raw hex values makes it
unclear which bits are used/available. Fix this by using the BIT()
macro so it's immediately obvious which bits are used/available.
Also, move the VIRTCHNL_VF_CAP_ADV_LINK_SPEED define in the correct
place to line up with the other bit values and add a comment for its
purpose.
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Tony Brelinski <tony.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions