Searched refs:fwap (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_dcb.c331 const struct fw_port_app_priority *fwap = &fwdcb->app_priority; cxgb4_dcb_handle_fw_update() local
332 int idx = fwap->idx; cxgb4_dcb_handle_fw_update()
336 .protocol = be16_to_cpu(fwap->protocolid), cxgb4_dcb_handle_fw_update()
344 app.selector = (fwap->sel_field + 1); cxgb4_dcb_handle_fw_update()
345 app.priority = ffs(fwap->user_prio_map) - 1; cxgb4_dcb_handle_fw_update()
350 app.selector = !!(fwap->sel_field); cxgb4_dcb_handle_fw_update()
351 app.priority = fwap->user_prio_map; cxgb4_dcb_handle_fw_update()
360 ap->user_prio_map = fwap->user_prio_map; cxgb4_dcb_handle_fw_update()
361 ap->sel_field = fwap->sel_field; cxgb4_dcb_handle_fw_update()
362 ap->protocolid = be16_to_cpu(fwap->protocolid); cxgb4_dcb_handle_fw_update()

Completed in 52 milliseconds