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()
366 for (i = 0; i < n; i++, fw_app++) { in bnxt_hwrm_set_dcbx_app()
369 fw_app->priority == app->priority) { 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()
382 fw_app->valid = 1; in bnxt_hwrm_set_dcbx_app()
390 len = (n - 1 - i) * sizeof(*fw_app); in bnxt_hwrm_set_dcbx_app()
392 memmove(fw_app, fw_app + 1, len); in bnxt_hwrm_set_dcbx_app()
394 memset(fw_app + n, 0, sizeof(*fw_app)); in bnxt_hwrm_set_dcbx_app()
[all …]