Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dfw_qos.c82 struct mlx4_prio_qos_param qos_p_up[MLX4_NUM_UP]; member
244 out_param[i].bw_share = be32_to_cpu(ctx->qos_p_up[i].bw_share); in mlx4_SET_VPORT_QOS_get()
246 be32_to_cpu(ctx->qos_p_up[i].max_avg_bw); in mlx4_SET_VPORT_QOS_get()
248 !!(be32_to_cpu(ctx->qos_p_up[i].enable) & 31); in mlx4_SET_VPORT_QOS_get()
273 ctx->qos_p_up[i].bw_share = cpu_to_be32(in_param[i].bw_share); in mlx4_SET_VPORT_QOS_set()
274 ctx->qos_p_up[i].max_avg_bw = in mlx4_SET_VPORT_QOS_set()
276 ctx->qos_p_up[i].enable = in mlx4_SET_VPORT_QOS_set()