Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dport_tun.c11 bool calc_supported, calc_enabled; member
21 entropy_flags->calc_supported = false; in mlx5_query_port_tun_entropy()
34 entropy_flags->calc_supported = !!(MLX5_GET(pcmr_reg, out, entropy_calc_cap)); in mlx5_query_port_tun_entropy()
81 tun_entropy->enabled = entropy_flags.calc_supported ? in mlx5_init_port_tun_entropy()
105 } else if (entropy_flags.calc_supported) { in mlx5_set_entropy()