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/ |
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_vxlan.c | 10 return !!MLX5_CAP_ESW(priv->mdev, vxlan_encap_decap); in mlx5e_tc_tun_can_offload_vxlan()
|
D | tc_tun.c | 189 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/ |
D | eswitch_offloads.c | 283 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()
|
D | fs_cmd.c | 359 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()
|
D | eswitch.c | 155 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()
|
D | en_tc.c | 3713 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/ |
D | dr_cmd.c | 488 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/ |
D | driver.h | 1152 return mlx5_core_is_pf(dev) && MLX5_CAP_ESW(dev, ecpf_vport_exists); in mlx5_ecpf_vport_exists()
|
D | device.h | 1293 #define MLX5_CAP_ESW(mdev, cap) \ macro
|