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

From: Andrew Lunn

Date: Fri Apr 03 2026 - 10:25:28 EST


> 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