]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
authorMichael Chan <michael.chan@broadcom.com>
Sun, 18 Jul 2021 19:36:27 +0000 (15:36 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Jul 2021 15:25:43 +0000 (08:25 -0700)
commit2c9f046bc377efd1f5e26e74817d5f96e9506c86
treed349b125eb305299aad450bfc5089863dcaab608
parentc08c59653415201ac46ab791c936ae804c45a11b
bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()

The capabilities can change after firmware upgrade/downgrade, so we
should get the up-to-date RoCE capabilities everytime bnxt_ulp_probe()
is called.

Fixes: 2151fe0830fd ("bnxt_en: Handle RESET_NOTIFY async event from firmware.")
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c