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
F110478678: D24273.diff
Wed, Feb 19, 12:35 AM
Unknown Object (File)
Sun, Jan 26, 6:27 PM
Unknown Object (File)
Sat, Jan 25, 7:33 PM
Unknown Object (File)
Wed, Jan 22, 9:16 PM
Unknown Object (File)
Jan 18 2025, 10:06 PM
Unknown Object (File)
Jan 16 2025, 12:10 PM
Unknown Object (File)
Jan 15 2025, 10:52 AM
Unknown Object (File)
Dec 9 2024, 10:15 AM
Subscribers

Diff Detail

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

Event Timeline

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

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
398

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