]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for receive side scaling stride, RSSS, in mlx5en(4).
authorHans Petter Selasky <hselasky@FreeBSD.org>
Thu, 6 Sep 2018 12:28:06 +0000 (12:28 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Thu, 6 Sep 2018 12:28:06 +0000 (12:28 +0000)
commit16ae32f927d9c8946c9dc3b277a7a3640e270b67
tree0a120a8385ace24f8258c5d0e7fa0940b236e783
parentb4df6efb4e2bdcf0d827e50807fbbc9ac5323282
Add support for receive side scaling stride, RSSS, in mlx5en(4).

The receive side scaling stride parameter is a value which define the interval
between active receive side queues. The traffic for the inactive queues is
redirected to the nearest active queue by use of modulus. The default value
of this parameter is one, which means all receive side queues are used.

The point of this feature is to redirect more traffic to fewer receive side
queues in order to take more advantage of sorted large receive offload,
sorted LRO. The sorted LRO works better when more packets are accumulated
per service interval.

MFC after: 3 days
Approved by: re (marius)
Sponsored by: Mellanox Technologies
sys/dev/mlx5/mlx5_en/en.h
sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c
sys/dev/mlx5/mlx5_en/mlx5_en_main.c