MLX5_CAP_ESW 212 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); MLX5_CAP_ESW 331 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); MLX5_CAP_ESW 9 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c return !!MLX5_CAP_ESW(priv->mdev, nvgre_encap_decap); MLX5_CAP_ESW 10 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c return !!MLX5_CAP_ESW(priv->mdev, vxlan_encap_decap); MLX5_CAP_ESW 2948 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c return (MLX5_CAP_ESW(priv->mdev, merged_eswitch) && MLX5_CAP_ESW 3579 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (MLX5_CAP_ESW(esw->dev, counter_eswitch_affinity) == MLX5_CAP_ESW 155 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c if (!MLX5_CAP_ESW(dev, vport_cvlan_strip) || MLX5_CAP_ESW 156 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c !MLX5_CAP_ESW(dev, vport_cvlan_insert_if_not_exist)) MLX5_CAP_ESW 476 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h return MLX5_CAP_ESW(dev, esw_functions_changed) || MLX5_CAP_ESW 119 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) MLX5_CAP_ESW 126 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) MLX5_CAP_ESW 188 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) MLX5_CAP_ESW 275 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (MLX5_CAP_ESW(esw->dev, merged_eswitch)) MLX5_CAP_ESW 1725 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (!MLX5_CAP_ESW(esw->dev, merged_eswitch)) MLX5_CAP_ESW 1742 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (!MLX5_CAP_ESW(esw->dev, merged_eswitch)) MLX5_CAP_ESW 1966 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (!MLX5_CAP_ESW(esw->dev, esw_uplink_ingress_acl)) MLX5_CAP_ESW 367 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_CAP_ESW(dev, log_max_fdb_encap_uplink); MLX5_CAP_ESW 710 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c max_encap_size = MLX5_CAP_ESW(dev, max_encap_header_size); MLX5_CAP_ESW 1138 include/linux/mlx5/driver.h return mlx5_core_is_pf(dev) && MLX5_CAP_ESW(dev, ecpf_vport_exists);