/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.c | 727 return (rep->vport == MLX5_VPORT_UPLINK); in mlx5e_is_uplink_rep() 850 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_build_rep_params() 873 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_build_rep_params() 969 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_create_rep_ttc_table() 991 if (rep->vport != MLX5_VPORT_UPLINK) { in mlx5e_create_rep_root_ft() 1024 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_destroy_rep_root_ft() 1220 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) { in mlx5e_init_rep_tx() 1233 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) in mlx5e_init_rep_tx() 1247 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) in mlx5e_cleanup_rep_tx() 1278 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 | 99 spec->flow_context.flow_source = (attr->in_rep->vport == MLX5_VPORT_UPLINK) ? in mlx5_eswitch_set_rule_flow_source() 439 esw_attr->dests[attr_idx].vport == MLX5_VPORT_UPLINK && in esw_setup_uplink_fwd_ipsec_needed() 480 if (dest[dest_idx].vport.num == MLX5_VPORT_UPLINK && in esw_setup_dest_fwd_vport() 555 if (dests[i].vport.num == MLX5_VPORT_UPLINK && in esw_dests_to_int_external() 1002 if (rep->vport == MLX5_VPORT_UPLINK && in mlx5_eswitch_add_send_to_vport_rule() 1015 rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_add_send_to_vport_rule() 2695 MLX5_SET(fte_match_set_misc, misc, source_port, MLX5_VPORT_UPLINK); in __esw_set_master_egress_rule() 3171 if (vport->vport == MLX5_VPORT_UPLINK) in esw_offloads_vport_metadata_setup() 3186 if (vport->vport == MLX5_VPORT_UPLINK) in esw_offloads_vport_metadata_cleanup() 3261 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() 1797 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 | 641 (vport_num == MLX5_VPORT_UPLINK && mlx5_lag_is_master(esw->dev)); in mlx5_esw_is_owner()
|
H A D | en_tc.c | 1768 if (esw_attr->dests[i].vport == MLX5_VPORT_UPLINK && in extra_split_attr_dests_needed() 3176 if (rep->vport != MLX5_VPORT_UPLINK && in parse_cls_flower() 4363 bool is_rep_ingress = esw_attr->in_rep->vport != MLX5_VPORT_UPLINK && in is_peer_flow_needed() 4603 if (attr->in_rep->vport == MLX5_VPORT_UPLINK && !mlx5_lag_is_mpesw(priv->mdev)) in mlx5e_tc_add_fdb_peer_flow() 4770 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 | 3352 mlx5_eswitch_set_vport_state(esw, MLX5_VPORT_UPLINK, vport_admin_state); in mlx5e_modify_admin_state()
|
/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()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | mlx5hws_vport.c | 69 if (vport == MLX5_VPORT_UPLINK) { in mlx5hws_vport_get_gvmi()
|
H A D | mlx5hws_action.c | 294 if (stc_attr->vport.vport_num != MLX5_VPORT_UPLINK) in hws_action_fixup_stc_attr()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | devlink.c | 67 MLX5_VPORT_UPLINK); in mlx5e_devlink_port_register()
|
/linux/include/linux/mlx5/ |
H A D | vport.h | 55 MLX5_VPORT_UPLINK = 0xffff enumerator
|
/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()
|
/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()
|
/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() 323 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/drivers/infiniband/hw/mlx5/ |
H A D | counters.c | 344 dev->port[port_num].rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_query_q_counters_vport()
|