diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2023-06-13 11:12:19 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-06-21 14:13:17 -0300 |
commit | 7d3115eba3e3eef6e0cbe65f05285c5ab28360d7 (patch) | |
tree | eb95ec473e1fe9f57cc253bc671fd52a546b378e /tools/perf/scripts/python/task-analyzer.py | |
parent | 390bf429cc6ce6844f834b1d9ddfbc1125aff1fc (diff) |
RDMA/bnxt_re: Optimize the bnxt_re_init_hwrm_hdr usage
As of now bnxt_re_init_hwrm_hdr is taking only the opcode from the
caller. compl_ring and target_id field is always -1. These fields might be
changed when newer features are added. For now, removing these parameters
as they are hard coded. Also, remove the rdev field which is not used.
Also, initialize the structure bnxt_fw_msg during declaration itself.
Link: https://lore.kernel.org/r/1686679943-17117-4-git-send-email-selvin.xavier@broadcom.com
Suggested-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions