Searched refs:tun_entropy (Results 1 - 5 of 5) sorted by relevance

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dport_tun.h17 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,
H A Dport_tun.c71 void mlx5_init_port_tun_entropy(struct mlx5_tun_entropy *tun_entropy, argument
76 tun_entropy->mdev = mdev;
77 mutex_init(&tun_entropy->lock);
79 tun_entropy->num_enabling_entries = 0;
80 tun_entropy->num_disabling_entries = 0;
81 tun_entropy->enabled = entropy_flags.calc_supported ?
85 static int mlx5_set_entropy(struct mlx5_tun_entropy *tun_entropy, argument
91 mlx5_query_port_tun_entropy(tun_entropy->mdev, &entropy_flags);
101 err = mlx5_set_port_gre_tun_entropy_calc(tun_entropy->mdev,
112 mlx5_core_warn(tun_entropy
143 mlx5_tun_entropy_refcount_inc(struct mlx5_tun_entropy *tun_entropy, int reformat_type) argument
175 mlx5_tun_entropy_refcount_dec(struct mlx5_tun_entropy *tun_entropy, int reformat_type) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dtc.c40 struct mlx5_tun_entropy *tun_entropy = &uplink_priv->tun_entropy; local
44 err = mlx5_tun_entropy_refcount_inc(tun_entropy, e->reformat_type);
54 mlx5_tun_entropy_refcount_dec(tun_entropy,
75 struct mlx5_tun_entropy *tun_entropy = &uplink_priv->tun_entropy; local
86 mlx5_tun_entropy_refcount_dec(tun_entropy, e->reformat_type);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.h77 struct mlx5_tun_entropy tun_entropy; member in struct:mlx5_rep_uplink_priv
H A Den_rep.c1185 mlx5_init_port_tun_entropy(&uplink_priv->tun_entropy, priv->mdev);

Completed in 150 milliseconds