]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mlx4en: Remove the DRBR and associated logic in the transmit path.
authorslavash <slavash@FreeBSD.org>
Wed, 5 Dec 2018 13:31:45 +0000 (13:31 +0000)
committerslavash <slavash@FreeBSD.org>
Wed, 5 Dec 2018 13:31:45 +0000 (13:31 +0000)
commita109fe43006410e6e1ef93ce5e9de7f18557d20f
treee10a0052608cfee0c0ed10a6f96745651770d8c0
parentf6462086425e000da6bfb520c54289a51bde20da
mlx4en: Remove the DRBR and associated logic in the transmit path.

The hardware queues are deep enough currently and using the DRBR and associated
callbacks only leads to more task switching in the TX path. The is also a race
setting the queue_state which can lead to hung TX rings.

Submitted by:   hselasky@
Approved by:    hselasky (mentor)
MFC after:      1 week
Sponsored by:   Mellanox Technologies
sys/dev/mlx4/mlx4_en/en.h
sys/dev/mlx4/mlx4_en/mlx4_en_cq.c
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c