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, Apr 14, 6:20 AM
Unknown Object (File)
Mon, Apr 14, 3:35 AM
Unknown Object (File)
Mon, Apr 14, 2:42 AM
Unknown Object (File)
Mon, Apr 14, 2:35 AM
Unknown Object (File)
Mon, Apr 14, 2:19 AM
Unknown Object (File)
Tue, Mar 25, 9:02 AM
Unknown Object (File)
Fri, Mar 21, 3:24 AM
Unknown Object (File)
Mar 12 2025, 10:40 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 Skipped
Unit
Tests Skipped

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.