summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/debugfs.c
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@nxp.com>2020-07-21 09:55:17 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-22 00:38:30 +0200
commit02293dd4b79ec16ae0f680222768fb1582f03b42 (patch)
treee2fc80817fe94140c0562210f5ec872657f8683e /arch/x86/kvm/debugfs.c
parentnet: mdio-mux-gpio: use devm_gpiod_get_array() (diff)
downloadlinux-02293dd4b79ec16ae0f680222768fb1582f03b42.tar.xz
linux-02293dd4b79ec16ae0f680222768fb1582f03b42.zip
enetc: Refine buffer descriptor ring sizes
It's time to differentiate between Rx and Tx ring sizes. Not only Tx rings are processed differently than Rx rings, but their default number also differs - i.e. up to 8 Tx rings per device (8 traffic classes) vs. 2 Rx rings (one per CPU). So let's set Tx rings sizes to half the size of the Rx rings for now, to be conservative. The default ring sizes were decreased as well (to the next lower power of 2), to reduce the memory footprint, buffering etc., since the measurements I've made so far show that the rings are very unlikely to get full. This change also anticipates the introduction of the dynamic interrupt moderation (dim) algorithm which operates on maximum packet thresholds of 256 packets for Rx and 128 packets for Tx. Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/x86/kvm/debugfs.c')
0 files changed, 0 insertions, 0 deletions