Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_geneve.c144 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, ft_field_support.outer_geneve_vni)) { in mlx5e_tc_tun_parse_geneve_vni()
181 !MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, in mlx5e_tc_tun_parse_geneve_options()
201 !MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, in mlx5e_tc_tun_parse_geneve_options()
277 if (MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, in mlx5e_tc_tun_parse_geneve_options()
298 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, ft_field_support.outer_geneve_oam)) { in mlx5e_tc_tun_parse_geneve_params()
308 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.c189 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, in mlx5e_tc_tun_parse_vxlan()
Dtc_tun.c929 !MLX5_CAP_ESW_FLOWTABLE_FDB in mlx5e_tc_tun_parse()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.h377 (type == FS_FT_FDB) ? MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, cap) : \
383 (type == FS_FT_FDB_RX) ? MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, cap) : \
384 (type == FS_FT_FDB_TX) ? MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, cap) : \
Deswitch.h600 bool ret = MLX5_CAP_ESW_FLOWTABLE_FDB(dev, pop_vlan) && in mlx5_eswitch_vlan_actions_supported()
601 MLX5_CAP_ESW_FLOWTABLE_FDB(dev, push_vlan); in mlx5_eswitch_vlan_actions_supported()
606 return ret && MLX5_CAP_ESW_FLOWTABLE_FDB(dev, pop_vlan_2) && in mlx5_eswitch_vlan_actions_supported()
607 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()
Deswitch.c1468 if (!MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, ft_support)) { in mlx5_eswitch_enable_locked()
1893 if (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, reformat) && in mlx5_eswitch_init()
1894 MLX5_CAP_ESW_FLOWTABLE_FDB(dev, decap)) in mlx5_eswitch_init()
Deswitch_offloads.c259 if (MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, ignore_flow_level)) in esw_setup_slow_path_dest()
538 MLX5_CAP_ESW_FLOWTABLE_FDB(esw->dev, ignore_flow_level); in esw_src_port_rewrite_supported()
1537 if (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, ignore_flow_level)) in esw_init_chains_offload_flags()
3967 (!MLX5_CAP_ESW_FLOWTABLE_FDB(dev, reformat) || in mlx5_devlink_eswitch_encap_mode_set()
3968 !MLX5_CAP_ESW_FLOWTABLE_FDB(dev, decap))) { in mlx5_devlink_eswitch_encap_mode_set()
Dfs_cmd.c961 max_actions = MLX5_CAP_ESW_FLOWTABLE_FDB(dev, max_modify_header_actions); in mlx5_cmd_modify_header_alloc()
Dfs_core.c3636 if (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, ft_support)) { in mlx5_fs_core_init()
Den_tc.c3023 !MLX5_CAP_ESW_FLOWTABLE_FDB(priv->mdev, in __parse_cls_flower()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dmlx5dr.h160 (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, sw_owner) || in mlx5dr_is_supported()
161 (MLX5_CAP_ESW_FLOWTABLE_FDB(dev, sw_owner_v2) && in mlx5dr_is_supported()
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()
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dstd_types.c39 sw_owner_supp = MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, sw_owner) || in fill_vport_icm_addr()
40 MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, sw_owner_v2); in fill_vport_icm_addr()
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()
/linux-6.12.1/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.12.1/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.12.1/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.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()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_offload.c57 MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, ignore_flow_level))) in mlx5_ipsec_device_caps()
/linux-6.12.1/include/linux/mlx5/
Ddevice.h1350 #define MLX5_CAP_ESW_FLOWTABLE_FDB(mdev, cap) \ macro