ib_get_curr_port_state
curr_state = ib_get_curr_port_state(ndev);
attr->state = ib_get_curr_port_state(ndev);
(ib_get_curr_port_state(net_dev) == IB_PORT_ACTIVE);
ib_get_curr_port_state(active_dev) == IB_PORT_ACTIVE)
*state = ib_get_curr_port_state(bond_grp->upper_dev);
*state = ib_get_curr_port_state(net_dev);
curr_state = ib_get_curr_port_state(netdev);
if (ib_get_curr_port_state(ndev) == IB_PORT_ACTIVE)
if (ib_get_curr_port_state(ndev) == IB_PORT_DOWN)
attr->state = ib_get_curr_port_state(ndev);
attr->state = ib_get_curr_port_state(ndev);