Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c727 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 Deswitch_offloads_termtbl.c210 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 Deswitch_offloads.c99 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 Deswitch.c243 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 Deswitch.h641 (vport_num == MLX5_VPORT_UPLINK && mlx5_lag_is_master(esw->dev)); in mlx5_esw_is_owner()
H A Den_tc.c1768 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 Den_main.c3352 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 Dmpesw.c24 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 Dlag.c376 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 Dmlx5hws_vport.c69 if (vport == MLX5_VPORT_UPLINK) { in mlx5hws_vport_get_gvmi()
H A Dmlx5hws_action.c294 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 Ddevlink.c67 MLX5_VPORT_UPLINK); in mlx5e_devlink_port_register()
/linux/include/linux/mlx5/
H A Dvport.h55 MLX5_VPORT_UPLINK = 0xffff enumerator
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dingress_ofld.c221 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 Dlegacy.c274 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 Dindir_table.c81 return esw_attr->in_rep->vport == MLX5_VPORT_UPLINK && in mlx5_esw_indir_table_needed()
H A Dbridge_mcast.c81 if (port->vport_num == MLX5_VPORT_UPLINK) in mlx5_esw_bridge_mdb_flow_create()
H A Dbridge.c757 vport_num == MLX5_VPORT_UPLINK) in mlx5_esw_bridge_egress_flow_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_domain.c232 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 Ddr_rule.c1096 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 Dfs_dr.c196 return mlx5dr_action_create_dest_vport(domain, MLX5_VPORT_UPLINK, 1, in create_uplink_action()
H A Ddr_action.c877 if (unlikely(rx_rule && action->vport->caps->num == MLX5_VPORT_UPLINK)) { in mlx5dr_actions_build_ste_arr()
/linux/drivers/infiniband/hw/mlx5/
H A Dcounters.c344 dev->port[port_num].rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_query_q_counters_vport()