Home
last modified time | relevance | path

Searched refs:dev_caps (Results 1 – 8 of 8) sorted by relevance

/f-stack/dpdk/drivers/common/iavf/
H A Diavf_common.c972 hw->dev_caps.num_vsis = msg->num_vsis; in iavf_vf_parse_hw_config()
973 hw->dev_caps.num_rx_qp = msg->num_queue_pairs; in iavf_vf_parse_hw_config()
974 hw->dev_caps.num_tx_qp = msg->num_queue_pairs; in iavf_vf_parse_hw_config()
975 hw->dev_caps.num_msix_vectors_vf = msg->max_vectors; in iavf_vf_parse_hw_config()
976 hw->dev_caps.dcb = msg->vf_cap_flags & in iavf_vf_parse_hw_config()
978 hw->dev_caps.max_mtu = msg->max_mtu; in iavf_vf_parse_hw_config()
H A Diavf_type.h338 struct iavf_hw_capabilities dev_caps; member
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_common.c1913 if (hw->dev_caps.num_funcs > 4) { in ice_recalc_port_limited_caps()
2201 ice_parse_dev_caps(hw, dev_caps, cbuf, cap_count); in ice_discover_dev_caps()
2248 struct ice_hw_dev_caps *dev_caps = &hw->dev_caps; in ice_set_safe_mode_caps() local
2278 cached_caps = dev_caps->common_cap; in ice_set_safe_mode_caps()
2279 num_funcs = dev_caps->num_funcs; in ice_set_safe_mode_caps()
2282 memset(dev_caps, 0, sizeof(*dev_caps)); in ice_set_safe_mode_caps()
2285 dev_caps->common_cap.name = cached_caps.name in ice_set_safe_mode_caps()
2294 dev_caps->num_funcs = num_funcs; in ice_set_safe_mode_caps()
2297 dev_caps->common_cap.num_rxq = num_funcs; in ice_set_safe_mode_caps()
2298 dev_caps->common_cap.num_txq = num_funcs; in ice_set_safe_mode_caps()
[all …]
H A Dice_type.h885 struct ice_hw_dev_caps dev_caps; /* device capabilities */ member
H A Dice_flex_pipe.c3124 per_pf = ICE_PROF_MASK_COUNT / hw->dev_caps.num_funcs; in ice_init_prof_masks()
/f-stack/dpdk/drivers/net/ice/
H A Dice_acl_filter.c105 uint32_t pf_num = hw->dev_caps.num_funcs; in ice_acl_setup()
161 if (hw->dev_caps.num_funcs < 4) { in acl_add_prof_prepare()
/f-stack/dpdk/drivers/net/i40e/base/
H A Di40e_common.c3863 p = (struct i40e_hw_capabilities *)&hw->dev_caps; in i40e_parse_discover_capabilities()
7640 hw->dev_caps.num_vsis = msg->num_vsis; in i40e_vf_parse_hw_config()
7641 hw->dev_caps.num_rx_qp = msg->num_queue_pairs; in i40e_vf_parse_hw_config()
7642 hw->dev_caps.num_tx_qp = msg->num_queue_pairs; in i40e_vf_parse_hw_config()
7643 hw->dev_caps.num_msix_vectors_vf = msg->max_vectors; in i40e_vf_parse_hw_config()
7644 hw->dev_caps.dcb = msg->vf_cap_flags & in i40e_vf_parse_hw_config()
7646 hw->dev_caps.iwarp = (msg->vf_cap_flags & in i40e_vf_parse_hw_config()
H A Di40e_type.h697 struct i40e_hw_capabilities dev_caps; member