Lines Matching refs:vpath_idx
729 int vpath_idx = 0; in vxge_learn_mac() local
737 for (vpath_idx = 0; vpath_idx < vdev->no_of_vpath; vpath_idx++) { in vxge_learn_mac()
738 vpath = &vdev->vpaths[vpath_idx]; in vxge_learn_mac()
740 return vpath_idx; in vxge_learn_mac()
747 for (vpath_idx = 0; vpath_idx < vdev->no_of_vpath; vpath_idx++) { in vxge_learn_mac()
748 vpath = &vdev->vpaths[vpath_idx]; in vxge_learn_mac()
751 mac_info.vpath_no = vpath_idx; in vxge_learn_mac()
756 return vpath_idx; in vxge_learn_mac()
761 vpath_idx = 0; in vxge_learn_mac()
762 mac_info.vpath_no = vpath_idx; in vxge_learn_mac()
764 vpath = &vdev->vpaths[vpath_idx]; in vxge_learn_mac()
769 return vpath_idx; in vxge_learn_mac()
791 return vpath_idx; in vxge_learn_mac()
1129 int vpath_idx = 0; in vxge_set_multicast() local
1204 for (vpath_idx = 0; vpath_idx < in vxge_set_multicast()
1206 vpath_idx++) { in vxge_set_multicast()
1207 mac_info.vpath_no = vpath_idx; in vxge_set_multicast()
1219 for (vpath_idx = 0; vpath_idx < vdev->no_of_vpath; in vxge_set_multicast()
1220 vpath_idx++) { in vxge_set_multicast()
1221 mac_info.vpath_no = vpath_idx; in vxge_set_multicast()
1249 for (vpath_idx = 0; vpath_idx < vdev->no_of_vpath; in vxge_set_multicast()
1250 vpath_idx++) { in vxge_set_multicast()
1251 mac_info.vpath_no = vpath_idx; in vxge_set_multicast()
1289 int vpath_idx = 0; in vxge_set_mac_addr() local
1313 for (vpath_idx = 0; vpath_idx < vdev->no_of_vpath; vpath_idx++) { in vxge_set_mac_addr()
1314 struct vxge_vpath *vpath = &vdev->vpaths[vpath_idx]; in vxge_set_mac_addr()
1328 mac_info_old.vpath_no = vpath_idx; in vxge_set_mac_addr()
1338 for (vpath_idx = 0; vpath_idx < vdev->no_of_vpath; vpath_idx++) { in vxge_set_mac_addr()
1339 mac_info_new.vpath_no = vpath_idx; in vxge_set_mac_addr()
3571 int vpath_idx; in vxge_callback_crit_err() local
3581 for (vpath_idx = 0; vpath_idx < vdev->no_of_vpath; vpath_idx++) { in vxge_callback_crit_err()
3582 vpath = &vdev->vpaths[vpath_idx]; in vxge_callback_crit_err()
3616 if (!test_and_set_bit(vpath_idx, &vdev->vp_reset)) { in vxge_callback_crit_err()
3619 vxge_vpath_intr_disable(vdev, vpath_idx); in vxge_callback_crit_err()