Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c524 return (rep->vport == MLX5_VPORT_UPLINK); in mlx5e_is_uplink_rep()
695 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_build_rep_params()
709 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_build_rep_params()
726 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5e_build_rep_netdev()
754 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5e_build_rep_netdev()
803 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_create_rep_ttc_table()
826 if (rep->vport != MLX5_VPORT_UPLINK) { in mlx5e_create_rep_root_ft()
859 if (rep->vport != MLX5_VPORT_UPLINK) in mlx5e_destroy_rep_root_ft()
1031 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) { in mlx5e_init_rep_tx()
1057 if (rpriv->rep->vport == MLX5_VPORT_UPLINK) in mlx5e_cleanup_rep_tx()
[all …]
Deswitch_offloads.c252 attr->in_rep->vport == MLX5_VPORT_UPLINK ? in mlx5_eswitch_set_rule_flow_source()
619 if (push && in_rep->vport == MLX5_VPORT_UPLINK) in esw_add_vlan_action_check()
622 if (pop && out_rep->vport == MLX5_VPORT_UPLINK) in esw_add_vlan_action_check()
627 if (in_rep->vlan && out_rep->vport == MLX5_VPORT_UPLINK) in esw_add_vlan_action_check()
672 if (esw_attr->dests[0].rep->vport == MLX5_VPORT_UPLINK) { in mlx5_eswitch_add_vlan_action()
737 if (esw_attr->dests[0].rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_del_vlan_action()
1822 rep = mlx5_eswitch_get_rep(esw, MLX5_VPORT_UPLINK); in __unload_reps_all_vport()
2157 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_UPLINK); in esw_create_uplink_offloads_acl_tables()
2165 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_UPLINK); in esw_destroy_uplink_offloads_acl_tables()
2346 err = esw_offloads_load_rep(esw, MLX5_VPORT_UPLINK); in esw_offloads_enable()
[all …]
Deswitch_offloads_termtbl.c209 return (port_mask & port_value) == MLX5_VPORT_UPLINK; in mlx5_eswitch_offload_is_uplink_port()
233 if (esw_attr->dests[i].rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_termtbl_required()
Deswitch.h527 if (vport_num == MLX5_VPORT_UPLINK) in mlx5_eswitch_vport_num_to_index()
541 return MLX5_VPORT_UPLINK; in mlx5_eswitch_index_to_vport_num()
Deswitch.c223 MLX5_SET(fte_match_set_misc, mv_misc, source_port, MLX5_VPORT_UPLINK); in __esw_fdb_set_vport_rule()
630 esw_fdb_set_vport_rule(esw, mac, MLX5_VPORT_UPLINK); in esw_add_mc_addr()
865 MLX5_VPORT_UPLINK); in esw_apply_vport_rx_mode()
1971 if (vport == MLX5_VPORT_UPLINK) { in mlx5_eswitch_set_vport_state()
2127 MLX5_SET(fte_match_set_misc, misc, source_port, MLX5_VPORT_UPLINK); in _mlx5_eswitch_set_vepa_locked()
2148 dest.vport.num = MLX5_VPORT_UPLINK; in _mlx5_eswitch_set_vepa_locked()
Den_tc.c2697 if (rep->vport != MLX5_VPORT_UPLINK && in parse_cls_flower()
4603 bool is_rep_ingress = esw_attr->in_rep->vport != MLX5_VPORT_UPLINK && in is_peer_flow_needed()
4795 if (attr->in_rep->vport == MLX5_VPORT_UPLINK) in mlx5e_tc_add_fdb_peer_flow()
4947 return netif_is_lag_port(dev) && rpriv && rpriv->rep->vport != MLX5_VPORT_UPLINK; in is_flow_rule_duplicate_allowed()
Den_main.c3160 mlx5_eswitch_set_vport_state(esw, MLX5_VPORT_UPLINK, vport_admin_state); in mlx5e_modify_admin_state()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c20 return vport_num == MLX5_VPORT_UPLINK || in mlx5_esw_devlink_port_supported()
45 if (vport_num == MLX5_VPORT_UPLINK) { in mlx5_esw_dl_port_alloc()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/mlx5/
Dvport.h63 MLX5_VPORT_UPLINK = 0xffff enumerator