aboutsummaryrefslogtreecommitdiff
path: root/security/apparmor/audit.c
diff options
context:
space:
mode:
authorHongguang Gao <hongguang.gao@broadcom.com>2023-12-01 14:39:13 -0800
committerJakub Kicinski <kuba@kernel.org>2023-12-04 15:12:47 -0800
commitd3c16475dc06641a52251bc9948c1d3002ea4388 (patch)
tree72705cc656d5048da9f1974867426715068d0555 /security/apparmor/audit.c
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 <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Hongguang Gao <hongguang.gao@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Link: https://lore.kernel.org/r/20231201223924.26955-5-michael.chan@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'security/apparmor/audit.c')
0 files changed, 0 insertions, 0 deletions