Home
last modified time | relevance | path

Searched refs:MLX5_CAP_ESW (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_gre.c9 return !!MLX5_CAP_ESW(priv->mdev, nvgre_encap_decap); in mlx5e_tc_tun_can_offload_gretap()
Dtc_tun.c227 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_create_header_ipv4()
344 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_update_header_ipv4()
499 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_create_header_ipv6()
614 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_update_header_ipv6()
Dtc_tun_vxlan.c11 return !!MLX5_CAP_ESW(priv->mdev, vxlan_encap_decap); in mlx5e_tc_tun_can_offload_vxlan()
Dtc_tun_encap.c952 if (sizeof(attr->eth) > MLX5_CAP_ESW(priv->mdev, max_encap_header_size)) { in mlx5e_attach_decap()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c162 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) in mlx5_eswitch_set_rule_source_port()
169 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) in mlx5_eswitch_set_rule_source_port()
476 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) { in esw_setup_dest_fwd_vport()
982 if (MLX5_CAP_ESW(on_esw->dev, merged_eswitch)) in mlx5_eswitch_add_send_to_vport_rule()
989 if (MLX5_CAP_ESW(on_esw->dev, merged_eswitch)) in mlx5_eswitch_add_send_to_vport_rule()
1666 MLX5_CAP_ESW(esw->dev, merged_eswitch)) { in esw_create_send_to_vport_group()
1750 if (!MLX5_CAP_ESW(esw->dev, merged_eswitch)) in esw_create_peer_esw_miss_group()
1935 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) in esw_create_offloads_fdb_tables()
1967 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) in esw_destroy_offloads_fdb_tables()
3071 if (!MLX5_CAP_ESW(esw->dev, merged_eswitch)) in mlx5_esw_offloads_devcom_init()
[all …]
Dfs_cmd.c460 MLX5_CAP_ESW(dev, log_max_fdb_encap_uplink); in mlx5_set_extended_dest()
887 max_encap_size = MLX5_CAP_ESW(dev, max_encap_header_size); in mlx5_cmd_packet_reformat_alloc()
Deswitch.c168 if (!MLX5_CAP_ESW(dev, vport_cvlan_strip) || in modify_esw_vport_cvlan()
169 !MLX5_CAP_ESW(dev, vport_cvlan_insert_if_not_exist)) in modify_esw_vport_cvlan()
180 if (MLX5_CAP_ESW(dev, vport_cvlan_insert_always)) { in modify_esw_vport_cvlan()
Den_tc.c4178 return (MLX5_CAP_ESW(priv->mdev, merged_eswitch) && in is_merged_eswitch_vfs()
4513 if (MLX5_CAP_ESW(esw->dev, counter_eswitch_affinity) == in mlx5e_flow_esw_attr_init()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_lgcy.c212 else if (!MLX5_CAP_ESW(esw->dev, vport_cvlan_insert_always)) in esw_acl_ingress_lgcy_setup()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge_mcast.c611 if (MLX5_CAP_ESW(bridge->br_offloads->esw->dev, merged_eswitch)) { in mlx5_esw_bridge_mcast_vlan_flow_create()
663 if (MLX5_CAP_ESW(bridge->br_offloads->esw->dev, merged_eswitch)) { in mlx5_esw_bridge_mcast_fwd_flow_create()
Dbridge.c792 if (MLX5_CAP_ESW(bridge->br_offloads->esw->dev, merged_eswitch)) { in mlx5_esw_bridge_egress_flow_create()
1669 if (!MLX5_CAP_ESW(br_offloads->esw->dev, merged_eswitch)) in mlx5_esw_bridge_vport_peer_link()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c871 MLX5_CAP_ESW(dev, root_ft_on_other_esw) && in mlx5_shared_fdb_supported()
882 MLX5_CAP_ESW(dev, esw_shared_ingress_acl) && in mlx5_shared_fdb_supported()
/linux-6.12.1/include/linux/mlx5/
Ddriver.h1249 return mlx5_core_is_pf(dev) && MLX5_CAP_ESW(dev, ecpf_vport_exists); in mlx5_ecpf_vport_exists()
Ddevice.h1365 #define MLX5_CAP_ESW(mdev, cap) \ macro
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c748 int fw_log_max_fdb_encap_uplink = MLX5_CAP_ESW(dev, log_max_fdb_encap_uplink); in mlx5dr_cmd_set_extended_dest()