Re: [PATCH net-next v2 3/4] net: dsa: yt921x: Add port police support

Andrew Lunn
2026-04-03T14:19:59Z

> Does it unnecessarily depend on __int128? Otherwise it's good.

Ah, it seems to be a 64 bit architecture only thing.

Shame, because it would make this code easier to understand.

For these u96 values, the masks i looked at would fit into a u64. Are
there any fields which cross from bits < 64 to > 64? Could you
represent it as a u64+u32?

Andrew