Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/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 …]
/openbmc/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,
/openbmc/linux/include/uapi/rdma/
H A Dmlx5_user_ioctl_verbs.h105 __u16 esw_owner_vhca_id; member
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dstd_types.c138 info->esw_owner_vhca_id = MLX5_CAP_GEN(mdev, vhca_id); in fill_switchdev_info()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h635 u16 esw_owner_vhca_id) in mlx5_esw_is_owner() argument
637 return esw_owner_vhca_id == MLX5_CAP_GEN(esw->dev, vhca_id) || in mlx5_esw_is_owner()