diff options
author | Willem de Bruijn <willemb@google.com> | 2020-10-13 15:45:08 -0400 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-13 16:21:54 -0700 |
commit | 254941f323702dbebe3f9145fdb1ab24c5bd23c1 (patch) | |
tree | 899e6cb86b0e06751609b70815f45be92e651158 /Documentation/networking | |
parent | 64a632da538a6827fad0ea461925cedb9899ebe2 (diff) |
docs: networking: update XPS to account for netif_set_xps_queue
With the introduction of netif_set_xps_queue, XPS can be enabled
by the driver at initialization.
Update the documentation to reflect this, as otherwise users
may incorrectly believe that the feature is off by default.
Fixes: 537c00de1c9b ("net: Add functions netif_reset_xps_queue and netif_set_xps_queue")
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/scaling.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/networking/scaling.rst b/Documentation/networking/scaling.rst index 8f0347b9fb3d..3d435caa3ef2 100644 --- a/Documentation/networking/scaling.rst +++ b/Documentation/networking/scaling.rst @@ -465,9 +465,9 @@ XPS Configuration ----------------- XPS is only available if the kconfig symbol CONFIG_XPS is enabled (on by -default for SMP). The functionality remains disabled until explicitly -configured. To enable XPS, the bitmap of CPUs/receive-queues that may -use a transmit queue is configured using the sysfs file entry: +default for SMP). If compiled in, it is driver dependent whether, and +how, XPS is configured at device init. The mapping of CPUs/receive-queues +to transmit queue can be inspected and configured using sysfs: For selection based on CPUs map:: |