{
u8 *bytes = (u8 *) (&h->priority_cfi_and_id);
- bytes[0] &= 0x1f;
- bytes[0] |= (prio & 0x7) << 5;
+ bytes[0] &= 0x0f;
+ bytes[0] |= (prio & 0xf) << 4;
}
always_inline u8
{
u8 *bytes = (u8 *) (&h->priority_cfi_and_id);
- return (bytes[0] >> 5);
+ return (bytes[0] >> 4);
}
/* VLAN with ethertype first and vlan id second */