/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | mlx5_core.h | 367 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()
|
D | eswitch.h | 715 MLX5_CAP_GEN_2((esw->dev), ec_vf_vport_base), \ 716 MLX5_CAP_GEN_2((esw->dev), ec_vf_vport_base) +\
|
D | eq.c | 1191 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()
|
D | vport.c | 1112 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()
|
D | eswitch_offloads.c | 4614 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()
|
D | en_ethtool.c | 2268 !MLX5_CAP_GEN_2(mdev, ts_cqe_metadata_size2wqe_counter)) in set_pflag_tx_port_ts()
|
D | en_main.c | 89 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/ |
D | fs_ttc.c | 627 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()
|
D | sd.c | 89 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()
|
D | ipsec_fs_roce.c | 62 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/ |
D | ipsec_offload.c | 74 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/ |
D | rqt.c | 10 unsigned int max_num_vhca_id = MLX5_CAP_GEN_2(mdev, max_rqt_vhca_id); in verify_num_vhca_ids()
|
D | ptp.c | 386 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()
|
D | params.c | 15 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/ |
D | dr_action.c | 1382 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/ |
D | bridge.c | 47 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/ |
D | devlink.c | 175 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/ |
D | cmd.c | 236 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/ |
D | driver.h | 1377 if (((MLX5_CAP_GEN_2(mdev, flow_table_type_2_type) & in mlx5_is_macsec_roce_supported()
|
D | device.h | 1293 #define MLX5_CAP_GEN_2(mdev, cap) \ macro
|
/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 1727 MLX5_CAP_GEN_2(dev->mdev, umr_log_entity_size_5) ? 6 : 5; in mlx5_umem_mkc_find_best_pgsz()
|
D | main.c | 3567 !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()
|