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)
Thu, Nov 21, 5:18 PM
Unknown Object (File)
Sun, Nov 17, 12:14 PM
Unknown Object (File)
Sun, Nov 10, 10:31 PM
Unknown Object (File)
Fri, Nov 8, 10:04 AM
Unknown Object (File)
Fri, Nov 8, 9:38 AM
Unknown Object (File)
Fri, Nov 8, 6:55 AM
Unknown Object (File)
Fri, Nov 8, 12:43 AM
Unknown Object (File)
Thu, Nov 7, 1:50 PM
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.