Home
last modified time | relevance | path

Searched refs:hca_attr (Results 1 – 24 of 24) sorted by relevance

/dpdk/drivers/net/mlx5/windows/
H A Dmlx5_os.c157 struct mlx5_hca_attr *hca_attr = &sh->cdev->config.hca_attr; in mlx5_os_capabilities_prepare() local
172 sh->dev_cap.max_cq = 1 << hca_attr->log_max_cq; in mlx5_os_capabilities_prepare()
173 sh->dev_cap.max_qp = 1 << hca_attr->log_max_qp; in mlx5_os_capabilities_prepare()
174 sh->dev_cap.max_qp_wr = 1 << hca_attr->log_max_qp_sz; in mlx5_os_capabilities_prepare()
179 sh->dev_cap.hw_csum = hca_attr->csum_cap; in mlx5_os_capabilities_prepare()
182 sh->dev_cap.hw_vlan_strip = hca_attr->vlan_cap; in mlx5_os_capabilities_prepare()
185 sh->dev_cap.hw_fcs_strip = hca_attr->scatter_fcs; in mlx5_os_capabilities_prepare()
186 sh->dev_cap.tso = ((1 << hca_attr->max_lso_cap) > 0); in mlx5_os_capabilities_prepare()
190 if (hca_attr->rss_ind_tbl_cap) { in mlx5_os_capabilities_prepare()
196 RTE_MIN(1 << hca_attr->rss_ind_tbl_cap, in mlx5_os_capabilities_prepare()
[all …]
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c145 struct mlx5_hca_attr *hca_attr = &cdev->config.hca_attr; in mlx5_os_capabilities_prepare() local
327 hca_attr->dev_freq_khz); in mlx5_os_capabilities_prepare()
338 hca_attr->log_max_static_sq_wq); in mlx5_os_capabilities_prepare()
342 if (!hca_attr->cross_channel) { in mlx5_os_capabilities_prepare()
347 if (!hca_attr->wqe_index_ignore) { in mlx5_os_capabilities_prepare()
352 if (!hca_attr->non_wire_sq) { in mlx5_os_capabilities_prepare()
362 if (!hca_attr->qos.wqe_rate_pp) { in mlx5_os_capabilities_prepare()
379 hca_attr->lro_min_mss_size); in mlx5_os_capabilities_prepare()
1289 struct mlx5_hca_attr *hca_attr = &sh->cdev->config.hca_attr; in mlx5_dev_spawn() local
1295 if (hca_attr->qos.sup && hca_attr->qos.flow_meter_old && in mlx5_dev_spawn()
[all …]
H A Dmlx5_verbs.c1039 priv->sh->cdev->config.hca_attr.wait_on_time && in mlx5_txq_ibv_obj_new()
/dpdk/drivers/net/mlx5/
H A Dmlx5.c512 struct mlx5_hca_attr *hca_attr = &sh->cdev->config.hca_attr; in mlx5_flow_counter_mode_config() local
520 !hca_attr->flow_counters_dump || in mlx5_flow_counter_mode_config()
528 hca_attr->flow_counters_dump, in mlx5_flow_counter_mode_config()
1361 struct mlx5_hca_attr *hca_attr) in mlx5_rt_timestamp_config() argument
1367 if (hca_attr->access_register_user) in mlx5_rt_timestamp_config()
2247 struct mlx5_hca_attr *hca_attr = &priv->sh->cdev->config.hca_attr; in mlx5_port_args_config() local
2621 struct mlx5_hca_attr *hca_attr = &priv->sh->cdev->config.hca_attr; in mlx5_set_min_inline() local
2643 if (hca_attr->eth_net_offloads) { in mlx5_set_min_inline()
2645 switch (hca_attr->wqe_inline_mode) { in mlx5_set_min_inline()
2654 hca_attr->wqe_vlan_insert; in mlx5_set_min_inline()
[all …]
H A Dmlx5_devx.c251 mlx5_ts_format_conv(cdev->config.hca_attr.rq_ts_format); in mlx5_rxq_create_devx_rq_resources()
423 priv->sh->cdev->config.hca_attr.log_max_hairpin_wq_data_sz; in mlx5_rxq_obj_hairpin_new()
1144 priv->sh->cdev->config.hca_attr.log_max_hairpin_wq_data_sz; in mlx5_txq_obj_hairpin_new()
1220 .min_wqe_inline_mode = cdev->config.hca_attr.vport_inline_mode, in mlx5_txq_create_devx_sq_resources()
1229 mlx5_ts_format_conv(cdev->config.hca_attr.sq_ts_format), in mlx5_txq_create_devx_sq_resources()
1355 sh->cdev->config.hca_attr.wait_on_time); in mlx5_txq_devx_obj_new()
H A Dmlx5_trigger.c345 priv->sh->cdev->config.hca_attr.vhca_id; in mlx5_hairpin_auto_bind()
353 priv->sh->cdev->config.hca_attr.vhca_id; in mlx5_hairpin_auto_bind()
430 peer_info->vhca_id = priv->sh->cdev->config.hca_attr.vhca_id; in mlx5_hairpin_queue_peer_update()
460 peer_info->vhca_id = priv->sh->cdev->config.hca_attr.vhca_id; in mlx5_hairpin_queue_peer_update()
822 cur.vhca_id = priv->sh->cdev->config.hca_attr.vhca_id; in mlx5_hairpin_bind_single_port()
H A Dmlx5_txq.c113 priv->sh->cdev->config.hca_attr.wait_on_time) in mlx5_get_tx_port_offloads()
1295 !sh->cdev->config.hca_attr.dev_freq_khz) in mlx5_txq_dynf_timestamp_set()
1299 sh->cdev->config.hca_attr.dev_freq_khz); in mlx5_txq_dynf_timestamp_set()
1306 (sh->txpp.refcnt || priv->sh->cdev->config.hca_attr.wait_on_time)) in mlx5_txq_dynf_timestamp_set()
H A Dmlx5_txpp.c233 (sh->cdev->config.hca_attr.sq_ts_format), in mlx5_txpp_create_rearm_queue()
444 mlx5_ts_format_conv(sh->cdev->config.hca_attr.sq_ts_format); in mlx5_txpp_create_clock_queue()
828 sh->txpp.freq = sh->cdev->config.hca_attr.dev_freq_khz; in mlx5_txpp_create()
H A Dmlx5_ethdev.c348 if (priv->sh->cdev->config.hca_attr.mem_rq_rmp && in mlx5_dev_infos_get()
H A Dmlx5_flow.c3230 uint8_t opt_len = priv->sh->cdev->config.hca_attr.geneve_max_opt_len ? in mlx5_flow_validate_item_geneve()
3238 if (!priv->sh->cdev->config.hca_attr.tunnel_stateless_geneve_rx) in mlx5_flow_validate_item_geneve()
3318 struct mlx5_hca_attr *hca_attr = &sh->cdev->config.hca_attr; in mlx5_flow_validate_item_geneve_opt() local
3320 hca_attr->max_geneve_tlv_option_data_len * 4; in mlx5_flow_validate_item_geneve_opt()
3354 hca_attr->max_geneve_tlv_option_data_len) in mlx5_flow_validate_item_geneve_opt()
3358 if (hca_attr->max_geneve_tlv_options > 1) in mlx5_flow_validate_item_geneve_opt()
3413 if (!hca_attr->geneve_tlv_opt) in mlx5_flow_validate_item_geneve_opt()
6662 priv->sh->cdev->config.hca_attr.reg_c_preserve); in flow_create_split_sample()
H A Dmlx5_flow_meter.c161 if (!priv->sh->cdev->config.hca_attr.qos.flow_meter_old) in mlx5_flow_meter_profile_validate()
434 struct mlx5_hca_qos_attr *qattr = &priv->sh->cdev->config.hca_attr.qos; in mlx5_flow_mtr_cap_get()
H A Dmlx5_rxq.c877 if (!priv->sh->cdev->config.hca_attr.mem_rq_rmp) { in mlx5_rx_queue_setup()
1527 if (priv->sh->cdev->config.hca_attr.lro_max_msg_sz_mode == in mlx5_max_lro_msg_size_adjust()
H A Dmlx5_flow_aso.c206 mlx5_ts_format_conv(cdev->config.hca_attr.sq_ts_format), in mlx5_aso_sq_create()
H A Dmlx5_flow_flex.c1152 struct mlx5_hca_flex_attr *attr = &priv->sh->cdev->config.hca_attr.flex; in mlx5_flex_translate_conf()
H A Dmlx5.h1608 struct mlx5_hca_attr *hca_attr);
H A Dmlx5_flow_dv.c102 if (cdev->config.hca_attr.esw_mgr_vport_id_valid) in flow_dv_get_esw_manager_vport_id()
103 return (int16_t)cdev->config.hca_attr.esw_mgr_vport_id; in flow_dv_get_esw_manager_vport_id()
2329 if (!priv->sh->cdev->config.hca_attr.tunnel_stateless_gtp) in flow_dv_validate_item_gtp()
2438 struct mlx5_hca_attr *attr = &priv->sh->cdev->config.hca_attr; in flow_dv_validate_item_ipv4()
3401 if (priv->sh->cdev->config.hca_attr.scatter_fcs_w_decap_disable && in flow_dv_validate_action_decap()
5773 if (!priv->sh->cdev->config.hca_attr.reg_c_preserve && in flow_dv_validate_action_sample()
6701 if (!priv->sh->cdev->config.hca_attr.pkt_integrity_match) in flow_dv_validate_item_integrity()
/dpdk/drivers/regex/mlx5/
H A Dmlx5_regex.c74 struct mlx5_hca_attr *attr = &cdev->config.hca_attr; in mlx5_regex_dev_probe()
H A Dmlx5_regex_control.c142 (priv->cdev->config.hca_attr.qp_ts_format), in regex_ctrl_create_hw_qp()
/dpdk/drivers/crypto/mlx5/
H A Dmlx5_crypto.c631 mlx5_ts_format_conv(priv->cdev->config.hca_attr.qp_ts_format); in mlx5_crypto_queue_pair_setup()
906 if (!cdev->config.hca_attr.crypto || !cdev->config.hca_attr.aes_xts) { in mlx5_crypto_dev_probe()
948 cdev->config.hca_attr.max_wqe_sz_sq, devarg_prms.max_segs_num); in mlx5_crypto_dev_probe()
/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa_event.c589 mlx5_ts_format_conv(priv->cdev->config.hca_attr.qp_ts_format); in mlx5_vdpa_event_qp_create()
601 mlx5_ts_format_conv(priv->cdev->config.hca_attr.qp_ts_format); in mlx5_vdpa_event_qp_create()
H A Dmlx5_vdpa.c615 struct mlx5_hca_attr *attr = &cdev->config.hca_attr; in mlx5_vdpa_dev_probe()
/dpdk/drivers/common/mlx5/
H A Dmlx5_common.h447 struct mlx5_hca_attr hca_attr; /* HCA attributes. */ member
H A Dmlx5_common.c703 &cdev->config.hca_attr); in mlx5_dev_hw_global_prepare()
/dpdk/drivers/compress/mlx5/
H A Dmlx5_compress.c245 mlx5_ts_format_conv(priv->cdev->config.hca_attr.qp_ts_format); in mlx5_compress_qp_setup()
715 struct mlx5_hca_attr *attr = &cdev->config.hca_attr; in mlx5_compress_dev_probe()