Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c2974 u16 esw_i, peer_esw_i; in mlx5_esw_offloads_devcom_event() local
2978 peer_esw_i = MLX5_CAP_GEN(peer_esw->dev, vhca_id); in mlx5_esw_offloads_devcom_event()
2980 esw_paired = !!xa_load(&esw->paired, peer_esw_i); in mlx5_esw_offloads_devcom_event()
3003 err = xa_insert(&esw->paired, peer_esw_i, peer_esw, GFP_KERNEL); in mlx5_esw_offloads_devcom_event()
3025 xa_erase(&esw->paired, peer_esw_i); in mlx5_esw_offloads_devcom_event()
3035 xa_erase(&esw->paired, peer_esw_i); in mlx5_esw_offloads_devcom_event()