svn commit: r341578 - head/sys/dev/mlx5/mlx5_en

Hans Petter Selasky hps at selasky.org
Fri Dec 13 14:30:10 UTC 2019


On 2019-12-13 14:40, Andrey V. Elsukov wrote:
> On 05.12.2018 17:20, Slava Shwartsman wrote:
>> Author: slavash
>> Date: Wed Dec  5 14:20:57 2018
>> New Revision: 341578
>> URL: https://svnweb.freebsd.org/changeset/base/341578
>>
>> Log:
>>    mlx5en: 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.
> 
> JFYI. We have compared the same router+firewall workloads on the host
> with this change and before, and I can say, that without DRBR on TX now
> we constantly have several percents of packets drops due to ENOBUFS
> error from mlx5e_xmit().
> 

Have you tried to tune the TX/RX parameters?

Especially the tx_queue_size .

--HPS


More information about the svn-src-head mailing list