Page MenuHomeFreeBSD

mlx5en: increment enobuf counter when tx schedule is out of space
ClosedPublic

Authored by hselasky on Apr 3 2020, 8:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 4, 4:35 AM
Unknown Object (File)
Sat, May 30, 1:47 PM
Unknown Object (File)
Sat, May 30, 4:12 AM
Unknown Object (File)
Sat, May 30, 12:29 AM
Unknown Object (File)
Thu, May 28, 2:05 AM
Unknown Object (File)
Sat, May 23, 9:43 AM
Unknown Object (File)
Apr 27 2026, 5:09 PM
Unknown Object (File)
Apr 23 2026, 5:57 PM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 30308

Event Timeline

sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
807

Please identify the return cases which are not "tx_drop:" in mlx5e_sq_xmit() and increment there. Else you increment twice dropped!

sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
400

I am not sure if this a right thing to do there. But also I am not sure how this case could happen at all.

hselasky updated this revision to Diff 70244.
hselasky edited reviewers, added: gallatin; removed: hselasky.
hselasky retitled this revision from mlx5en: increment tx drop counter when dropping packets to mlx5en: increment enobuf counter when tx schedule is out of space.
hselasky edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Apr 6 2020, 9:36 AM