GET_PORT_ID
#define GET_PORT_ID(p) (((p) & GENMASK(31, 24)) >> 24)
#define GET_PORT_ID(p) (((p) & (0xff << 24)) >> 24)