summaryrefslogtreecommitdiff
path: root/tools/net/ynl/generated/netdev-user.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2023-12-02 01:39:10 +0300
committerJakub Kicinski <kuba@kernel.org>2023-12-05 02:12:47 +0300
commit08b386b132c61e06e573d6523a8c0c17b90fb8da (patch)
treec24648e9c21ac8910dea38b3a03aa8281a18a709 /tools/net/ynl/generated/netdev-user.c
parent91051f003948432f83b5d2766eeb83b2b4993649 (diff)
downloadlinux-08b386b132c61e06e573d6523a8c0c17b90fb8da.tar.xz
bnxt_en: Fix backing store V2 logic
The current code determines the last backing store valid type during bnxt_hwrm_func_backing_store_qcaps_v2(). In effect, the last type is determined based on what firmware advertises. The more correct way is to determine it based on what the driver is configuring. The driver may not configure all the backing store types advertised by firmware. Move the logic to determine the last type to bnxt_backing_store_cfg_v2(). We need to pass the legacy enable flags to the function in case only the legacy types are being configured. Fixes: 236e237f8ffe ("bnxt_en: Add support for HWRM_FUNC_BACKING_STORE_CFG_V2 firmware calls") Signed-off-by: Michael Chan <michael.chan@broadcom.com> Link: https://lore.kernel.org/r/20231201223924.26955-2-michael.chan@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions