Lines Matching refs:vpaths

127 		VXGE_COMPLETE_VPATH_TX(&vdev->vpaths[i].fifo);
137 ring = &vdev->vpaths[i].ring;
711 vpath = &vdev->vpaths[mac->vpath_no];
739 vpath = &vdev->vpaths[vpath_idx];
749 vpath = &vdev->vpaths[vpath_idx];
765 vpath = &vdev->vpaths[vpath_idx];
861 fifo = &vdev->vpaths[vpath_no].fifo;
1098 vpath = &vdev->vpaths[mac->vpath_no];
1145 vpath = &vdev->vpaths[i];
1155 vpath = &vdev->vpaths[i];
1168 vpath = &vdev->vpaths[i];
1187 mcast_cnt = vdev->vpaths[0].mcast_addr_cnt;
1188 list_head = &vdev->vpaths[0].mac_addr_list;
1190 (vdev->vpaths[0].mac_addr_cnt - mcast_cnt)) >
1191 vdev->vpaths[0].max_mac_addr_cnt)
1235 mcast_cnt = vdev->vpaths[0].mcast_addr_cnt;
1257 vpath = &vdev->vpaths[i];
1309 /* First delete the old mac address from all the vpaths
1312 struct vxge_vpath *vpath = &vdev->vpaths[vpath_idx];
1335 /* Set this mac address to all the vpaths */
1358 struct vxge_vpath *vpath = &vdev->vpaths[vp_id];
1391 struct vxge_vpath *vpath = &vdev->vpaths[vp_id];
1510 struct vxge_vpath *vpath = &vdev->vpaths[vp_id];
1587 hw_ring = vdev->vpaths[i].ring.handle;
1594 struct __vxge_hw_fifo *hw_fifo = vdev->vpaths[i].fifo.handle;
1715 "fatal: %s: can not reset vpaths",
1724 if (vdev->vpaths[i].handle) {
1726 vdev->vpaths[i].handle)
1747 vxge_restore_vpath_mac_addr(&vdev->vpaths[vp_id]);
1748 vxge_restore_vpath_vid_table(&vdev->vpaths[vp_id]);
1762 /* Get the traffic to flow through the vpaths */
1764 vxge_hw_vpath_enable(vdev->vpaths[i].handle);
1766 vxge_hw_vpath_rx_doorbell_init(vdev->vpaths[i].handle);
1850 ring = &vdev->vpaths[i].ring;
1935 "for vpath:%d", vdev->vpaths[0].device_id);
1956 vdev->vpaths[index].handle,
1963 vdev->vpaths[index].device_id);
1971 /* reset vpaths */
1979 vpath = &vdev->vpaths[i];
2003 /* close vpaths */
2010 vpath = &vdev->vpaths[i];
2021 /* open vpaths */
2031 vpath = &vdev->vpaths[i];
2272 vxge_hw_vpath_msix_mask(vdev->vpaths[i].handle, msix_id);
2273 vxge_hw_vpath_msix_clear(vdev->vpaths[i].handle, msix_id);
2275 status = vxge_hw_vpath_alarm_process(vdev->vpaths[i].handle,
2278 vxge_hw_vpath_msix_unmask(vdev->vpaths[i].handle,
2364 /* Try with less no of vector by reducing no of vpaths count */
2393 struct vxge_vpath *vpath = &vdev->vpaths[i];
2482 &vdev->vpaths[vp_idx].fifo);
2484 &vdev->vpaths[vp_idx].fifo;
2497 &vdev->vpaths[vp_idx].ring);
2499 &vdev->vpaths[vp_idx].ring;
2519 msix_idx += vdev->vpaths[vp_idx].device_id *
2522 vdev->vpaths[vp_idx].handle,
2543 &vdev->vpaths[0]);
2556 msix_idx = (vdev->vpaths[0].handle->vpath->vp_id *
2558 vxge_hw_vpath_msix_unmask(vdev->vpaths[vp_idx].handle,
2561 vdev->vxge_entries[intr_cnt].arg = &vdev->vpaths[0];
2571 vxge_hw_vpath_tti_ci_set(vdev->vpaths[0].fifo.handle);
2619 ring = &vdev->vpaths[i].ring;
2634 vpath = &vdev->vpaths[i];
2742 vpath = &vdev->vpaths[i];
2747 vpath = &vdev->vpaths[i];
2770 vpath = &vdev->vpaths[i];
2792 vpath = &vdev->vpaths[i];
2830 vpath = &vdev->vpaths[i];
2873 vpath = &vdev->vpaths[i];
2895 napi_disable(&vdev->vpaths[i].ring.napi);
2928 netif_napi_del(&vdev->vpaths[i].ring.napi);
2955 vpath_vector = vxge_mBIT(vdev->vpaths[0].device_id);
3007 napi_disable(&vdev->vpaths[i].ring.napi);
3111 struct vxge_ring_stats *rxstats = &vdev->vpaths[k].ring.stats;
3112 struct vxge_fifo_stats *txstats = &vdev->vpaths[k].fifo.stats;
3223 vdev->vpaths[i].ring.rx_hwts = vdev->rx_hwts;
3311 vpath = &vdev->vpaths[vp_id];
3339 vpath = &vdev->vpaths[vp_id];
3430 vdev->vpaths = kcalloc(no_of_vpath, sizeof(struct vxge_vpath),
3432 if (!vdev->vpaths) {
3497 kfree(vdev->vpaths);
3528 kfree(vdev->vpaths);
3563 vpath = &vdev->vpaths[vpath_idx];
3662 "%s: Assigning equal bandwidth to all the vpaths",
3774 * Set CI to OFF for all vpaths
4450 "%s: No vpaths available in device", VXGE_DRIVER_NAME);
4464 /* Check how many vpaths are available */
4485 * Configure vpaths and get driver configured number of vpaths
4486 * which is less than or equal to the maximum vpaths per function.
4491 "%s: No more vpaths to configure", VXGE_DRIVER_NAME);
4606 vdev->vpaths[j].is_configured = 1;
4607 vdev->vpaths[j].device_id = i;
4608 vdev->vpaths[j].ring.driver_id = j;
4609 vdev->vpaths[j].vdev = vdev;
4610 vdev->vpaths[j].max_mac_addr_cnt = max_mac_vpath;
4611 memcpy((u8 *)vdev->vpaths[j].macaddr,
4616 INIT_LIST_HEAD(&vdev->vpaths[j].mac_addr_list);
4618 vdev->vpaths[j].mac_addr_cnt = 0;
4619 vdev->vpaths[j].mcast_addr_cnt = 0;
4627 /* map the hashing selector table to the configured vpaths */
4631 macaddr = (u8 *)vdev->vpaths[0].macaddr;
4682 memcpy(vdev->ndev->dev_addr, (u8 *)vdev->vpaths[0].macaddr, ETH_ALEN);
4696 list_add(&entry->item, &vdev->vpaths[i].mac_addr_list);
4697 vdev->vpaths[i].mac_addr_cnt = 1;
4734 vxge_free_mac_add_list(&vdev->vpaths[i]);
4777 vxge_free_mac_add_list(&vdev->vpaths[i]);