Searched refs:tun_entropy (Results 1 – 5 of 5) sorted by relevance
76 tun_entropy->mdev = mdev; in mlx5_init_port_tun_entropy()77 mutex_init(&tun_entropy->lock); in mlx5_init_port_tun_entropy()79 tun_entropy->num_enabling_entries = 0; in mlx5_init_port_tun_entropy()112 mlx5_core_warn(tun_entropy->mdev, in mlx5_set_entropy()127 tun_entropy->enabled = enable; in mlx5_set_entropy()148 mutex_lock(&tun_entropy->lock); in mlx5_tun_entropy_refcount_inc()151 tun_entropy->enabled) { in mlx5_tun_entropy_refcount_inc()156 tun_entropy->num_enabling_entries++; in mlx5_tun_entropy_refcount_inc()170 mutex_unlock(&tun_entropy->lock); in mlx5_tun_entropy_refcount_inc()178 mutex_lock(&tun_entropy->lock); in mlx5_tun_entropy_refcount_dec()[all …]
17 void mlx5_init_port_tun_entropy(struct mlx5_tun_entropy *tun_entropy,19 int mlx5_tun_entropy_refcount_inc(struct mlx5_tun_entropy *tun_entropy,21 void mlx5_tun_entropy_refcount_dec(struct mlx5_tun_entropy *tun_entropy,
40 struct mlx5_tun_entropy *tun_entropy = &uplink_priv->tun_entropy; in mlx5e_rep_encap_entry_attach() local44 err = mlx5_tun_entropy_refcount_inc(tun_entropy, e->reformat_type); in mlx5e_rep_encap_entry_attach()54 mlx5_tun_entropy_refcount_dec(tun_entropy, in mlx5e_rep_encap_entry_attach()75 struct mlx5_tun_entropy *tun_entropy = &uplink_priv->tun_entropy; in mlx5e_rep_encap_entry_detach() local86 mlx5_tun_entropy_refcount_dec(tun_entropy, e->reformat_type); in mlx5e_rep_encap_entry_detach()
77 struct mlx5_tun_entropy tun_entropy; member
1067 mlx5_init_port_tun_entropy(&uplink_priv->tun_entropy, priv->mdev); in mlx5e_init_uplink_rep_tx()
Completed in 10 milliseconds