Lines Matching refs:vp_config
1246 __vxge_hw_device_vpath_config_check(struct vxge_hw_vp_config *vp_config) in __vxge_hw_device_vpath_config_check() argument
1250 if ((vp_config->min_bandwidth < VXGE_HW_VPATH_BANDWIDTH_MIN) || in __vxge_hw_device_vpath_config_check()
1251 (vp_config->min_bandwidth > VXGE_HW_VPATH_BANDWIDTH_MAX)) in __vxge_hw_device_vpath_config_check()
1254 status = __vxge_hw_device_fifo_config_check(&vp_config->fifo); in __vxge_hw_device_vpath_config_check()
1258 if ((vp_config->mtu != VXGE_HW_VPATH_USE_FLASH_DEFAULT_INITIAL_MTU) && in __vxge_hw_device_vpath_config_check()
1259 ((vp_config->mtu < VXGE_HW_VPATH_MIN_INITIAL_MTU) || in __vxge_hw_device_vpath_config_check()
1260 (vp_config->mtu > VXGE_HW_VPATH_MAX_INITIAL_MTU))) in __vxge_hw_device_vpath_config_check()
1263 if ((vp_config->rpa_strip_vlan_tag != in __vxge_hw_device_vpath_config_check()
1265 (vp_config->rpa_strip_vlan_tag != in __vxge_hw_device_vpath_config_check()
1267 (vp_config->rpa_strip_vlan_tag != in __vxge_hw_device_vpath_config_check()
1296 &new_config->vp_config[i]); in __vxge_hw_device_config_check()
1364 if (device_config->vp_config[i].ring.enable == in vxge_hw_device_initialize()
1366 nblocks += device_config->vp_config[i].ring.ring_blocks; in vxge_hw_device_initialize()
1368 if (device_config->vp_config[i].fifo.enable == in vxge_hw_device_initialize()
1370 nblocks += device_config->vp_config[i].fifo.fifo_blocks; in vxge_hw_device_initialize()
2830 config = &hldev->config.vp_config[vp_id].ring; in __vxge_hw_ring_create()
2935 device_config->vp_config[i].vp_id = i; in vxge_hw_device_config_default_get()
2937 device_config->vp_config[i].min_bandwidth = in vxge_hw_device_config_default_get()
2940 device_config->vp_config[i].ring.enable = VXGE_HW_RING_DEFAULT; in vxge_hw_device_config_default_get()
2942 device_config->vp_config[i].ring.ring_blocks = in vxge_hw_device_config_default_get()
2945 device_config->vp_config[i].ring.buffer_mode = in vxge_hw_device_config_default_get()
2948 device_config->vp_config[i].ring.scatter_mode = in vxge_hw_device_config_default_get()
2951 device_config->vp_config[i].ring.rxds_limit = in vxge_hw_device_config_default_get()
2954 device_config->vp_config[i].fifo.enable = VXGE_HW_FIFO_ENABLE; in vxge_hw_device_config_default_get()
2956 device_config->vp_config[i].fifo.fifo_blocks = in vxge_hw_device_config_default_get()
2959 device_config->vp_config[i].fifo.max_frags = in vxge_hw_device_config_default_get()
2962 device_config->vp_config[i].fifo.memblock_size = in vxge_hw_device_config_default_get()
2965 device_config->vp_config[i].fifo.alignment_size = in vxge_hw_device_config_default_get()
2968 device_config->vp_config[i].fifo.intr = in vxge_hw_device_config_default_get()
2971 device_config->vp_config[i].fifo.no_snoop_bits = in vxge_hw_device_config_default_get()
2973 device_config->vp_config[i].tti.intr_enable = in vxge_hw_device_config_default_get()
2976 device_config->vp_config[i].tti.btimer_val = in vxge_hw_device_config_default_get()
2979 device_config->vp_config[i].tti.timer_ac_en = in vxge_hw_device_config_default_get()
2982 device_config->vp_config[i].tti.timer_ci_en = in vxge_hw_device_config_default_get()
2985 device_config->vp_config[i].tti.timer_ri_en = in vxge_hw_device_config_default_get()
2988 device_config->vp_config[i].tti.rtimer_val = in vxge_hw_device_config_default_get()
2991 device_config->vp_config[i].tti.util_sel = in vxge_hw_device_config_default_get()
2994 device_config->vp_config[i].tti.ltimer_val = in vxge_hw_device_config_default_get()
2997 device_config->vp_config[i].tti.urange_a = in vxge_hw_device_config_default_get()
3000 device_config->vp_config[i].tti.uec_a = in vxge_hw_device_config_default_get()
3003 device_config->vp_config[i].tti.urange_b = in vxge_hw_device_config_default_get()
3006 device_config->vp_config[i].tti.uec_b = in vxge_hw_device_config_default_get()
3009 device_config->vp_config[i].tti.urange_c = in vxge_hw_device_config_default_get()
3012 device_config->vp_config[i].tti.uec_c = in vxge_hw_device_config_default_get()
3015 device_config->vp_config[i].tti.uec_d = in vxge_hw_device_config_default_get()
3018 device_config->vp_config[i].rti.intr_enable = in vxge_hw_device_config_default_get()
3021 device_config->vp_config[i].rti.btimer_val = in vxge_hw_device_config_default_get()
3024 device_config->vp_config[i].rti.timer_ac_en = in vxge_hw_device_config_default_get()
3027 device_config->vp_config[i].rti.timer_ci_en = in vxge_hw_device_config_default_get()
3030 device_config->vp_config[i].rti.timer_ri_en = in vxge_hw_device_config_default_get()
3033 device_config->vp_config[i].rti.rtimer_val = in vxge_hw_device_config_default_get()
3036 device_config->vp_config[i].rti.util_sel = in vxge_hw_device_config_default_get()
3039 device_config->vp_config[i].rti.ltimer_val = in vxge_hw_device_config_default_get()
3042 device_config->vp_config[i].rti.urange_a = in vxge_hw_device_config_default_get()
3045 device_config->vp_config[i].rti.uec_a = in vxge_hw_device_config_default_get()
3048 device_config->vp_config[i].rti.urange_b = in vxge_hw_device_config_default_get()
3051 device_config->vp_config[i].rti.uec_b = in vxge_hw_device_config_default_get()
3054 device_config->vp_config[i].rti.urange_c = in vxge_hw_device_config_default_get()
3057 device_config->vp_config[i].rti.uec_c = in vxge_hw_device_config_default_get()
3060 device_config->vp_config[i].rti.uec_d = in vxge_hw_device_config_default_get()
3063 device_config->vp_config[i].mtu = in vxge_hw_device_config_default_get()
3066 device_config->vp_config[i].rpa_strip_vlan_tag = in vxge_hw_device_config_default_get()
3472 config = &vpath->hldev->config.vp_config[vpath->vp_id].fifo; in __vxge_hw_fifo_create()
4086 struct vxge_hw_vp_config *vp_config; in __vxge_hw_vpath_prc_configure() local
4091 vp_config = vpath->vp_config; in __vxge_hw_vpath_prc_configure()
4093 if (vp_config->ring.enable == VXGE_HW_RING_DISABLE) in __vxge_hw_vpath_prc_configure()
4106 if (vpath->vp_config->ring.scatter_mode != in __vxge_hw_vpath_prc_configure()
4111 switch (vpath->vp_config->ring.scatter_mode) { in __vxge_hw_vpath_prc_configure()
4175 if (vpath->vp_config->fifo.enable == VXGE_HW_FIFO_ENABLE) { in __vxge_hw_vpath_kdfc_configure()
4180 ((vpath->vp_config->fifo.memblock_size / in __vxge_hw_vpath_kdfc_configure()
4181 (vpath->vp_config->fifo.max_frags * in __vxge_hw_vpath_kdfc_configure()
4183 vpath->vp_config->fifo.fifo_blocks)) { in __vxge_hw_vpath_kdfc_configure()
4232 struct vxge_hw_vp_config *vp_config; in __vxge_hw_vpath_mac_configure() local
4237 vp_config = vpath->vp_config; in __vxge_hw_vpath_mac_configure()
4242 if (vp_config->ring.enable == VXGE_HW_RING_ENABLE) { in __vxge_hw_vpath_mac_configure()
4246 if (vp_config->rpa_strip_vlan_tag != in __vxge_hw_vpath_mac_configure()
4248 if (vp_config->rpa_strip_vlan_tag) in __vxge_hw_vpath_mac_configure()
4257 if (vp_config->mtu != in __vxge_hw_vpath_mac_configure()
4260 if ((vp_config->mtu + in __vxge_hw_vpath_mac_configure()
4263 vp_config->mtu + in __vxge_hw_vpath_mac_configure()
4305 config = vpath->vp_config; in __vxge_hw_vpath_tim_configure()
4680 vpath->vp_config = config; in __vxge_hw_vp_initialize()
4742 vpath->vp_config->mtu = new_mtu - VXGE_HW_MAC_HEADER_MAX_SIZE; in vxge_hw_vpath_mtu_set()
4829 &hldev->config.vp_config[attr->vp_id]); in vxge_hw_vpath_open()
4841 if (vpath->vp_config->fifo.enable == VXGE_HW_FIFO_ENABLE) { in vxge_hw_vpath_open()
4847 if (vpath->vp_config->ring.enable == VXGE_HW_RING_ENABLE) { in vxge_hw_vpath_open()