| /Linux-v6.6/drivers/infiniband/hw/mlx5/ |
| D | ib_rep.c | 68 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5_ib_vport_rep_load() 88 if (rep->vport == MLX5_VPORT_UPLINK && !new_uplink) in mlx5_ib_vport_rep_load() 151 if (rep->vport == MLX5_VPORT_UPLINK && !mlx5_lag_is_mpesw(mdev)) in mlx5_ib_vport_rep_unload() 169 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5_ib_vport_rep_unload()
|
| D | std_types.c | 41 if (vport == MLX5_VPORT_UPLINK) { in fill_vport_icm_addr() 132 if (rep->vport != MLX5_VPORT_UPLINK) { in fill_switchdev_info()
|
| D | counters.c | 340 dev->port[port_num].rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_query_q_counters_vport()
|
| D | main.c | 141 if (upper == ndev && port->rep->vport == MLX5_VPORT_UPLINK) { in mlx5_get_rep_roce() 146 if (upper && port->rep->vport == MLX5_VPORT_UPLINK) in mlx5_get_rep_roce()
|
| /Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_rep.c | 663 return (rep->vport == MLX5_VPORT_UPLINK); in mlx5e_is_uplink_rep() 790 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_build_rep_params() 813 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_build_rep_params() 908 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_create_rep_ttc_table() 930 if (rep->vport != MLX5_VPORT_UPLINK) { in mlx5e_create_rep_root_ft() 963 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_destroy_rep_root_ft() 1172 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) { in mlx5e_init_rep_tx() 1185 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) in mlx5e_init_rep_tx() 1200 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) in mlx5e_cleanup_rep_tx() 1226 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_rep_event_mpesw() [all …]
|
| 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].rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_termtbl_required()
|
| D | eswitch_offloads.c | 95 spec->flow_context.flow_source = (attr->in_rep->vport == MLX5_VPORT_UPLINK) ? in mlx5_eswitch_set_rule_flow_source() 436 esw_attr->dests[attr_idx].rep->vport == MLX5_VPORT_UPLINK && in esw_setup_uplink_fwd_ipsec_needed() 477 if (dest[dest_idx].vport.num == MLX5_VPORT_UPLINK && in esw_setup_dest_fwd_vport() 548 if (dests[i].vport.num == MLX5_VPORT_UPLINK) in esw_dests_to_vf_pf_vports() 987 if (rep->vport == MLX5_VPORT_UPLINK && on_esw->offloads.ft_ipsec_tx_pol) { in mlx5_eswitch_add_send_to_vport_rule() 999 rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_add_send_to_vport_rule() 2658 MLX5_SET(fte_match_set_misc, misc, source_port, MLX5_VPORT_UPLINK); in __esw_set_master_egress_rule() 3134 if (vport->vport == MLX5_VPORT_UPLINK) in esw_offloads_vport_metadata_setup() 3149 if (vport->vport == MLX5_VPORT_UPLINK) in esw_offloads_vport_metadata_cleanup() 3224 uplink = mlx5_eswitch_get_vport(esw, MLX5_VPORT_UPLINK); in esw_create_offloads_acl_tables() [all …]
|
| 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() 1806 err = mlx5_esw_vport_alloc(esw, idx, MLX5_VPORT_UPLINK); in mlx5_esw_vports_init() 2045 if (vport == MLX5_VPORT_UPLINK) { in mlx5_eswitch_set_vport_state()
|
| D | eswitch.h | 636 (vport_num == MLX5_VPORT_UPLINK && mlx5_lag_is_master(esw->dev)); in mlx5_esw_is_owner()
|
| D | en_tc.c | 3053 if (rep->vport != MLX5_VPORT_UPLINK && in parse_cls_flower() 4220 bool is_rep_ingress = esw_attr->in_rep->vport != MLX5_VPORT_UPLINK && in is_peer_flow_needed() 4460 if (attr->in_rep->vport == MLX5_VPORT_UPLINK && !mlx5_lag_is_mpesw(priv->mdev)) in mlx5e_tc_add_fdb_peer_flow() 4627 return netif_is_lag_port(dev) && rpriv && rpriv->rep->vport != MLX5_VPORT_UPLINK; in is_flow_rule_duplicate_allowed()
|
| D | en_main.c | 3106 mlx5_eswitch_set_vport_state(esw, MLX5_VPORT_UPLINK, vport_admin_state); in mlx5e_modify_admin_state()
|
| /Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| 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()
|
| D | lag.c | 376 MLX5_VPORT_UPLINK); in mlx5_lag_drop_rule_cleanup() 405 MLX5_VPORT_UPLINK); in mlx5_lag_drop_rule_setup()
|
| /Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | devlink.c | 59 MLX5_VPORT_UPLINK); in mlx5e_devlink_port_register()
|
| /Linux-v6.6/include/linux/mlx5/ |
| D | vport.h | 55 MLX5_VPORT_UPLINK = 0xffff enumerator
|
| /Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| D | ingress_ofld.c | 205 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.6/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| D | legacy.c | 274 MLX5_SET(fte_match_set_misc, misc, source_port, MLX5_VPORT_UPLINK); in _mlx5_eswitch_set_vepa_locked() 294 dest.vport.num = MLX5_VPORT_UPLINK; in _mlx5_eswitch_set_vepa_locked()
|
| D | indir_table.c | 81 return esw_attr->in_rep->vport == MLX5_VPORT_UPLINK && in mlx5_esw_indir_table_needed()
|
| D | bridge_mcast.c | 589 port->vport_num == MLX5_VPORT_UPLINK) in mlx5_esw_bridge_mcast_vlan_flow_create() 664 port->vport_num == MLX5_VPORT_UPLINK) in mlx5_esw_bridge_mcast_fwd_flow_create()
|
| D | bridge.c | 757 vport_num == MLX5_VPORT_UPLINK) in mlx5_esw_bridge_egress_flow_create()
|
| /Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| D | dr_domain.c | 232 uplink_vport->num = MLX5_VPORT_UPLINK; in dr_domain_fill_uplink_caps() 323 if (vport == MLX5_VPORT_UPLINK) in mlx5dr_domain_get_vport_cap()
|
| 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()
|
| D | fs_dr.c | 204 return mlx5dr_action_create_dest_vport(domain, MLX5_VPORT_UPLINK, 1, in create_uplink_action()
|
| /Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| D | ipsec_fs.c | 634 dest.vport.num = MLX5_VPORT_UPLINK; in tx_create()
|