Lines Matching refs:app_priority

72 		if (!dcb->app_priority[i].protocolid)  in cxgb4_dcb_cleanup_apps()
75 app.protocol = dcb->app_priority[i].protocolid; in cxgb4_dcb_cleanup_apps()
78 app.priority = dcb->app_priority[i].user_prio_map; in cxgb4_dcb_cleanup_apps()
79 app.selector = dcb->app_priority[i].sel_field + 1; in cxgb4_dcb_cleanup_apps()
82 app.selector = !!(dcb->app_priority[i].sel_field); in cxgb4_dcb_cleanup_apps()
362 const struct fw_port_app_priority *fwap = &fwdcb->app_priority; in cxgb4_dcb_handle_fw_update()
364 struct app_priority *ap = &dcb->app_priority[idx]; in cxgb4_dcb_handle_fw_update()
802 pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; in __cxgb4_getapp()
803 pcmd.u.dcb.app_priority.idx = i; in __cxgb4_getapp()
811 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) in __cxgb4_getapp()
812 if (pcmd.u.dcb.app_priority.sel_field == app_idtype) in __cxgb4_getapp()
813 return pcmd.u.dcb.app_priority.user_prio_map; in __cxgb4_getapp()
816 if (!pcmd.u.dcb.app_priority.protocolid) in __cxgb4_getapp()
853 pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; in __cxgb4_setapp()
854 pcmd.u.dcb.app_priority.idx = i; in __cxgb4_setapp()
862 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) { in __cxgb4_setapp()
864 pcmd.u.dcb.app_priority.protocolid = 0; in __cxgb4_setapp()
868 if (!pcmd.u.dcb.app_priority.protocolid) in __cxgb4_setapp()
883 pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; in __cxgb4_setapp()
884 pcmd.u.dcb.app_priority.protocolid = cpu_to_be16(app_id); in __cxgb4_setapp()
885 pcmd.u.dcb.app_priority.sel_field = app_idtype; in __cxgb4_setapp()
886 pcmd.u.dcb.app_priority.user_prio_map = app_prio; in __cxgb4_setapp()
887 pcmd.u.dcb.app_priority.idx = i; in __cxgb4_setapp()
1126 pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; in cxgb4_getpeer_app()
1127 pcmd.u.dcb.app_priority.idx = *app_count; in cxgb4_getpeer_app()
1137 if (!pcmd.u.dcb.app_priority.protocolid) in cxgb4_getpeer_app()
1156 pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; in cxgb4_getpeerapp_tbl()
1157 pcmd.u.dcb.app_priority.idx = i; in cxgb4_getpeerapp_tbl()
1167 if (!pcmd.u.dcb.app_priority.protocolid) in cxgb4_getpeerapp_tbl()
1170 table[i].selector = (pcmd.u.dcb.app_priority.sel_field + 1); in cxgb4_getpeerapp_tbl()
1172 be16_to_cpu(pcmd.u.dcb.app_priority.protocolid); in cxgb4_getpeerapp_tbl()
1174 ffs(pcmd.u.dcb.app_priority.user_prio_map) - 1; in cxgb4_getpeerapp_tbl()