Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dib_rep.c37 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_vport_rep_load()
82 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_vport_rep_unload()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c1278 return (rep->vport == MLX5_VPORT_UPLINK); in mlx5e_is_uplink_rep()
1423 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_build_rep_params()
1451 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5e_build_rep_netdev()
1480 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_build_rep_netdev()
1635 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) { in mlx5e_init_rep_tx()
1673 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) { in mlx5e_cleanup_rep_tx()
1799 return rpriv->rep->vport == MLX5_VPORT_UPLINK || in is_devlink_port_supported()
1823 if (rep->vport == MLX5_VPORT_UPLINK) { in register_devlink_port()
1870 profile = (rep->vport == MLX5_VPORT_UPLINK) ? in mlx5e_vport_rep_load()
1884 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5e_vport_rep_load()
[all …]
Deswitch_offloads.c134 attr->in_rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_set_rule_source_port()
400 if (push && in_rep->vport == MLX5_VPORT_UPLINK) in esw_add_vlan_action_check()
403 if (pop && out_rep->vport == MLX5_VPORT_UPLINK) in esw_add_vlan_action_check()
408 if (in_rep->vlan && out_rep->vport == MLX5_VPORT_UPLINK) in esw_add_vlan_action_check()
452 if (attr->dests[0].rep->vport == MLX5_VPORT_UPLINK) { in mlx5_eswitch_add_vlan_action()
516 if (attr->dests[0].rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_del_vlan_action()
1447 rep = mlx5_eswitch_get_rep(esw, MLX5_VPORT_UPLINK); in __unload_reps_special_vport()
1506 rep = mlx5_eswitch_get_rep(esw, MLX5_VPORT_UPLINK); in __load_reps_special_vport()
1534 rep = mlx5_eswitch_get_rep(esw, MLX5_VPORT_UPLINK); in __load_reps_special_vport()
2559 rep = mlx5_eswitch_get_rep(esw, MLX5_VPORT_UPLINK); in mlx5_eswitch_get_uplink_priv()
[all …]
Deswitch.h500 if (vport_num == MLX5_VPORT_UPLINK) in mlx5_eswitch_vport_num_to_index()
514 return MLX5_VPORT_UPLINK; in mlx5_eswitch_index_to_vport_num()
Deswitch_offloads_termtbl.c193 return (port_mask & port_value & 0xffff) == MLX5_VPORT_UPLINK; in mlx5_eswitch_offload_is_uplink_port()
Deswitch.c223 MLX5_SET(fte_match_set_misc, mv_misc, source_port, MLX5_VPORT_UPLINK); in __esw_fdb_set_vport_rule()
621 esw_fdb_set_vport_rule(esw, mac, MLX5_VPORT_UPLINK); in esw_add_mc_addr()
856 MLX5_VPORT_UPLINK); in esw_apply_vport_rx_mode()
2257 MLX5_SET(fte_match_set_misc, misc, source_port, MLX5_VPORT_UPLINK); in _mlx5_eswitch_set_vepa_locked()
2279 dest.vport.num = MLX5_VPORT_UPLINK; in _mlx5_eswitch_set_vepa_locked()
Den_tc.c2175 if (rep->vport != MLX5_VPORT_UPLINK && in parse_cls_flower()
3496 bool is_rep_ingress = attr->in_rep->vport != MLX5_VPORT_UPLINK && in is_peer_flow_needed()
3653 if (flow->esw_attr->in_rep->vport == MLX5_VPORT_UPLINK) in mlx5e_tc_add_fdb_peer_flow()
/Linux-v5.4/include/linux/mlx5/
Dvport.h63 MLX5_VPORT_UPLINK = 0xffff enumerator