Page MenuHomeFreeBSD

added changes for rsc handler
ClosedPublic

Authored by schakrabarti_microsoft.com on Mar 9 2022, 9:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 27, 7:12 AM
Unknown Object (File)
Thu, Nov 21, 12:13 PM
Unknown Object (File)
Tue, Nov 19, 2:45 AM
Unknown Object (File)
Sun, Nov 10, 2:59 AM
Unknown Object (File)
Fri, Nov 8, 3:18 AM
Unknown Object (File)
Nov 3 2024, 5:04 PM
Unknown Object (File)
Nov 3 2024, 5:04 PM
Unknown Object (File)
Oct 23 2024, 8:57 PM

Details

Summary

Currently rsc offloading is enabled by default.
With this new change rsc will be disabled by default.
By using sysctl we can enable and disable it.

Test Plan

Tested on Hyper-V on two bsd12.3 vm with iperf.
Also checked the sysctl to check the rsc pkt count.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44722
Build 41610: arc lint + arc unit

Event Timeline

whu added a subscriber: whu.

Looks good to me. Just a small nit. In the struct hn_softc of if_hnvar.h, I would insert an empty line between line 284 and 285, to make the definition of hn_rsc_ctrl independent from the VF related clause.

This revision is now accepted and ready to land.Mar 14 2022, 3:54 AM
This revision now requires review to proceed.Mar 14 2022, 7:04 AM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 15 2022, 8:17 AM
This revision was automatically updated to reflect the committed changes.

Sorry, I overlooked the stable/13 commit, but I do not see it in stable/12..