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
F150754615: D4817.id.diff
Fri, Apr 3, 8:24 PM
F150750080: D4817.id11998.diff
Fri, Apr 3, 7:42 PM
Unknown Object (File)
Wed, Apr 1, 7:09 PM
Unknown Object (File)
Wed, Apr 1, 10:13 AM
Unknown Object (File)
Thu, Mar 26, 1:53 AM
Unknown Object (File)
Tue, Mar 24, 8:23 AM
Unknown Object (File)
Fri, Mar 20, 12:33 PM
Unknown Object (File)
Fri, Mar 20, 5:41 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.