/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A 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()
|
H A 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()
|
H A D | counters.c | 340 dev->port[port_num].rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_query_q_counters_vport()
|
H A D | main.c | 142 if (upper == ndev && port->rep->vport == MLX5_VPORT_UPLINK) { in mlx5_get_rep_roce() 147 if (upper && port->rep->vport == MLX5_VPORT_UPLINK) in mlx5_get_rep_roce()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.c | 667 return (rep->vport == MLX5_VPORT_UPLINK); in mlx5e_is_uplink_rep() 794 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_build_rep_params() 817 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_build_rep_params() 912 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_create_rep_ttc_table() 934 if (rep->vport != MLX5_VPORT_UPLINK) { in mlx5e_create_rep_root_ft() 967 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_destroy_rep_root_ft() 1176 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) { in mlx5e_init_rep_tx() 1189 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) in mlx5e_init_rep_tx() 1204 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) in mlx5e_cleanup_rep_tx() 1230 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_rep_event_mpesw() [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 | 92 spec->flow_context.flow_source = (attr->in_rep->vport == MLX5_VPORT_UPLINK) ? in mlx5_eswitch_set_rule_flow_source() 432 esw_attr->dests[attr_idx].vport == MLX5_VPORT_UPLINK && in esw_setup_uplink_fwd_ipsec_needed() 473 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_int_external() 988 if (rep->vport == MLX5_VPORT_UPLINK && in mlx5_eswitch_add_send_to_vport_rule() 1001 rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_add_send_to_vport_rule() 2680 MLX5_SET(fte_match_set_misc, misc, source_port, MLX5_VPORT_UPLINK); in __esw_set_master_egress_rule() 3156 if (vport->vport == MLX5_VPORT_UPLINK) in esw_offloads_vport_metadata_setup() 3171 if (vport->vport == MLX5_VPORT_UPLINK) in esw_offloads_vport_metadata_cleanup() 3246 uplink = mlx5_eswitch_get_vport(esw, MLX5_VPORT_UPLINK); in esw_create_offloads_acl_tables() [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() 1798 err = mlx5_esw_vport_alloc(esw, idx, MLX5_VPORT_UPLINK); in mlx5_esw_vports_init() 2034 if (vport == MLX5_VPORT_UPLINK) { in mlx5_eswitch_set_vport_state()
|
H A D | eswitch.h | 638 (vport_num == MLX5_VPORT_UPLINK && mlx5_lag_is_master(esw->dev)); in mlx5_esw_is_owner()
|
H A D | en_tc.c | 3057 if (rep->vport != MLX5_VPORT_UPLINK && in parse_cls_flower() 4244 bool is_rep_ingress = esw_attr->in_rep->vport != MLX5_VPORT_UPLINK && in is_peer_flow_needed() 4484 if (attr->in_rep->vport == MLX5_VPORT_UPLINK && !mlx5_lag_is_mpesw(priv->mdev)) in mlx5e_tc_add_fdb_peer_flow() 4651 return netif_is_lag_port(dev) && rpriv && rpriv->rep->vport != MLX5_VPORT_UPLINK; in is_flow_rule_duplicate_allowed()
|
H A D | en_main.c | 3119 mlx5_eswitch_set_vport_state(esw, MLX5_VPORT_UPLINK, vport_admin_state); in mlx5e_modify_admin_state()
|
/openbmc/linux/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 | 376 MLX5_VPORT_UPLINK); in mlx5_lag_drop_rule_cleanup() 405 MLX5_VPORT_UPLINK); in mlx5_lag_drop_rule_setup()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | devlink.c | 59 MLX5_VPORT_UPLINK); in mlx5e_devlink_port_register()
|
/openbmc/linux/include/linux/mlx5/ |
H A D | vport.h | 55 MLX5_VPORT_UPLINK = 0xffff enumerator
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A 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()
|
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 | 757 vport_num == MLX5_VPORT_UPLINK) in mlx5_esw_bridge_egress_flow_create()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
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 | 204 return mlx5dr_action_create_dest_vport(domain, MLX5_VPORT_UPLINK, 1, in create_uplink_action()
|
H A D | dr_action.c | 870 if (unlikely(rx_rule && action->vport->caps->num == MLX5_VPORT_UPLINK)) { in mlx5dr_actions_build_ste_arr()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_fs.c | 728 dest.vport.num = MLX5_VPORT_UPLINK; in tx_create()
|