Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/nic/
H A Ddcb.c165 writeb(dcb->tc2idx[dcb->prio2tc[dcb->dscp2prio[i]]], in update_dscp_maxrate()
425 dcb->dscp2prio[dscp] = prio; in nfp_nic_set_dscp2prio()
447 old_app.priority = dcb->dscp2prio[app->protocol]; in nfp_nic_dcbnl_ieee_setapp()
490 if (app->priority != dcb->dscp2prio[app->protocol]) in nfp_nic_dcbnl_ieee_delapp()
H A Dmain.h17 u8 dscp2prio[NFP_NET_MAX_DSCP]; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Ddcbnl.h38 u8 dscp2prio[MLX5E_MAX_DSCP]; member
H A Dselq.c150 return priv->dcbx_dp.dscp2prio[dscp_cp]; in mlx5e_get_dscp_up()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dcbnl.c467 temp.priority = priv->dcbx_dp.dscp2prio[app->protocol]; in mlx5e_dcbnl_ieee_setapp()
477 if (app->priority != priv->dcbx_dp.dscp2prio[app->protocol]) { in mlx5e_dcbnl_ieee_setapp()
522 if (app->priority != priv->dcbx_dp.dscp2prio[app->protocol]) in mlx5e_dcbnl_ieee_delapp()
1101 temp.priority = priv->dcbx_dp.dscp2prio[i]; in mlx5e_dcbnl_dscp_app()
1177 priv->dcbx_dp.dscp2prio[dscp] = prio; in mlx5e_set_dscp2prio()
1210 err = mlx5_query_dscp2prio(priv->mdev, priv->dcbx_dp.dscp2prio); in mlx5e_trust_initialize()
H A Dport.c1028 int mlx5_query_dscp2prio(struct mlx5_core_dev *mdev, u8 *dscp2prio) in mlx5_query_dscp2prio() argument
1051 dscp2prio[i] = MLX5_GET16(qpdpm_dscp_reg, qpdpm_dscp, prio); in mlx5_query_dscp2prio()
/linux/include/linux/mlx5/
H A Dport.h228 int mlx5_query_dscp2prio(struct mlx5_core_dev *mdev, u8 *dscp2prio);