Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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()
H A Dmod_hdr.h52 return MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, max_modify_header_actions); in mlx5e_mod_hdr_max_actions()
H A Dtc_tun_mplsoudp.c10 return MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, reformat_l3_tunnel_to_l2); in can_offload()
H A Dtc_tun_vxlan.c189 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, in mlx5e_tc_tun_parse_vxlan()
H A Dtc_tun.c919 !MLX5_CAP_ESW_FLOWTABLE_FDB in mlx5e_tc_tun_parse()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Dmlx5dr.h165 (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, sw_owner) || in mlx5dr_is_supported()
166 (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, sw_owner_v2) && in mlx5dr_is_supported()
H A Ddr_cmd.c83 caps->sw_owner_v2 = MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, sw_owner_v2); in mlx5dr_cmd_query_esw_caps()
85 caps->sw_owner = MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, sw_owner); in mlx5dr_cmd_query_esw_caps()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A 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()
H A Dfs.c1455 MLX5_CAP_ESW_FLOWTABLE_FDB(dev->mdev, log_max_ft_size)); in _get_flow_table()
1456 if (MLX5_CAP_ESW_FLOWTABLE_FDB(dev->mdev, decap) && esw_encap) in _get_flow_table()
1458 if (MLX5_CAP_ESW_FLOWTABLE_FDB(dev->mdev, in _get_flow_table()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dmpls.c17 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, reformat_l2_to_l3_tunnel) || in tc_act_can_offload_mpls_push()
H A Dgoto.c28 MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, reformat_and_fwd_to_table) : in validate_goto_chain()
H A Dmirred.c45 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, in verify_uplink_forwarding()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h590 bool ret = MLX5_CAP_ESW_FLOWTABLE_FDB(dev, pop_vlan) && in mlx5_eswitch_vlan_actions_supported()
591 MLX5_CAP_ESW_FLOWTABLE_FDB(dev, push_vlan); in mlx5_eswitch_vlan_actions_supported()
596 return ret && MLX5_CAP_ESW_FLOWTABLE_FDB(dev, pop_vlan_2) && in mlx5_eswitch_vlan_actions_supported()
597 MLX5_CAP_ESW_FLOWTABLE_FDB(dev, push_vlan_2); in mlx5_eswitch_vlan_actions_supported()
H A 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()
H A Dfs_core.h365 (type == FS_FT_FDB) ? MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, cap) : \
H A Deswitch.c1468 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, ft_support)) { in mlx5_eswitch_enable_locked()
1892 if (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, reformat) && in mlx5_eswitch_init()
1893 MLX5_CAP_ESW_FLOWTABLE_FDB(dev, decap)) in mlx5_eswitch_init()
H A Deswitch_offloads.c255 if (MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, ignore_flow_level)) in esw_setup_slow_path_dest()
534 MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, ignore_flow_level); in esw_src_port_rewrite_supported()
1526 if (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, ignore_flow_level)) in esw_init_chains_offload_flags()
3946 (!MLX5_CAP_ESW_FLOWTABLE_FDB(dev, reformat) || in mlx5_devlink_eswitch_encap_mode_set()
3947 !MLX5_CAP_ESW_FLOWTABLE_FDB(dev, decap))) { in mlx5_devlink_eswitch_encap_mode_set()
H A Dfs_cmd.c961 max_actions = MLX5_CAP_ESW_FLOWTABLE_FDB(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
H A Dfs_core.c3416 if (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, ft_support)) { in mlx5_fs_core_init()
H A Den_tc.c2904 !MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, in __parse_cls_flower()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dlegacy.c87 MLX5_CAP_ESW_FLOWTABLE_FDB(dev, log_max_ft_size)); in esw_create_legacy_fdb_table()
H A Dbridge.c46 return BIT(MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, reformat_remove)) && in mlx5_esw_bridge_pkt_reformat_vlan_pop_supported()
1031 if (!BIT(MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, reformat_insert)) || in mlx5_esw_bridge_vlan_push_create()
1523 !MLX5_CAP_ESW_FLOWTABLE_FDB((esw)->dev, ignore_flow_level)) in mlx5_esw_bridge_mcast_set()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_offload.c56 MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, ignore_flow_level))) in mlx5_ipsec_device_caps()
/openbmc/linux/include/linux/mlx5/
H A Ddevice.h1326 #define MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, cap) \ macro