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, Oct 23, 8:27 AM
Unknown Object (File)
Thu, Oct 23, 1:06 AM
Unknown Object (File)
Sun, Oct 19, 5:47 AM
Unknown Object (File)
Sat, Oct 18, 1:29 AM
Unknown Object (File)
Sat, Oct 18, 1:29 AM
Unknown Object (File)
Sat, Oct 18, 1:29 AM
Unknown Object (File)
Sat, Oct 18, 1:29 AM
Unknown Object (File)
Fri, Oct 17, 3:35 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.