Home
last modified time | relevance | path

Searched refs:fw_app (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dcb.c326 struct hwrm_struct_data_dcbx_app *fw_app; in bnxt_hwrm_set_dcbx_app() local
343 data_len = sizeof(*data) + sizeof(*fw_app) * n; in bnxt_hwrm_set_dcbx_app()
358 fw_app = (struct hwrm_struct_data_dcbx_app *)(data + 1); in bnxt_hwrm_set_dcbx_app()
366 for (i = 0; i < n; i++, fw_app++) { in bnxt_hwrm_set_dcbx_app()
367 if (fw_app->protocol_id == cpu_to_be16(app->protocol) && in bnxt_hwrm_set_dcbx_app()
368 fw_app->protocol_selector == app->selector && in bnxt_hwrm_set_dcbx_app()
369 fw_app->priority == app->priority) { in bnxt_hwrm_set_dcbx_app()
379 fw_app->protocol_id = cpu_to_be16(app->protocol); in bnxt_hwrm_set_dcbx_app()
380 fw_app->protocol_selector = app->selector; in bnxt_hwrm_set_dcbx_app()
381 fw_app->priority = app->priority; in bnxt_hwrm_set_dcbx_app()
[all …]