Re: [PATCH net-next v4 6/8] net: mscc: ocelot: Add support for MRP

From: Vladimir Oltean
Date: Wed Feb 17 2021 - 06:56:59 EST


On Tue, Feb 16, 2021 at 10:42:03PM +0100, Horatiu Vultur wrote:
> +static inline void ocelot_xfh_get_cpuq(void *extraction, u64 *cpuq)
> +{
> + packing(extraction, cpuq, 28, 20, OCELOT_TAG_LEN, UNPACK, 0);
> +}
> +

The 8 bits I count for CPUQ are from 27 to 20.
This is spilling over into LRN_FLAGS.