Home
last modified time | relevance | path

Searched refs:esw_owner_vhca_id (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge.h48 int mlx5_esw_bridge_vport_link(struct net_device *br_netdev, u16 vport_num, u16 esw_owner_vhca_id,
55 u16 esw_owner_vhca_id,
59 u16 esw_owner_vhca_id,
68 void mlx5_esw_bridge_fdb_create(struct net_device *dev, u16 vport_num, u16 esw_owner_vhca_id,
71 void mlx5_esw_bridge_fdb_remove(struct net_device *dev, u16 vport_num, u16 esw_owner_vhca_id,
77 int mlx5_esw_bridge_vlan_filtering_set(u16 vport_num, u16 esw_owner_vhca_id, bool enable,
79 int mlx5_esw_bridge_vlan_proto_set(u16 vport_num, u16 esw_owner_vhca_id, u16 proto,
81 int mlx5_esw_bridge_mcast_set(u16 vport_num, u16 esw_owner_vhca_id, bool enable,
83 int mlx5_esw_bridge_port_vlan_add(u16 vport_num, u16 esw_owner_vhca_id, u16 vid, u16 flags,
86 void mlx5_esw_bridge_port_vlan_del(u16 vport_num, u16 esw_owner_vhca_id, u16 vid,
[all …]
H A Dbridge.c794 dest.vport.vhca_id = esw_owner_vhca_id; in mlx5_esw_bridge_egress_flow_create()
950 esw_owner_vhca_id)); in mlx5_esw_bridge_port_lookup()
1372 entry->esw_owner_vhca_id = esw_owner_vhca_id; in mlx5_esw_bridge_fdb_entry_init()
1555 port->esw_owner_vhca_id = esw_owner_vhca_id; in mlx5_esw_bridge_vport_init()
1564 port->vport_num, port->esw_owner_vhca_id, err); in mlx5_esw_bridge_vport_init()
1589 u16 vport_num = port->vport_num, esw_owner_vhca_id = port->esw_owner_vhca_id; in mlx5_esw_bridge_vport_cleanup() local
1594 if (entry->vport_num == vport_num && entry->esw_owner_vhca_id == esw_owner_vhca_id) in mlx5_esw_bridge_vport_cleanup()
1607 u16 esw_owner_vhca_id, u16 flags, in mlx5_esw_bridge_vport_link_with_flags() argument
1641 u16 esw_owner_vhca_id, in mlx5_esw_bridge_vport_unlink() argument
1665 u16 esw_owner_vhca_id, in mlx5_esw_bridge_vport_peer_link() argument
[all …]
H A Dbridge_priv.h150 u16 esw_owner_vhca_id; member
182 u16 esw_owner_vhca_id; member
H A Dbridge_mcast.c53 mlx5_esw_bridge_mdb_flow_create(u16 esw_owner_vhca_id, struct mlx5_esw_bridge_mdb_entry *entry, in mlx5_esw_bridge_mdb_flow_create() argument
124 handle = mlx5_esw_bridge_mdb_flow_create(port->esw_owner_vhca_id, entry, port->bridge); in mlx5_esw_bridge_port_mdb_offload()
553 if (mlx5_esw_is_owner(tmp, port->vport_num, port->esw_owner_vhca_id)) { in mlx5_esw_bridge_mcast_filter_flow_peer_create()
613 dest.vport.vhca_id = port->esw_owner_vhca_id; in mlx5_esw_bridge_mcast_vlan_flow_create()
665 dest.vport.vhca_id = port->esw_owner_vhca_id; in mlx5_esw_bridge_mcast_fwd_flow_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbridge.c99 esw_owner_vhca_id); in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get()
108 esw_owner_vhca_id); in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get()
141 u16 vport_num, esw_owner_vhca_id; in mlx5_esw_bridge_port_changeupper() local
227 u16 vport_num, esw_owner_vhca_id; in mlx5_esw_bridge_port_obj_add() local
231 &esw_owner_vhca_id)) in mlx5_esw_bridge_port_obj_add()
261 u16 vport_num, esw_owner_vhca_id; in mlx5_esw_bridge_port_obj_del() local
264 &esw_owner_vhca_id)) in mlx5_esw_bridge_port_obj_del()
292 u16 vport_num, esw_owner_vhca_id; in mlx5_esw_bridge_port_obj_attr_set() local
296 &esw_owner_vhca_id)) in mlx5_esw_bridge_port_obj_attr_set()
320 esw_owner_vhca_id, in mlx5_esw_bridge_port_obj_attr_set()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
H A Dbridge_tracepoint.h88 __field(u16, esw_owner_vhca_id)
93 __entry->esw_owner_vhca_id = port->esw_owner_vhca_id;
98 __entry->esw_owner_vhca_id,
/linux/include/uapi/rdma/
H A Dmlx5_user_ioctl_verbs.h110 __u16 esw_owner_vhca_id; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_cmd.h21 u16 esw_owner_vhca_id; member
135 u16 esw_owner_vhca_id; member
H A Dmlx5hws_action.c285 fixup_stc_attr->vport.esw_owner_vhca_id = ctx->caps->vhca_id; in hws_action_fixup_stc_attr()
303 fixup_stc_attr->vport.esw_owner_vhca_id = stc_attr->vport.esw_owner_vhca_id; in hws_action_fixup_stc_attr()
514 attr->vport.esw_owner_vhca_id = action->vport.esw_owner_vhca_id; in hws_action_fill_stc_attr()
838 action->vport.esw_owner_vhca_id = vhca_id; in mlx5hws_action_create_dest_vport()
1409 dest_list[i].esw_owner_vhca_id = in mlx5hws_action_create_dest_array()
1410 dests[i].dest->vport.esw_owner_vhca_id; in mlx5hws_action_create_dest_array()
H A Dmlx5hws_action.h157 u16 esw_owner_vhca_id; member
H A Dmlx5hws_cmd.c246 dest->esw_owner_vhca_id); in mlx5hws_cmd_set_fte()
524 stc_attr->vport.esw_owner_vhca_id); in hws_cmd_stc_modify_set_stc_param()
/linux/drivers/infiniband/hw/mlx5/
H A Dstd_types.c156 info->esw_owner_vhca_id = MLX5_CAP_GEN(mdev, vhca_id); in fill_switchdev_info()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h638 u16 esw_owner_vhca_id) in mlx5_esw_is_owner() argument
640 return esw_owner_vhca_id == MLX5_CAP_GEN(esw->dev, vhca_id) || in mlx5_esw_is_owner()