Searched refs:MLX5_CAP_ESW (Results 1 – 15 of 15) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_gre.c | 9 return !!MLX5_CAP_ESW(priv->mdev, nvgre_encap_decap); in mlx5e_tc_tun_can_offload_gretap()
|
D | tc_tun.c | 227 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()
|
D | tc_tun_vxlan.c | 11 return !!MLX5_CAP_ESW(priv->mdev, vxlan_encap_decap); in mlx5e_tc_tun_can_offload_vxlan()
|
D | tc_tun_encap.c | 952 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/ |
D | eswitch_offloads.c | 162 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 …]
|
D | fs_cmd.c | 460 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()
|
D | eswitch.c | 168 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()
|
D | en_tc.c | 4178 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/ |
D | ingress_lgcy.c | 212 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/ |
D | bridge_mcast.c | 611 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()
|
D | bridge.c | 792 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/ |
D | lag.c | 871 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/ |
D | driver.h | 1249 return mlx5_core_is_pf(dev) && MLX5_CAP_ESW(dev, ecpf_vport_exists); in mlx5_ecpf_vport_exists()
|
D | device.h | 1365 #define MLX5_CAP_ESW(mdev, cap) \ macro
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_cmd.c | 748 int fw_log_max_fdb_encap_uplink = MLX5_CAP_ESW(dev, log_max_fdb_encap_uplink); in mlx5dr_cmd_set_extended_dest()
|