Searched hist:"56 d41ad5fe9c2fcbc2363bf3ca7e69684a26b4bd" (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/ena/ |
H A D | ena_sysctl.c | diff 56d41ad5fe9c2fcbc2363bf3ca7e69684a26b4bd Tue May 26 17:57:02 CEST 2020 Marcin Wojtas <mw@FreeBSD.org> Add sysctl node for ENA IO queues number adjustment
By default, in ena_attach() the driver attempts to acquire ena_adapter::max_num_io_queues MSI-X vectors for the purpose of IO queues, however this is not guaranteed. The number of vectors acquired depends also on system resources availability.
Regardless of that, enable the number of effectively used IO queues to be further limited through the sysctl node.
Example: Assumming that there are 8 IO queues configured by default, the command
$ sysctl dev.ena.0.io_queues_nb=4
will reduce the number of available IO queues to 4. Similarly, the value can be also increased up to maximum supported value. A value higher than maximum supported number of IO queues is ignored. Zero is ignored too.
Submitted by: Maciej Bielski <mba@semihalf.com> Obtained from: Semihalf Sponsored by: Amazon, Inc.
|
H A D | ena.h | diff 56d41ad5fe9c2fcbc2363bf3ca7e69684a26b4bd Tue May 26 17:57:02 CEST 2020 Marcin Wojtas <mw@FreeBSD.org> Add sysctl node for ENA IO queues number adjustment
By default, in ena_attach() the driver attempts to acquire ena_adapter::max_num_io_queues MSI-X vectors for the purpose of IO queues, however this is not guaranteed. The number of vectors acquired depends also on system resources availability.
Regardless of that, enable the number of effectively used IO queues to be further limited through the sysctl node.
Example: Assumming that there are 8 IO queues configured by default, the command
$ sysctl dev.ena.0.io_queues_nb=4
will reduce the number of available IO queues to 4. Similarly, the value can be also increased up to maximum supported value. A value higher than maximum supported number of IO queues is ignored. Zero is ignored too.
Submitted by: Maciej Bielski <mba@semihalf.com> Obtained from: Semihalf Sponsored by: Amazon, Inc.
|
H A D | ena.c | diff 56d41ad5fe9c2fcbc2363bf3ca7e69684a26b4bd Tue May 26 17:57:02 CEST 2020 Marcin Wojtas <mw@FreeBSD.org> Add sysctl node for ENA IO queues number adjustment
By default, in ena_attach() the driver attempts to acquire ena_adapter::max_num_io_queues MSI-X vectors for the purpose of IO queues, however this is not guaranteed. The number of vectors acquired depends also on system resources availability.
Regardless of that, enable the number of effectively used IO queues to be further limited through the sysctl node.
Example: Assumming that there are 8 IO queues configured by default, the command
$ sysctl dev.ena.0.io_queues_nb=4
will reduce the number of available IO queues to 4. Similarly, the value can be also increased up to maximum supported value. A value higher than maximum supported number of IO queues is ignored. Zero is ignored too.
Submitted by: Maciej Bielski <mba@semihalf.com> Obtained from: Semihalf Sponsored by: Amazon, Inc.
|