Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_geneve.c143 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, ft_field_support.outer_geneve_vni)) { in mlx5e_tc_tun_parse_geneve_vni()
180 !MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, in mlx5e_tc_tun_parse_geneve_options()
200 !MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, in mlx5e_tc_tun_parse_geneve_options()
276 if (MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, in mlx5e_tc_tun_parse_geneve_options()
297 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, ft_field_support.outer_geneve_oam)) { in mlx5e_tc_tun_parse_geneve_params()
307 if (MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, in mlx5e_tc_tun_parse_geneve_params()
Dmod_hdr.h52 return MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, max_modify_header_actions); in mlx5e_mod_hdr_max_actions()
Dtc_tun_mplsoudp.c10 return MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, reformat_l3_tunnel_to_l2); in can_offload()
Dtc_tun_vxlan.c127 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, in mlx5e_tc_tun_parse_vxlan()
Dtc_tun.c921 !MLX5_CAP_ESW_FLOWTABLE_FDB in mlx5e_tc_tun_parse()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dmlx5dr.h149 (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, sw_owner) || in mlx5dr_is_supported()
150 (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, sw_owner_v2) && in mlx5dr_is_supported()
Ddr_cmd.c81 caps->sw_owner_v2 = MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, sw_owner_v2); in mlx5dr_cmd_query_esw_caps()
83 caps->sw_owner = MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, sw_owner); in mlx5dr_cmd_query_esw_caps()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dstd_types.c38 sw_owner_supp = MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, sw_owner) || in fill_vport_icm_addr()
39 MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, sw_owner_v2); in fill_vport_icm_addr()
Dfs.c1458 MLX5_CAP_ESW_FLOWTABLE_FDB(dev->mdev, log_max_ft_size)); in _get_flow_table()
1459 if (MLX5_CAP_ESW_FLOWTABLE_FDB(dev->mdev, decap) && esw_encap) in _get_flow_table()
1461 if (MLX5_CAP_ESW_FLOWTABLE_FDB(dev->mdev, in _get_flow_table()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h530 bool ret = MLX5_CAP_ESW_FLOWTABLE_FDB(dev, pop_vlan) && in mlx5_eswitch_vlan_actions_supported()
531 MLX5_CAP_ESW_FLOWTABLE_FDB(dev, push_vlan); in mlx5_eswitch_vlan_actions_supported()
536 return ret && MLX5_CAP_ESW_FLOWTABLE_FDB(dev, pop_vlan_2) && in mlx5_eswitch_vlan_actions_supported()
537 MLX5_CAP_ESW_FLOWTABLE_FDB(dev, push_vlan_2); in mlx5_eswitch_vlan_actions_supported()
Deswitch_offloads_termtbl.c222 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, termination_table) || in mlx5_eswitch_termtbl_required()
223 !MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, ignore_flow_level) || in mlx5_eswitch_termtbl_required()
Dfs_core.h356 (type == FS_FT_FDB) ? MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, cap) : \
Deswitch_offloads.c248 if (MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, ignore_flow_level)) in esw_setup_slow_path_dest()
463 MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, ignore_flow_level); in esw_src_port_rewrite_supported()
1517 if (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, ignore_flow_level)) in esw_init_chains_offload_flags()
1553 fdb_max = 1 << MLX5_CAP_ESW_FLOWTABLE_FDB(dev, log_max_ft_size); in esw_chains_create()
3672 (!MLX5_CAP_ESW_FLOWTABLE_FDB(dev, reformat) || in mlx5_devlink_eswitch_encap_mode_set()
3673 !MLX5_CAP_ESW_FLOWTABLE_FDB(dev, decap))) { in mlx5_devlink_eswitch_encap_mode_set()
Deswitch.c1262 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, ft_support)) { in mlx5_eswitch_enable_locked()
1621 if (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, reformat) && in mlx5_eswitch_init()
1622 MLX5_CAP_ESW_FLOWTABLE_FDB(dev, decap)) in mlx5_eswitch_init()
Dfs_cmd.c922 max_actions = MLX5_CAP_ESW_FLOWTABLE_FDB(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
Dfs_core.c3166 if (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, ft_support)) { in mlx5_fs_core_init()
Den_tc.c2856 !MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, in __parse_cls_flower()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dmpls.c17 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, reformat_l2_to_l3_tunnel) || in tc_act_can_offload_mpls_push()
Dgoto.c28 MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, reformat_and_fwd_to_table) : in validate_goto_chain()
Dmirred.c45 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, in verify_uplink_forwarding()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c71 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(dev, termination_table)) { in sampler_termtbl_create()
127 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, ignore_flow_level)) in sampler_obj_create()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.c87 MLX5_CAP_ESW_FLOWTABLE_FDB(dev, log_max_ft_size)); in esw_create_legacy_fdb_table()
Dbridge.c131 return BIT(MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, reformat_remove)) && in mlx5_esw_bridge_pkt_reformat_vlan_pop_supported()
1080 if (!BIT(MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, reformat_insert)) || in mlx5_esw_bridge_vlan_push_create()
/linux-6.1.9/include/linux/mlx5/
Ddevice.h1334 #define MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, cap) \ macro