Lines Matching refs:priority
81 app.priority = 0; in cxgb4_dcb_cleanup_apps()
91 app.priority = dcb->app_priority[i].user_prio_map; in cxgb4_dcb_cleanup_apps()
354 app.priority = ffs(fwap->user_prio_map) - 1; in cxgb4_dcb_handle_fw_update()
360 app.priority = fwap->user_prio_map; in cxgb4_dcb_handle_fw_update()
367 app.selector, app.protocol, app.priority, -err); in cxgb4_dcb_handle_fw_update()
610 static void cxgb4_getpfccfg(struct net_device *dev, int priority, u8 *pfccfg) in cxgb4_getpfccfg() argument
616 priority >= CXGB4_MAX_PRIORITY) in cxgb4_getpfccfg()
619 *pfccfg = (pi->dcb.pfcen >> (7 - priority)) & 1; in cxgb4_getpfccfg()
625 static void cxgb4_setpfccfg(struct net_device *dev, int priority, u8 pfccfg) in cxgb4_setpfccfg() argument
633 priority >= CXGB4_MAX_PRIORITY) in cxgb4_setpfccfg()
644 pcmd.u.dcb.pfc.pfcen |= (1 << (7 - priority)); in cxgb4_setpfccfg()
646 pcmd.u.dcb.pfc.pfcen &= (~(1 << (7 - priority))); in cxgb4_setpfccfg()
885 .priority = app_prio, in cxgb4_setapp()
1019 app->priority = ffs(prio) - 1; in cxgb4_ieee_getapp()
1041 (1 << app->priority)); in cxgb4_ieee_setapp()
1151 table[i].priority = in cxgb4_getpeerapp_tbl()