aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorHongguang Gao <[email protected]>2023-12-01 14:39:13 -0800
committerJakub Kicinski <[email protected]>2023-12-04 15:12:47 -0800
commitd3c16475dc06641a52251bc9948c1d3002ea4388 (patch)
tree72705cc656d5048da9f1974867426715068d0555 /tools/perf/scripts/python/libxed.py
parenta432a45bdba4387b7c511dbbda11ab84b8e767b7 (diff)
bnxt_en: Consolidate DB offset calculation
The doorbell offset on P5 chips is hard coded. On the new P7 chips, it is returned by the firmware. Simplify the logic that determines this offset and store it in a new db_offset field in struct bnxt. Also, provide this offset to the RoCE driver in struct bnxt_en_dev. Reviewed-by: Kalesh AP <[email protected]> Signed-off-by: Hongguang Gao <[email protected]> Signed-off-by: Michael Chan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions