mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-22 09:18:42 +00:00
A config option is added to disable caching of dynamic entries like SQEs and stack pages. Also locks down all HW contexts in NDC, preventing them from being evicted. This option is useful when the queue count is large and there are huge NDC cache misses. It's trade off between SQ context misses and dynamically changing entries like SQE and stack page pointers. Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
28 lines
841 B
Plaintext
28 lines
841 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Marvell OcteonTX2 drivers configuration
|
|
#
|
|
|
|
config OCTEONTX2_MBOX
|
|
tristate
|
|
|
|
config OCTEONTX2_AF
|
|
tristate "Marvell OcteonTX2 RVU Admin Function driver"
|
|
select OCTEONTX2_MBOX
|
|
depends on (64BIT && COMPILE_TEST) || ARM64
|
|
depends on PCI
|
|
help
|
|
This driver supports Marvell's OcteonTX2 Resource Virtualization
|
|
Unit's admin function manager which manages all RVU HW resources
|
|
and provides a medium to other PF/VFs to configure HW. Should be
|
|
enabled for other RVU device drivers to work.
|
|
|
|
config NDC_DIS_DYNAMIC_CACHING
|
|
bool "Disable caching of dynamic entries in NDC"
|
|
depends on OCTEONTX2_AF
|
|
default n
|
|
---help---
|
|
This config option disables caching of dynamic entries such as NIX SQEs
|
|
, NPA stack pages etc in NDC. Also locks down NIX SQ/CQ/RQ/RSS and
|
|
NPA Aura/Pool contexts.
|