Lines 351-356
bnxt_hwrm_get_dcbx_app(struct bnxt_softc *softc, struct bnxt_dcb_app *app, int *
Link Here
|
351 |
|
351 |
|
352 |
n = data->count; |
352 |
n = data->count; |
353 |
for (i = 0; i < n; i++, fw_app++) { |
353 |
for (i = 0; i < n; i++, fw_app++) { |
|
|
354 |
MPASS(*num_inputs < 128); |
354 |
app[*num_inputs].priority = fw_app->priority; |
355 |
app[*num_inputs].priority = fw_app->priority; |
355 |
app[*num_inputs].protocol = htobe16(fw_app->protocol_id); |
356 |
app[*num_inputs].protocol = htobe16(fw_app->protocol_id); |
356 |
app[*num_inputs].selector = fw_app->protocol_selector; |
357 |
app[*num_inputs].selector = fw_app->protocol_selector; |
Lines 504-509
bnxt_hwrm_queue_dscp2pri_qcfg(struct bnxt_softc *softc, struct bnxt_dcb_app *app
Link Here
|
504 |
|
505 |
|
505 |
entry_cnt = le16toh(resp->entry_cnt); |
506 |
entry_cnt = le16toh(resp->entry_cnt); |
506 |
for (i = 0; i < entry_cnt; i++) { |
507 |
for (i = 0; i < entry_cnt; i++) { |
|
|
508 |
MPASS(*num_inputs < 128); |
507 |
app[*num_inputs].priority = dscp2pri[i].pri; |
509 |
app[*num_inputs].priority = dscp2pri[i].pri; |
508 |
app[*num_inputs].protocol = dscp2pri[i].dscp; |
510 |
app[*num_inputs].protocol = dscp2pri[i].dscp; |
509 |
app[*num_inputs].selector = BNXT_IEEE_8021QAZ_APP_SEL_DSCP; |
511 |
app[*num_inputs].selector = BNXT_IEEE_8021QAZ_APP_SEL_DSCP; |
510 |
- |
|
|