Lines Matching refs:app_priority

84 		if (!dcb->app_priority[i].protocolid)  in cxgb4_dcb_cleanup_apps()
87 app.protocol = dcb->app_priority[i].protocolid; in cxgb4_dcb_cleanup_apps()
90 app.priority = dcb->app_priority[i].user_prio_map; in cxgb4_dcb_cleanup_apps()
91 app.selector = dcb->app_priority[i].sel_field + 1; in cxgb4_dcb_cleanup_apps()
94 app.selector = !!(dcb->app_priority[i].sel_field); in cxgb4_dcb_cleanup_apps()
347 const struct fw_port_app_priority *fwap = &fwdcb->app_priority; in cxgb4_dcb_handle_fw_update()
349 struct app_priority *ap = &dcb->app_priority[idx]; in cxgb4_dcb_handle_fw_update()
787 pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; in __cxgb4_getapp()
788 pcmd.u.dcb.app_priority.idx = i; in __cxgb4_getapp()
796 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) in __cxgb4_getapp()
797 if (pcmd.u.dcb.app_priority.sel_field == app_idtype) in __cxgb4_getapp()
798 return pcmd.u.dcb.app_priority.user_prio_map; in __cxgb4_getapp()
801 if (!pcmd.u.dcb.app_priority.protocolid) in __cxgb4_getapp()
838 pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; in __cxgb4_setapp()
839 pcmd.u.dcb.app_priority.idx = i; in __cxgb4_setapp()
847 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) { in __cxgb4_setapp()
849 pcmd.u.dcb.app_priority.protocolid = 0; in __cxgb4_setapp()
853 if (!pcmd.u.dcb.app_priority.protocolid) in __cxgb4_setapp()
868 pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; in __cxgb4_setapp()
869 pcmd.u.dcb.app_priority.protocolid = cpu_to_be16(app_id); in __cxgb4_setapp()
870 pcmd.u.dcb.app_priority.sel_field = app_idtype; in __cxgb4_setapp()
871 pcmd.u.dcb.app_priority.user_prio_map = app_prio; in __cxgb4_setapp()
872 pcmd.u.dcb.app_priority.idx = i; in __cxgb4_setapp()
1111 pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; in cxgb4_getpeer_app()
1112 pcmd.u.dcb.app_priority.idx = *app_count; in cxgb4_getpeer_app()
1122 if (!pcmd.u.dcb.app_priority.protocolid) in cxgb4_getpeer_app()
1141 pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; in cxgb4_getpeerapp_tbl()
1142 pcmd.u.dcb.app_priority.idx = i; in cxgb4_getpeerapp_tbl()
1152 if (!pcmd.u.dcb.app_priority.protocolid) in cxgb4_getpeerapp_tbl()
1155 table[i].selector = (pcmd.u.dcb.app_priority.sel_field + 1); in cxgb4_getpeerapp_tbl()
1157 be16_to_cpu(pcmd.u.dcb.app_priority.protocolid); in cxgb4_getpeerapp_tbl()
1159 ffs(pcmd.u.dcb.app_priority.user_prio_map) - 1; in cxgb4_getpeerapp_tbl()