Lines Matching refs:vpath
23 * vxge_hw_vpath_intr_enable - Enable vpath interrupts.
26 * Enable vpath interrupts. The function is to be executed the last in
27 * vpath initialization sequence.
33 struct __vxge_hw_virtualpath *vpath;
41 vpath = vp->vpath;
43 if (vpath->vp_open == VXGE_HW_VP_NOT_OPEN) {
48 vp_reg = vpath->vp_reg;
130 if (vpath->hldev->first_vp_id != vpath->vp_id)
147 * vxge_hw_vpath_intr_disable - Disable vpath interrupts.
150 * Disable vpath interrupts. The function is to be executed the last in
151 * vpath initialization sequence.
158 struct __vxge_hw_virtualpath *vpath;
166 vpath = vp->vpath;
168 if (vpath->vp_open == VXGE_HW_VP_NOT_OPEN) {
172 vp_reg = vpath->vp_reg;
584 * @vpath: Virtual Path.
587 * Process vpath alarms.
591 __vxge_hw_vpath_alarm_process(struct __vxge_hw_virtualpath *vpath,
603 if (vpath == NULL) {
609 hldev = vpath->hldev;
610 vp_reg = vpath->vp_reg;
619 sw_stats = vpath->sw_stats;
849 __vxge_hw_device_handle_error(hldev, vpath->vp_id, alarm_event);
1688 * vxge_hw_vpath_mac_addr_add - Add the mac address entry for this vpath to MAC address table.
1690 * @macaddr: MAC address to be added for this vpath into the list
1696 * vpath.
1755 * @macaddr: First MAC address entry for this vpath in the list
1758 * Get the first mac address entry for this vpath from MAC address table.
1760 * vpath.
1806 * @macaddr: Next MAC address entry for this vpath in the list
1809 * Get the next mac address entry for this vpath from MAC address table.
1811 * vpath.
1856 * vxge_hw_vpath_mac_addr_delete - Delete the mac address entry for this vpath to MAC address table.
1858 * @macaddr: MAC address to be added for this vpath into the list
1862 * vpath.
1902 * vxge_hw_vpath_vid_add - Add the vlan id entry for this vpath to vlan id table.
1904 * @vid: vlan id to be added for this vpath into the list
1906 * Adds the given vlan id into the list for this vpath.
1929 * vxge_hw_vpath_vid_delete - Delete the vlan id entry for this vpath
1932 * @vid: vlan id to be added for this vpath into the list
1934 * Adds the given vlan id into the list for this vpath.
1968 struct __vxge_hw_virtualpath *vpath;
1971 if ((vp == NULL) || (vp->vpath->ringh == NULL)) {
1976 vpath = vp->vpath;
1979 if (!(vpath->hldev->access_rights &
1983 val64 = readq(&vpath->vp_reg->rxmac_vcfg0);
1992 writeq(val64, &vpath->vp_reg->rxmac_vcfg0);
2010 struct __vxge_hw_virtualpath *vpath;
2013 if ((vp == NULL) || (vp->vpath->ringh == NULL)) {
2018 vpath = vp->vpath;
2020 val64 = readq(&vpath->vp_reg->rxmac_vcfg0);
2028 writeq(val64, &vpath->vp_reg->rxmac_vcfg0);
2044 struct __vxge_hw_virtualpath *vpath;
2047 if ((vp == NULL) || (vp->vpath->ringh == NULL)) {
2052 vpath = vp->vpath;
2054 val64 = readq(&vpath->vp_reg->rxmac_vcfg0);
2058 writeq(val64, &vpath->vp_reg->rxmac_vcfg0);
2076 struct __vxge_hw_virtualpath *vpath;
2079 if ((vp == NULL) || (vp->vpath->ringh == NULL)) {
2084 vpath = vp->vpath;
2086 val64 = readq(&vpath->vp_reg->rxmac_vcfg0);
2090 writeq(val64, &vpath->vp_reg->rxmac_vcfg0);
2109 struct __vxge_hw_virtualpath *vpath;
2112 if ((vp == NULL) || (vp->vpath->ringh == NULL)) {
2117 vpath = vp->vpath;
2119 val64 = readq(&vpath->vp_reg->rxmac_vcfg0);
2123 writeq(val64, &vpath->vp_reg->rxmac_vcfg0);
2131 * @vpath: Virtual Path.
2134 * Process vpath alarms.
2148 status = __vxge_hw_vpath_alarm_process(vp->vpath, skip_alarms);
2170 struct __vxge_hw_virtualpath *vpath = vp->vpath;
2171 struct vxge_hw_vpath_reg __iomem *vp_reg = vpath->vp_reg;
2172 u32 vp_id = vp->vpath->vp_id;
2182 (vpath->hldev->first_vp_id * 4) + alarm_msix_id),
2185 if (vpath->hldev->config.intr_mode ==
2214 struct __vxge_hw_device *hldev = vp->vpath->hldev;
2234 struct __vxge_hw_device *hldev = vp->vpath->hldev;
2261 struct __vxge_hw_device *hldev = vp->vpath->hldev;
2271 * Mask Tx and Rx vpath interrupts.
2280 struct __vxge_hw_device *hldev = vp->vpath->hldev;
2283 tim_int_mask1, vp->vpath->vp_id);
2309 * Unmask Tx and Rx vpath interrupts.
2318 struct __vxge_hw_device *hldev = vp->vpath->hldev;
2321 tim_int_mask1, vp->vpath->vp_id);