]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r312536:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 3 Aug 2017 14:05:03 +0000 (14:05 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 3 Aug 2017 14:05:03 +0000 (14:05 +0000)
commit69c3840e00723b7dc29eeb7edf3f8760baccb93e
tree5d9b5c8ab5baa4ccb111060d8434288e8958f983
parent5bf12bb13c4b734aac563932161ea5b3d92d349f
MFC r312536:
Allow transmit packet bufring in software to be disabled.

- Add new sysctl node to control the transmit packet bufring.

- Add optimised version of the transmit routine which output packets
directly to the DMA ring instead of using bufring in case the transmit
lock is congested. This can reduce the number of taskswitches which in
turn influence the overall system CPU usage, depending on the
workload.

- Add " TX" suffix to debug name for transmit mutexes to silence some
witness warnings about aquiring duplicate locks having same name.

Sponsored by: Mellanox Technologies
Suggested by: gallatin @

git-svn-id: svn://svn.freebsd.org/base/stable/10@322000 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c