Searched refs:bond_func_info (Results 1 – 2 of 2) sorted by relevance
43 if (net_dev == bond_grp->bond_func_info[i].net_dev) in get_netdev_bond_slave_id()93 active_dev = bond_grp->bond_func_info[i].net_dev; in hns_roce_set_bond_netdev()146 net_dev = bond_grp->bond_func_info[i].net_dev; in hns_roce_bond_get_active_slave()177 handle = bond_grp->bond_func_info[func_idx].handle; in hns_roce_slave_uninit()197 net_dev = bond_grp->bond_func_info[i].net_dev; in switch_main_dev()236 handle = bond_grp->bond_func_info[func_idx].handle; in hns_roce_slave_init()242 bond_grp->bond_func_info[func_idx].net_dev = NULL; in hns_roce_slave_init()429 bond_grp->bond_func_info[i].net_dev = NULL; in hns_roce_slave_change_num()430 bond_grp->bond_func_info[i].handle = NULL; in hns_roce_slave_change_num()469 if (!bond_grp->bond_func_info[func_idx].net_dev) { in hns_roce_bond_info_update_nolock()[all …]
68 struct hns_roce_func_info bond_func_info[ROCE_BOND_FUNC_MAX]; member