diff options
| author | Kalesh AP <kalesh-anakkur.purayil@broadcom.com> | 2026-05-04 11:36:10 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-06 03:36:14 +0300 |
| commit | 16517bc98a56004274472cc9949194cb4d2ad0b7 (patch) | |
| tree | 03defbee44e8c0f2c5ee66805dcc69ac88645175 /include/linux/errqueue.h | |
| parent | 54c28fab2fa5afd681c9c4b10f4f6da1efdd397a (diff) | |
| download | linux-16517bc98a56004274472cc9949194cb4d2ad0b7.tar.xz | |
bnxt_en: Check return value of bnxt_hwrm_vnic_cfg
When the bnxt RDMA driver is loaded, it calls bnxt_register_dev().
As part of this, driver sends HWRM_VNIC_CFG firmware command
to configure the VNIC to operate in dual VNIC mode. Currently
the driver ignores the result of this firmware command. The RDMA
driver must know the result since it affects its functioning.
Check return value of call to bnxt_hwrm_vnic_cfg() in
bnxt_register_dev() and return failure on error.
Fixes: a588e4580a7e ("bnxt_en: Add interface to support RDMA driver.")
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Link: https://patch.msgid.link/20260504083611.1383776-4-pavan.chebbi@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
