Searched refs:bond_grp (Results 1 – 2 of 2) sorted by relevance
38 struct hns_roce_bond_group *bond_grp) in get_netdev_bond_slave_id() argument43 if (net_dev == bond_grp->bond_func_info[i].net_dev) in get_netdev_bond_slave_id()53 struct hns_roce_bond_group *bond_grp; in hns_roce_get_bond_grp() local61 bond_grp = die_info->bgrps[i]; in hns_roce_get_bond_grp()62 if (!bond_grp) in hns_roce_get_bond_grp()64 if (get_netdev_bond_slave_id(net_dev, bond_grp) >= 0) in hns_roce_get_bond_grp()65 return bond_grp; in hns_roce_get_bond_grp()66 if (bond_grp->upper_dev) { in hns_roce_get_bond_grp()68 if (bond_grp->upper_dev == upper_dev) { in hns_roce_get_bond_grp()70 return bond_grp; in hns_roce_get_bond_grp()[all …]
89 void hns_roce_cleanup_bond(struct hns_roce_bond_group *bond_grp);