]> 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)
commitb7bc480e5c606343d2efa1b8f2b2a186243df105
tree3aee63e8f8acc0a7ce51e76a0594440a2190e804
parent0272f3c32e876e3dd0b8cc747d31d2b87006b15c
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