Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c381 struct mlx5e_rep_sq_peer *sq_peer; in mlx5e_sqs2vport_stop() local
391 xa_for_each(&rep_sq->sq_peer, i, sq_peer) { in mlx5e_sqs2vport_stop()
392 if (sq_peer->rule) in mlx5e_sqs2vport_stop()
393 mlx5_eswitch_del_send_to_vport_rule(sq_peer->rule); in mlx5e_sqs2vport_stop()
395 xa_erase(&rep_sq->sq_peer, i); in mlx5e_sqs2vport_stop()
396 kfree(sq_peer); in mlx5e_sqs2vport_stop()
399 xa_destroy(&rep_sq->sq_peer); in mlx5e_sqs2vport_stop()
414 struct mlx5e_rep_sq_peer *sq_peer; in mlx5e_sqs2vport_add_peers_rules() local
417 sq_peer = kzalloc(sizeof(*sq_peer), GFP_KERNEL); in mlx5e_sqs2vport_add_peers_rules()
418 if (!sq_peer) in mlx5e_sqs2vport_add_peers_rules()
[all …]
Den_rep.h235 struct xarray sq_peer; member