On 2024/1/19 0:50, Stephen Hemminger wrote: > These macros work like RTE_MIN and RTE_MAX but take an explicit > type. Necessary when being used in static assertions since > RTE_MIN and RTE_MAX use temporary variables which confuses > compilers constant expression checks. These macros could also > be useful in other scenarios when bounded range is useful. > > Naming is chosen to be similar to Linux kernel conventions. > > Signed-off-by: Stephen Hemminger <[email protected]> > Acked-by: Konstantin Ananyev <[email protected]> > Acked-by: Andrew Rybchenko <[email protected]> > ---
Acked-by: Chengwen Feng <[email protected]>

