Page MenuHomeFreeBSD

mlx5en: Allow RX and TX pause frames to be set through ifconfig
ClosedPublic

Authored by markb_mellanox.com on Jan 7 2016, 2:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 4, 12:32 AM
Unknown Object (File)
Sat, Jul 26, 6:08 AM
Unknown Object (File)
Tue, Jul 15, 3:12 PM
Unknown Object (File)
Mon, Jul 14, 9:52 PM
Unknown Object (File)
Sun, Jul 13, 4:37 AM
Unknown Object (File)
Sat, Jul 12, 8:37 AM
Unknown Object (File)
Sat, Jul 12, 2:40 AM
Unknown Object (File)
Jul 11 2025, 5:05 AM
Subscribers

Details

Summary

Allow setting RX/TX pause frames via ifconfig

Submitted by: Hans Petter Selasky <hps@selasky.org>
Sponsored by: Mellanox Technologies

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markb_mellanox.com retitled this revision from to mlx5en: Allow RX and TX pause frames to be set through ifconfig.
markb_mellanox.com updated this object.
markb_mellanox.com edited the test plan for this revision. (Show Details)
markb_mellanox.com set the repository for this revision to rS FreeBSD src repository - subversion.

I may be misreading this, but it appears we are loosing the ability to set the initial pause state via a loader tunable. Would it be possible to preserve this feature by masking the IFM_ETHER_*PAUSE bits with the user's desired pause sate in the initial ifmedia_set() call?

Yes, this patch removes the sysctl way to set RX/TX pause frames. It is possible to have both sysctl and ifconfig.

markb_mellanox.com updated this object.
markb_mellanox.com edited edge metadata.

Add tunnable option

gnn edited edge metadata.

This is

This revision is now accepted and ready to land.Jan 14 2016, 8:48 PM
This revision was automatically updated to reflect the committed changes.