Home
last modified time | relevance | path

Searched refs:MLX5_VPORT_UPLINK (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.1/drivers/infiniband/hw/mlx5/
Dib_rep.c53 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_vport_rep_load()
60 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_vport_rep_load()
121 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_vport_rep_unload()
137 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5_ib_vport_rep_unload()
Dstd_types.c41 if (vport == MLX5_VPORT_UPLINK) { in fill_vport_icm_addr()
132 if (rep->vport != MLX5_VPORT_UPLINK) { in fill_switchdev_info()
Dmain.c140 if (upper == ndev && port->rep->vport == MLX5_VPORT_UPLINK) { in mlx5_get_rep_roce()
145 if (upper && port->rep->vport == MLX5_VPORT_UPLINK) in mlx5_get_rep_roce()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c561 return (rep->vport == MLX5_VPORT_UPLINK); in mlx5e_is_uplink_rep()
697 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_build_rep_params()
711 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_build_rep_params()
803 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_create_rep_ttc_table()
825 if (rep->vport != MLX5_VPORT_UPLINK) { in mlx5e_create_rep_root_ft()
858 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_destroy_rep_root_ft()
1041 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) { in mlx5e_init_rep_tx()
1054 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) in mlx5e_init_rep_tx()
1067 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) in mlx5e_cleanup_rep_tx()
1368 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_vport_rep_load()
[all …]
Deswitch_offloads.c101 spec->flow_context.flow_source = (attr->in_rep->vport == MLX5_VPORT_UPLINK) ? in mlx5_eswitch_set_rule_flow_source()
432 if (dest[dest_idx].vport.num == MLX5_VPORT_UPLINK && in esw_setup_vport_dest()
857 if (push && in_rep->vport == MLX5_VPORT_UPLINK) in esw_add_vlan_action_check()
860 if (pop && out_rep->vport == MLX5_VPORT_UPLINK) in esw_add_vlan_action_check()
865 if (in_rep->vlan && out_rep->vport == MLX5_VPORT_UPLINK) in esw_add_vlan_action_check()
910 if (esw_attr->dests[0].rep->vport == MLX5_VPORT_UPLINK) { in mlx5_eswitch_add_vlan_action()
975 if (esw_attr->dests[0].rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_del_vlan_action()
1046 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_add_send_to_vport_rule()
2449 rep = mlx5_eswitch_get_rep(esw, MLX5_VPORT_UPLINK); in __unload_reps_all_vport()
2494 if (vport_num != MLX5_VPORT_UPLINK) { in esw_offloads_load_rep()
[all …]
Deswitch_offloads_termtbl.c210 return (port_mask & port_value) == MLX5_VPORT_UPLINK; in mlx5_eswitch_offload_is_uplink_port()
237 esw_attr->dests[i].rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_termtbl_required()
Deswitch.c220 MLX5_SET(fte_match_set_misc, mv_misc, source_port, MLX5_VPORT_UPLINK); in __esw_fdb_set_vport_rule()
410 esw_fdb_set_vport_rule(esw, mac, MLX5_VPORT_UPLINK); in esw_add_mc_addr()
645 MLX5_VPORT_UPLINK); in esw_apply_vport_rx_mode()
1556 err = mlx5_esw_vport_alloc(esw, dev, idx, MLX5_VPORT_UPLINK); in mlx5_esw_vports_init()
1752 if (vport == MLX5_VPORT_UPLINK) { in mlx5_eswitch_set_vport_state()
Den_tc.c3007 if (rep->vport != MLX5_VPORT_UPLINK && in parse_cls_flower()
4160 bool is_rep_ingress = esw_attr->in_rep->vport != MLX5_VPORT_UPLINK && in is_peer_flow_needed()
4371 if (attr->in_rep->vport == MLX5_VPORT_UPLINK) in mlx5e_tc_add_fdb_peer_flow()
4524 return netif_is_lag_port(dev) && rpriv && rpriv->rep->vport != MLX5_VPORT_UPLINK; in is_flow_rule_duplicate_allowed()
Den_main.c3049 mlx5_eswitch_set_vport_state(esw, MLX5_VPORT_UPLINK, vport_admin_state); in mlx5e_modify_admin_state()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c19 return vport_num == MLX5_VPORT_UPLINK || in mlx5_esw_devlink_port_supported()
44 if (vport_num == MLX5_VPORT_UPLINK) { in mlx5_esw_dl_port_alloc()
Dlegacy.c274 MLX5_SET(fte_match_set_misc, misc, source_port, MLX5_VPORT_UPLINK); in _mlx5_eswitch_set_vepa_locked()
295 dest.vport.num = MLX5_VPORT_UPLINK; in _mlx5_eswitch_set_vepa_locked()
Dindir_table.c89 return esw_attr->in_rep->vport == MLX5_VPORT_UPLINK && in mlx5_esw_indir_table_needed()
199 MLX5_VPORT_UPLINK)); in mlx5_esw_indir_table_rule_get()
Dbridge.c829 vport_num == MLX5_VPORT_UPLINK) in mlx5_esw_bridge_egress_flow_create()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Ddevlink.c35 MLX5_VPORT_UPLINK); in mlx5e_devlink_port_register()
/Linux-v6.1/include/linux/mlx5/
Dvport.h55 MLX5_VPORT_UPLINK = 0xffff enumerator
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_ofld.c205 if (vport->vport == MLX5_VPORT_UPLINK) { in esw_acl_ingress_ofld_groups_create()
316 if (vport->vport == MLX5_VPORT_UPLINK) in esw_acl_ingress_ofld_setup()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_domain.c130 uplink_vport->num = MLX5_VPORT_UPLINK; in dr_domain_fill_uplink_caps()
221 if (vport == MLX5_VPORT_UPLINK) in mlx5dr_domain_get_vport_cap()
Ddr_rule.c1069 if (rx && value->misc.source_port != MLX5_VPORT_UPLINK) in dr_rule_skip()
1072 if (!rx && value->misc.source_port == MLX5_VPORT_UPLINK) in dr_rule_skip()
Dfs_dr.c203 return mlx5dr_action_create_dest_vport(domain, MLX5_VPORT_UPLINK, 1, in create_uplink_action()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c377 MLX5_VPORT_UPLINK); in mlx5_lag_drop_rule_cleanup()
406 MLX5_VPORT_UPLINK); in mlx5_lag_drop_rule_setup()