Home
last modified time | relevance | path

Searched refs:MLX5_CAP_GEN_2 (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dmlx5_core.h367 return MLX5_CAP_GEN_2(dev, ec_vf_vport_base); in mlx5_core_ec_vf_vport_base()
394 if (MLX5_CAP_GEN_2(dev, max_num_eqs_24b)) in mlx5_max_eq_cap_get()
395 return MLX5_CAP_GEN_2(dev, max_num_eqs_24b); in mlx5_max_eq_cap_get()
Deswitch.h715 MLX5_CAP_GEN_2((esw->dev), ec_vf_vport_base), \
716 MLX5_CAP_GEN_2((esw->dev), ec_vf_vport_base) +\
Deq.c1191 int max_eqs_sf = MLX5_CAP_GEN_2(dev, sf_eq_usage) ? in get_num_eqs()
1192 MLX5_CAP_GEN_2(dev, max_num_eqs_24b) : in get_num_eqs()
Dvport.c1112 if (MLX5_CAP_GEN_2(master_mdev, sw_vhca_id_valid)) { in mlx5_nic_vport_affiliate_multiport()
1117 MLX5_CAP_GEN_2(master_mdev, sw_vhca_id)); in mlx5_nic_vport_affiliate_multiport()
Deswitch_offloads.c4614 if (!MLX5_CAP_GEN_2(esw->dev, max_num_eqs_24b)) { in mlx5_devlink_port_fn_max_io_eqs_get()
4664 if (!MLX5_CAP_GEN_2(esw->dev, max_num_eqs_24b)) { in mlx5_devlink_port_fn_max_io_eqs_set()
Den_ethtool.c2268 !MLX5_CAP_GEN_2(mdev, ts_cqe_metadata_size2wqe_counter)) in set_pflag_tx_port_ts()
Den_main.c89 if (!MLX5_CAP_GEN_2(mdev, min_mkey_log_entity_size_fixed_buffer_valid)) in mlx5e_hw_gro_supported()
92 if (MLX5_CAP_GEN_2(mdev, min_mkey_log_entity_size_fixed_buffer) > in mlx5e_hw_gro_supported()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.c627 use_l4_type = MLX5_CAP_GEN_2(dev, pcc_ifa2) && in mlx5_create_inner_ttc_table()
631 use_l4_type = MLX5_CAP_GEN_2(dev, pcc_ifa2) && in mlx5_create_inner_ttc_table()
700 use_l4_type = MLX5_CAP_GEN_2(dev, pcc_ifa2) && in mlx5_create_ttc_table()
704 use_l4_type = MLX5_CAP_GEN_2(dev, pcc_ifa2) && in mlx5_create_ttc_table()
Dsd.c89 u32 obj_supp = MLX5_CAP_GEN_2(dev, cross_vhca_object_to_object_supported); in ft_create_alias_supported()
116 if (host_buses > MLX5_CAP_GEN_2(dev, max_rqt_vhca_id)) in mlx5_sd_is_supported()
Dipsec_fs_roce.c62 u32 obj_supp = MLX5_CAP_GEN_2(mdev, cross_vhca_object_to_object_supported); in ipsec_fs_create_alias_supported_one()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_offload.c74 MLX5_CAP_GEN_2(mdev, flow_table_type_2_type) & MLX5_FT_NIC_RX_2_NIC_RX_RDMA && in mlx5_ipsec_device_caps()
75 MLX5_CAP_GEN_2(mdev, flow_table_type_2_type) & MLX5_FT_NIC_TX_RDMA_2_NIC_TX) in mlx5_ipsec_device_caps()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Drqt.c10 unsigned int max_num_vhca_id = MLX5_CAP_GEN_2(mdev, max_rqt_vhca_id); in verify_num_vhca_ids()
Dptp.c386 1 << MLX5_CAP_GEN_2(ptpsq->txqsq.mdev, in mlx5e_ptp_alloc_traffic_db()
676 min(MLX5_CAP_GEN_2(c->mdev, ts_cqe_metadata_size2wqe_counter), in mlx5e_ptp_build_params()
Dparams.c15 u8 min_page_shift = MLX5_CAP_GEN_2(mdev, log_min_mkey_entity_size); in mlx5e_mpwrq_min_page_shift()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c1382 MLX5_CAP_GEN_2(dmn->mdev, max_reformat_insert_size) < data_sz || in dr_action_verify_reformat_params()
1383 MLX5_CAP_GEN_2(dmn->mdev, max_reformat_insert_offset) < reformat_param_1) { in dr_action_verify_reformat_params()
1389 MLX5_CAP_GEN_2(dmn->mdev, max_reformat_remove_size) < data_sz || in dr_action_verify_reformat_params()
1390 MLX5_CAP_GEN_2(dmn->mdev, max_reformat_remove_offset) < reformat_param_1) { in dr_action_verify_reformat_params()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge.c47 MLX5_CAP_GEN_2(esw->dev, max_reformat_remove_size) >= sizeof(struct vlan_hdr) && in mlx5_esw_bridge_pkt_reformat_vlan_pop_supported()
48 MLX5_CAP_GEN_2(esw->dev, max_reformat_remove_offset) >= in mlx5_esw_bridge_pkt_reformat_vlan_pop_supported()
1032 MLX5_CAP_GEN_2(esw->dev, max_reformat_insert_size) < sizeof(vlan_hdr) || in mlx5_esw_bridge_vlan_push_create()
1033 MLX5_CAP_GEN_2(esw->dev, max_reformat_insert_offset) < in mlx5_esw_bridge_vlan_push_create()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/sf/
Ddevlink.c175 if (!vport->max_eqs_set && MLX5_CAP_GEN_2(dev, max_num_eqs_24b)) { in mlx5_sf_activate()
/linux-6.12.1/drivers/vfio/pci/mlx5/
Dcmd.c236 if (!(MLX5_CAP_GEN_2(mvdev->mdev, migration_multi_load) && in mlx5vf_cmd_set_migratable()
237 MLX5_CAP_GEN_2(mvdev->mdev, migration_tracking_state))) in mlx5vf_cmd_set_migratable()
277 if (MLX5_CAP_GEN_2(mvdev->mdev, migration_in_chunks)) in mlx5vf_cmd_set_migratable()
/linux-6.12.1/include/linux/mlx5/
Ddriver.h1377 if (((MLX5_CAP_GEN_2(mdev, flow_table_type_2_type) & in mlx5_is_macsec_roce_supported()
Ddevice.h1293 #define MLX5_CAP_GEN_2(mdev, cap) \ macro
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h1727 MLX5_CAP_GEN_2(dev->mdev, umr_log_entity_size_5) ? 6 : 5; in mlx5_umem_mkc_find_best_pgsz()
Dmain.c3567 !MLX5_CAP_GEN_2(dev->mdev, query_vuid)) in mlx5_ib_data_direct_init()
3589 !MLX5_CAP_GEN_2(dev->mdev, query_vuid)) in mlx5_ib_data_direct_cleanup()
4708 !MLX5_CAP_GEN_2(mparent->mdev, multiplane_qp_ud)) in mlx5_ib_add_sub_dev()