Searched refs:old_app (Results 1 – 2 of 2) sorted by relevance
399 struct dcb_app old_app; in hclge_ieee_setapp() local417 old_app.selector = IEEE_8021QAZ_APP_SEL_DSCP; in hclge_ieee_setapp()418 old_app.protocol = app->protocol; in hclge_ieee_setapp()419 old_app.priority = h->kinfo.dscp_prio[app->protocol]; in hclge_ieee_setapp()426 h->kinfo.dscp_prio[app->protocol] = old_app.priority; in hclge_ieee_setapp()432 if (old_app.priority == HNAE3_PRIO_ID_INVALID) in hclge_ieee_setapp()435 ret = dcb_ieee_delapp(netdev, &old_app); in hclge_ieee_setapp()
434 struct dcb_app old_app; in nfp_nic_dcbnl_ieee_setapp() local445 old_app.selector = IEEE_8021QAZ_APP_SEL_DSCP; in nfp_nic_dcbnl_ieee_setapp()446 old_app.protocol = app->protocol; in nfp_nic_dcbnl_ieee_setapp()447 old_app.priority = dcb->dscp2prio[app->protocol]; in nfp_nic_dcbnl_ieee_setapp()457 if (app->priority != old_app.priority || app->priority == 0) { in nfp_nic_dcbnl_ieee_setapp()464 is_new = !!dcb_ieee_delapp(dev, &old_app); in nfp_nic_dcbnl_ieee_setapp()