]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Initialize context memory to the value specified by firmware.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 24 Nov 2019 03:30:44 +0000 (22:30 -0500)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sun, 24 Nov 2019 22:48:02 +0000 (14:48 -0800)
commitc1115fa8170566611aafa60746aec4b4eb69ca07
tree3aee63e8f8acc0a7ce51e76a0594440a2190e804
parentfc5d8f19f2a29cd20614629efd8ec25b2e713fdb
bnxt_en: Initialize context memory to the value specified by firmware.

Some chips that need host context memory as a backing store requires
the memory to be initialized to a non-zero value.  Query the
value from firmware and initialize the context memory accordingly.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h