diff options
| author | Edwin Peer <[email protected]> | 2021-02-14 23:04:56 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-02-15 01:27:50 +0000 |
| commit | be6d755f3d0c7c76d07f980bca6dd7e70dcec452 (patch) | |
| tree | 40f5e5db30c780f4874b6b244725f5742ca211c7 /net/switchdev/switchdev.c | |
| parent | bnxt_en: Update firmware interface spec to 1.10.2.16. (diff) | |
| download | kernel-be6d755f3d0c7c76d07f980bca6dd7e70dcec452.tar.gz kernel-be6d755f3d0c7c76d07f980bca6dd7e70dcec452.zip | |
bnxt_en: selectively allocate context memories
Newer devices may have local context memory instead of relying on the
host for backing store. In these cases, HWRM_FUNC_BACKING_STORE_QCAPS
will return a zero entry size to indicate contexts for which the host
should not allocate backing store.
Selectively allocate context memory based on device capabilities and
only enable backing store for the appropriate contexts.
Signed-off-by: Edwin Peer <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
