Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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_vxlan.c10 return !!MLX5_CAP_ESW(priv->mdev, vxlan_encap_decap); in mlx5e_tc_tun_can_offload_vxlan()
Dtc_tun.c189 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_create_header_ipv4()
354 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_create_header_ipv6()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c283 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) in mlx5_eswitch_set_rule_source_port()
290 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) in mlx5_eswitch_set_rule_source_port()
363 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) in mlx5_eswitch_add_offloaded_rule()
479 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) in mlx5_eswitch_add_fwd_rule()
1373 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) { in esw_create_offloads_fdb_tables()
1437 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) in esw_create_offloads_fdb_tables()
1462 if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) in esw_destroy_offloads_fdb_tables()
2001 if (!MLX5_CAP_ESW(esw->dev, merged_eswitch)) in esw_offloads_devcom_init()
2018 if (!MLX5_CAP_ESW(esw->dev, merged_eswitch)) in esw_offloads_devcom_cleanup()
2030 if (!MLX5_CAP_ESW(esw->dev, esw_uplink_ingress_acl)) in esw_check_vport_match_metadata_supported()
Dfs_cmd.c359 MLX5_CAP_ESW(dev, log_max_fdb_encap_uplink); in mlx5_set_extended_dest()
704 max_encap_size = MLX5_CAP_ESW(dev, max_encap_header_size); in mlx5_cmd_packet_reformat_alloc()
Deswitch.c155 if (!MLX5_CAP_ESW(dev, vport_cvlan_strip) || in modify_esw_vport_cvlan()
156 !MLX5_CAP_ESW(dev, vport_cvlan_insert_if_not_exist)) in modify_esw_vport_cvlan()
Den_tc.c3713 return (MLX5_CAP_ESW(priv->mdev, merged_eswitch) && in is_merged_eswitch_vfs()
3925 if (sizeof(parse_attr->eth) > MLX5_CAP_ESW(priv->mdev, max_encap_header_size)) { in mlx5e_attach_decap()
4703 if (MLX5_CAP_ESW(esw->dev, counter_eswitch_affinity) == in mlx5e_flow_esw_attr_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c488 int fw_log_max_fdb_encap_uplink = MLX5_CAP_ESW(dev, log_max_fdb_encap_uplink); in mlx5dr_cmd_set_extended_dest()
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h1152 return mlx5_core_is_pf(dev) && MLX5_CAP_ESW(dev, ecpf_vport_exists); in mlx5_ecpf_vport_exists()
Ddevice.h1293 #define MLX5_CAP_ESW(mdev, cap) \ macro