HomeFreeBSD

irdma: Use round{up,down}_pow_of_two

Description

irdma: Use round{up,down}_pow_of_two

Use roundup_pow_of_two and rounddown_pow_of_two in place of expressions.

Reviewed by: alc, markj
Differential Revision: https://reviews.freebsd.org/D45536

Details

Provenance
dougmAuthored on Jun 24 2024, 7:20 AM
Reviewer
alc
Differential Revision
D45536: log2: move log2 related functions from kpi to libkern
Parents
rG5fc42387d704: cxgbe: use order_base_2
Branches
Unknown
Tags
Unknown