| /linux-6.15/drivers/infiniband/hw/mlx5/ |
| H A D | ib_rep.c | 66 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5_ib_vport_rep_load() 86 if (rep->vport == MLX5_VPORT_UPLINK && !new_uplink) in mlx5_ib_vport_rep_load() 154 if (rep->vport == MLX5_VPORT_UPLINK && !mlx5_lag_is_mpesw(mdev)) in mlx5_ib_vport_rep_unload() 171 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5_ib_vport_rep_unload()
|
| H A D | std_types.c | 42 if (vport == MLX5_VPORT_UPLINK) { in fill_vport_icm_addr() 150 if (rep->vport != MLX5_VPORT_UPLINK) { in fill_switchdev_info()
|
| H A D | main.c | 144 if (upper == ndev && port->rep->vport == MLX5_VPORT_UPLINK) { in mlx5_get_rep_roce() 149 if (upper && port->rep->vport == MLX5_VPORT_UPLINK) in mlx5_get_rep_roce() 194 if (port->rep && port->rep->vport == MLX5_VPORT_UPLINK) { in mlx5_ib_get_rep_uplink_netdev() 3251 MLX5_VPORT_UPLINK) { in lag_event()
|
| H A D | counters.c | 351 dev->port[port_num].rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_query_q_counters_vport()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_rep.c | 729 return (rep->vport == MLX5_VPORT_UPLINK); in mlx5e_is_uplink_rep() 852 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_build_rep_params() 877 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_build_rep_params() 975 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_create_rep_ttc_table() 997 if (rep->vport != MLX5_VPORT_UPLINK) { in mlx5e_create_rep_root_ft() 1030 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_destroy_rep_root_ft() 1239 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) in mlx5e_init_rep_tx() 1253 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) in mlx5e_cleanup_rep_tx() 1284 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_rep_event_mpesw() 1617 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_vport_rep_load() [all …]
|
| H A D | eswitch_offloads_termtbl.c | 210 return (port_mask & port_value) == MLX5_VPORT_UPLINK; in mlx5_eswitch_offload_is_uplink_port() 237 esw_attr->dests[i].vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_termtbl_required()
|
| H A D | eswitch_offloads.c | 477 if (dest[dest_idx].vport.num == MLX5_VPORT_UPLINK && in esw_setup_dest_fwd_vport() 552 if (dests[i].vport.num == MLX5_VPORT_UPLINK && in esw_dests_to_int_external() 1000 if (rep->vport == MLX5_VPORT_UPLINK && in mlx5_eswitch_add_send_to_vport_rule() 1013 rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_add_send_to_vport_rule() 3190 if (vport->vport == MLX5_VPORT_UPLINK) in esw_offloads_vport_metadata_setup() 3205 if (vport->vport == MLX5_VPORT_UPLINK) in esw_offloads_vport_metadata_cleanup() 3313 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_UPLINK); in esw_destroy_offloads_acl_tables() 3327 rep = mlx5_eswitch_get_rep(esw, MLX5_VPORT_UPLINK); in mlx5_eswitch_reload_ib_reps() 3588 mlx5_esw_offloads_rep_unload(esw, MLX5_VPORT_UPLINK); in esw_offloads_enable() 3627 mlx5_esw_offloads_rep_unload(esw, MLX5_VPORT_UPLINK); in esw_offloads_disable() [all …]
|
| H A D | eswitch.c | 243 MLX5_SET(fte_match_set_misc, mv_misc, source_port, MLX5_VPORT_UPLINK); in __esw_fdb_set_vport_rule() 434 esw_fdb_set_vport_rule(esw, mac, MLX5_VPORT_UPLINK); in esw_add_mc_addr() 669 MLX5_VPORT_UPLINK); in esw_apply_vport_rx_mode() 1801 err = mlx5_esw_vport_alloc(esw, idx, MLX5_VPORT_UPLINK); in mlx5_esw_vports_init() 2043 if (vport == MLX5_VPORT_UPLINK) { in mlx5_eswitch_set_vport_state()
|
| H A D | eswitch.h | 639 (vport_num == MLX5_VPORT_UPLINK && mlx5_lag_is_master(esw->dev)); in mlx5_esw_is_owner()
|
| H A D | en_tc.c | 1765 if (esw_attr->dests[i].vport == MLX5_VPORT_UPLINK && in extra_split_attr_dests_needed() 3173 if (rep->vport != MLX5_VPORT_UPLINK && in parse_cls_flower() 4360 bool is_rep_ingress = esw_attr->in_rep->vport != MLX5_VPORT_UPLINK && in is_peer_flow_needed() 4600 if (attr->in_rep->vport == MLX5_VPORT_UPLINK && !mlx5_lag_is_mpesw(priv->mdev)) in mlx5e_tc_add_fdb_peer_flow() 4767 return netif_is_lag_port(dev) && rpriv && rpriv->rep->vport != MLX5_VPORT_UPLINK; in is_flow_rule_duplicate_allowed()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| H A D | mpesw.c | 24 mlx5_esw_acl_ingress_vport_metadata_update(esw, MLX5_VPORT_UPLINK, 0); in mlx5_mpesw_metadata_cleanup() 49 err = mlx5_esw_acl_ingress_vport_metadata_update(esw, MLX5_VPORT_UPLINK, in mlx5_mpesw_metadata_set()
|
| H A D | lag.c | 426 MLX5_VPORT_UPLINK); in mlx5_lag_drop_rule_cleanup() 455 MLX5_VPORT_UPLINK); in mlx5_lag_drop_rule_setup()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | vport.c | 69 if (vport == MLX5_VPORT_UPLINK) { in mlx5hws_vport_get_gvmi()
|
| H A D | fs_hws.c | 426 vport_num = is_dest_type_uplink ? MLX5_VPORT_UPLINK : dest_attr->vport.num; in mlx5_fs_get_dest_action_vport()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | devlink.c | 67 MLX5_VPORT_UPLINK); in mlx5e_devlink_port_register()
|
| /linux-6.15/include/linux/mlx5/ |
| H A D | vport.h | 55 MLX5_VPORT_UPLINK = 0xffff enumerator
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| H A D | ingress_ofld.c | 221 if (vport->vport == MLX5_VPORT_UPLINK) { in esw_acl_ingress_ofld_groups_create() 328 if (vport->vport == MLX5_VPORT_UPLINK) in acl_ingress_ofld_setup()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_domain.c | 232 uplink_vport->num = MLX5_VPORT_UPLINK; in dr_domain_fill_uplink_caps() 325 if (vport == MLX5_VPORT_UPLINK) in mlx5dr_domain_get_vport_cap()
|
| H A D | dr_rule.c | 1096 if (rx && value->misc.source_port != MLX5_VPORT_UPLINK) in dr_rule_skip() 1099 if (!rx && value->misc.source_port == MLX5_VPORT_UPLINK) in dr_rule_skip()
|
| H A D | fs_dr.c | 196 return mlx5dr_action_create_dest_vport(domain, MLX5_VPORT_UPLINK, 1, in create_uplink_action()
|
| H A D | dr_action.c | 877 if (unlikely(rx_rule && action->vport->caps->num == MLX5_VPORT_UPLINK)) { in mlx5dr_actions_build_ste_arr()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | legacy.c | 271 MLX5_SET(fte_match_set_misc, misc, source_port, MLX5_VPORT_UPLINK); in _mlx5_eswitch_set_vepa_locked() 291 dest.vport.num = MLX5_VPORT_UPLINK; in _mlx5_eswitch_set_vepa_locked()
|
| H A D | indir_table.c | 81 return esw_attr->in_rep->vport == MLX5_VPORT_UPLINK && in mlx5_esw_indir_table_needed()
|
| H A D | bridge_mcast.c | 81 if (port->vport_num == MLX5_VPORT_UPLINK) in mlx5_esw_bridge_mdb_flow_create()
|
| H A D | bridge.c | 760 vport_num == MLX5_VPORT_UPLINK) in mlx5_esw_bridge_egress_flow_create()
|