Lines Matching refs:update

148 static int update_dscp_maxrate(struct net_device *dev, u32 *update)  in update_dscp_maxrate()  argument
160 *update |= NFP_DCB_MSG_MSK_RATE; in update_dscp_maxrate()
169 *update |= NFP_DCB_MSG_MSK_DSCP; in update_dscp_maxrate()
175 static void nfp_nic_set_trust(struct nfp_net *nn, u32 *update) in nfp_nic_set_trust() argument
190 *update |= NFP_DCB_MSG_MSK_TRUST; in nfp_nic_set_trust()
193 static void nfp_nic_set_enable(struct nfp_net *nn, u32 enable, u32 *update) in nfp_nic_set_enable() argument
205 *update |= NFP_DCB_MSG_MSK_ENABLE; in nfp_nic_set_enable()
251 static void nfp_nic_ets_init(struct nfp_net *nn, u32 *update) in nfp_nic_ets_init() argument
260 *update |= NFP_DCB_MSG_MSK_TSA | NFP_DCB_MSG_MSK_PCT | NFP_DCB_MSG_MSK_PCP; in nfp_nic_ets_init()
270 u32 update = 0; in nfp_nic_dcbnl_ieee_setets() local
290 err = update_dscp_maxrate(dev, &update); in nfp_nic_dcbnl_ieee_setets()
300 nfp_nic_set_enable(nn, NFP_DCB_ALL_QOS_ENABLE, &update); in nfp_nic_dcbnl_ieee_setets()
301 nfp_nic_set_trust(nn, &update); in nfp_nic_dcbnl_ieee_setets()
307 update | NFP_DCB_MSG_MSK_TSA | NFP_DCB_MSG_MSK_PCT | in nfp_nic_dcbnl_ieee_setets()
334 u32 update = 0; in nfp_nic_dcbnl_ieee_setmaxrate() local
348 nfp_nic_set_enable(nn, NFP_DCB_ALL_QOS_ENABLE, &update); in nfp_nic_dcbnl_ieee_setmaxrate()
349 nfp_nic_set_trust(nn, &update); in nfp_nic_dcbnl_ieee_setmaxrate()
350 nfp_nic_ets_init(nn, &update); in nfp_nic_dcbnl_ieee_setmaxrate()
357 update | NFP_DCB_MSG_MSK_RATE); in nfp_nic_dcbnl_ieee_setmaxrate()
366 u32 update = 0; in nfp_nic_set_trust_status() local
375 update |= NFP_DCB_MSG_MSK_RATE; in nfp_nic_set_trust_status()
383 nfp_nic_ets_init(nn, &update); in nfp_nic_set_trust_status()
386 nfp_nic_set_enable(nn, NFP_DCB_ALL_QOS_ENABLE, &update); in nfp_nic_set_trust_status()
388 update | NFP_DCB_MSG_MSK_TRUST); in nfp_nic_set_trust_status()