MAC_OFFSET
base_addr = pdata->base_addr - (pdata->port_id * MAC_OFFSET);
u32 offset = p->port_id * MAC_OFFSET;