phy_decode
phy_id = phy_decode(np->parent->port_phy, np->port);
phy_id = phy_decode(np->parent->port_phy, np->port);
int type = phy_decode(np->parent->port_phy, np->port);
int type = phy_decode(parent->port_phy, i);
type = phy_decode(port_phy, i);