Page MenuHomeFreeBSD

if_bnxt: add CAGR interrupt coalescing tick-resolution support
Needs ReviewPublic

Authored by sumit.saxena_broadcom.com on Mon, Aug 3, 12:06 PM.
Tags
None
Referenced Files
F165311155: D58598.diff
Fri, Aug 7, 2:07 PM
F165235489: D58598.diff
Fri, Aug 7, 1:51 AM
Unknown Object (File)
Thu, Aug 6, 2:41 PM
Unknown Object (File)
Mon, Aug 3, 2:45 PM
Subscribers
None

Details

Summary

Add the P7 CAGR (Completion AGgregation Ring) NQ-aggregation timer
tick-resolution knob, programmed via a direct GRC-window register
write, with a new dev.bnxt.<unit>.cagr_tick_res read-only tunable.
This is independent of the existing per-ring AGGINT_PARAMS coalescing.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Does something need to re-apply this after reset?

Also, please run these through style(9).

sys/dev/bnxt/bnxt_en/if_bnxt.c
2080

Does this really need inline?

2091

Is bar=1 correct? Doesn't that land in the hwrm range? Convention seems to be 0 or 2.

2949

Does this override the tunable? If so, is that intended?