OSDN Git Service

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)
commit3be8136ce14ea12c7b40f7ad20a5ff8aec339289
tree3aee63e8f8acc0a7ce51e76a0594440a2190e804
parentf9b69d7f62796b33657c98e0d3ca3be763f70fa4
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