Searched refs:MLX5_VPORT_UPLINK (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.c | 524 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 …]
|
D | eswitch_offloads.c | 252 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 …]
|
D | eswitch_offloads_termtbl.c | 209 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()
|
D | eswitch.h | 527 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()
|
D | eswitch.c | 223 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()
|
D | en_tc.c | 2697 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()
|
D | en_main.c | 3160 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/ |
D | devlink_port.c | 20 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/ |
D | ib_rep.c | 37 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/ |
D | vport.h | 63 MLX5_VPORT_UPLINK = 0xffff enumerator
|