Searched refs:esw_owner_vhca_id (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | bridge.h | 37 int mlx5_esw_bridge_vport_link(int ifindex, u16 vport_num, u16 esw_owner_vhca_id, 40 int mlx5_esw_bridge_vport_unlink(int ifindex, u16 vport_num, u16 esw_owner_vhca_id, 43 int mlx5_esw_bridge_vport_peer_link(int ifindex, u16 vport_num, u16 esw_owner_vhca_id, 46 int mlx5_esw_bridge_vport_peer_unlink(int ifindex, u16 vport_num, u16 esw_owner_vhca_id, 49 void mlx5_esw_bridge_fdb_update_used(struct net_device *dev, u16 vport_num, u16 esw_owner_vhca_id, 52 void mlx5_esw_bridge_fdb_create(struct net_device *dev, u16 vport_num, u16 esw_owner_vhca_id, 55 void mlx5_esw_bridge_fdb_remove(struct net_device *dev, u16 vport_num, u16 esw_owner_vhca_id, 59 int mlx5_esw_bridge_ageing_time_set(u16 vport_num, u16 esw_owner_vhca_id, unsigned long ageing_time, 61 int mlx5_esw_bridge_vlan_filtering_set(u16 vport_num, u16 esw_owner_vhca_id, bool enable, 63 int mlx5_esw_bridge_port_vlan_add(u16 vport_num, u16 esw_owner_vhca_id, u16 vid, u16 flags, [all …]
|
D | bridge.c | 547 mlx5_esw_bridge_egress_flow_create(u16 vport_num, u16 esw_owner_vhca_id, const unsigned char *addr, in mlx5_esw_bridge_egress_flow_create() argument 594 dest.vport.vhca_id = esw_owner_vhca_id; in mlx5_esw_bridge_egress_flow_create() 683 static unsigned long mlx5_esw_bridge_port_key_from_data(u16 vport_num, u16 esw_owner_vhca_id) in mlx5_esw_bridge_port_key_from_data() argument 685 return vport_num | (unsigned long)esw_owner_vhca_id << sizeof(vport_num) * BITS_PER_BYTE; in mlx5_esw_bridge_port_key_from_data() 690 return mlx5_esw_bridge_port_key_from_data(port->vport_num, port->esw_owner_vhca_id); in mlx5_esw_bridge_port_key() 700 mlx5_esw_bridge_port_lookup(u16 vport_num, u16 esw_owner_vhca_id, in mlx5_esw_bridge_port_lookup() argument 704 esw_owner_vhca_id)); in mlx5_esw_bridge_port_lookup() 923 mlx5_esw_bridge_port_vlan_lookup(u16 vid, u16 vport_num, u16 esw_owner_vhca_id, in mlx5_esw_bridge_port_vlan_lookup() argument 929 port = mlx5_esw_bridge_port_lookup(vport_num, esw_owner_vhca_id, bridge->br_offloads); in mlx5_esw_bridge_port_vlan_lookup() 952 mlx5_esw_bridge_fdb_entry_init(struct net_device *dev, u16 vport_num, u16 esw_owner_vhca_id, in mlx5_esw_bridge_fdb_entry_init() argument [all …]
|
D | bridge_priv.h | 36 u16 esw_owner_vhca_id; member 56 u16 esw_owner_vhca_id; member
|
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | bridge.c | 68 u16 *vport_num, u16 *esw_owner_vhca_id) in mlx5_esw_bridge_rep_vport_num_vhca_id_get() argument 82 *esw_owner_vhca_id = MLX5_CAP_GEN(priv->mdev, vhca_id); in mlx5_esw_bridge_rep_vport_num_vhca_id_get() 88 u16 *vport_num, u16 *esw_owner_vhca_id) in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() argument 95 esw_owner_vhca_id); in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() 104 esw_owner_vhca_id); in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() 137 u16 vport_num, esw_owner_vhca_id; in mlx5_esw_bridge_port_changeupper() local 145 rep = mlx5_esw_bridge_rep_vport_num_vhca_id_get(dev, esw, &vport_num, &esw_owner_vhca_id); in mlx5_esw_bridge_port_changeupper() 153 mlx5_esw_bridge_vport_link(ifindex, vport_num, esw_owner_vhca_id, in mlx5_esw_bridge_port_changeupper() 155 mlx5_esw_bridge_vport_unlink(ifindex, vport_num, esw_owner_vhca_id, in mlx5_esw_bridge_port_changeupper() 159 mlx5_esw_bridge_vport_peer_link(ifindex, vport_num, esw_owner_vhca_id, in mlx5_esw_bridge_port_changeupper() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/ |
D | bridge_tracepoint.h | 88 __field(u16, esw_owner_vhca_id) 93 __entry->esw_owner_vhca_id = port->esw_owner_vhca_id; 98 __entry->esw_owner_vhca_id,
|
/drivers/infiniband/hw/mlx5/ |
D | std_types.c | 138 info->esw_owner_vhca_id = MLX5_CAP_GEN(mdev, vhca_id); in fill_switchdev_info()
|