Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/infiniband/hw/mlx5/
Dib_rep.c53 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_vport_rep_load()
60 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_vport_rep_load()
121 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_vport_rep_unload()
137 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5_ib_vport_rep_unload()
Dstd_types.c41 if (vport == MLX5_VPORT_UPLINK) { in fill_vport_icm_addr()
132 if (rep->vport != MLX5_VPORT_UPLINK) { in fill_switchdev_info()
Dmain.c141 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-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c515 return (rep->vport == MLX5_VPORT_UPLINK); in mlx5e_is_uplink_rep()
651 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_build_rep_params()
665 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_build_rep_params()
739 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_create_rep_ttc_table()
761 if (rep->vport != MLX5_VPORT_UPLINK) { in mlx5e_create_rep_root_ft()
794 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_destroy_rep_root_ft()
973 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) { in mlx5e_init_rep_tx()
986 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) in mlx5e_init_rep_tx()
999 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) in mlx5e_cleanup_rep_tx()
1303 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_vport_rep_load()
[all …]
Deswitch_offloads.c99 spec->flow_context.flow_source = (attr->in_rep->vport == MLX5_VPORT_UPLINK) ? in mlx5_eswitch_set_rule_flow_source()
430 if (dest[dest_idx].vport.num == MLX5_VPORT_UPLINK && in esw_setup_vport_dest()
835 if (push && in_rep->vport == MLX5_VPORT_UPLINK) in esw_add_vlan_action_check()
838 if (pop && out_rep->vport == MLX5_VPORT_UPLINK) in esw_add_vlan_action_check()
843 if (in_rep->vlan && out_rep->vport == MLX5_VPORT_UPLINK) in esw_add_vlan_action_check()
888 if (esw_attr->dests[0].rep->vport == MLX5_VPORT_UPLINK) { in mlx5_eswitch_add_vlan_action()
953 if (esw_attr->dests[0].rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_del_vlan_action()
1024 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_add_send_to_vport_rule()
2324 rep = mlx5_eswitch_get_rep(esw, MLX5_VPORT_UPLINK); in __unload_reps_all_vport()
2369 if (vport_num != MLX5_VPORT_UPLINK) { in esw_offloads_load_rep()
[all …]
Deswitch_offloads_termtbl.c208 return (port_mask & port_value) == MLX5_VPORT_UPLINK; in mlx5_eswitch_offload_is_uplink_port()
235 esw_attr->dests[i].rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_termtbl_required()
Deswitch.c219 MLX5_SET(fte_match_set_misc, mv_misc, source_port, MLX5_VPORT_UPLINK); in __esw_fdb_set_vport_rule()
409 esw_fdb_set_vport_rule(esw, mac, MLX5_VPORT_UPLINK); in esw_add_mc_addr()
644 MLX5_VPORT_UPLINK); in esw_apply_vport_rx_mode()
1523 err = mlx5_esw_vport_alloc(esw, dev, idx, MLX5_VPORT_UPLINK); in mlx5_esw_vports_init()
1717 if (vport == MLX5_VPORT_UPLINK) { in mlx5_eswitch_set_vport_state()
Den_tc.c2809 if (rep->vport != MLX5_VPORT_UPLINK && in parse_cls_flower()
3946 bool is_rep_ingress = esw_attr->in_rep->vport != MLX5_VPORT_UPLINK && in is_peer_flow_needed()
4157 if (attr->in_rep->vport == MLX5_VPORT_UPLINK) in mlx5e_tc_add_fdb_peer_flow()
4310 return netif_is_lag_port(dev) && rpriv && rpriv->rep->vport != MLX5_VPORT_UPLINK; in is_flow_rule_duplicate_allowed()
Den_main.c2892 mlx5_eswitch_set_vport_state(esw, MLX5_VPORT_UPLINK, vport_admin_state); in mlx5e_modify_admin_state()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c19 return vport_num == MLX5_VPORT_UPLINK || in mlx5_esw_devlink_port_supported()
44 if (vport_num == MLX5_VPORT_UPLINK) { in mlx5_esw_dl_port_alloc()
Dlegacy.c274 MLX5_SET(fte_match_set_misc, misc, source_port, MLX5_VPORT_UPLINK); in _mlx5_eswitch_set_vepa_locked()
295 dest.vport.num = MLX5_VPORT_UPLINK; in _mlx5_eswitch_set_vepa_locked()
Dindir_table.c85 return esw_attr->in_rep->vport == MLX5_VPORT_UPLINK && in mlx5_esw_indir_table_needed()
195 MLX5_VPORT_UPLINK)); in mlx5_esw_indir_table_rule_get()
Dbridge.c681 vport_num == MLX5_VPORT_UPLINK) in mlx5_esw_bridge_egress_flow_create()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Ddevlink.c34 MLX5_VPORT_UPLINK); in mlx5e_devlink_port_register()
/linux-5.19.10/include/linux/mlx5/
Dvport.h55 MLX5_VPORT_UPLINK = 0xffff enumerator
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_ofld.c205 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-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_domain.c130 uplink_vport->num = MLX5_VPORT_UPLINK; in dr_domain_fill_uplink_caps()
221 if (vport == MLX5_VPORT_UPLINK) in mlx5dr_domain_get_vport_cap()
Ddr_rule.c1069 if (rx && value->misc.source_port != MLX5_VPORT_UPLINK) in dr_rule_skip()
1072 if (!rx && value->misc.source_port == MLX5_VPORT_UPLINK) in dr_rule_skip()
Dfs_dr.c202 return mlx5dr_action_create_dest_vport(domain, MLX5_VPORT_UPLINK, 1, in create_uplink_action()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c351 MLX5_VPORT_UPLINK); in mlx5_lag_drop_rule_cleanup()
380 MLX5_VPORT_UPLINK); in mlx5_lag_drop_rule_setup()