Lines Matching +full:100 +full:pg
133 /* PG */ in bnx2x_dump_dcbx_drv_param()
386 #define DCBX_LOCAL_MIB_MAX_TRY_READ (100)
540 /* Do not allow 0-100 configuration in bnx2x_dcbx_2cos_limit_update_ets_config()
983 bp->dcbx_config_params.admin_configuration_bw_precentage[0] = 100; in bnx2x_dcbx_init_params()
999 bp->dcbx_config_params.admin_recommendation_bw_precentage[0] = 100; in bnx2x_dcbx_init_params()
1127 data[i].pg = DCBX_ILLEGAL_PG; in bnx2x_dcbx_get_num_pg_traf_type()
1137 if (data[traf_type].pg == add_pg) { in bnx2x_dcbx_get_num_pg_traf_type()
1149 data[help_data->num_of_pg].pg = add_pg; in bnx2x_dcbx_get_num_pg_traf_type()
1171 cos_data->data[0].cos_bw = 100; in bnx2x_dcbx_ets_disabled_entry_data()
1213 /* There can be only one strict pg */ in bnx2x_dcbx_separate_pauseable_from_non()
1249 if (pg_help_data->data[0].pg < DCBX_MAX_NUM_PG_BW_ENTRIES) { in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1303 /* priority group which is not BW limited (PG#15):*/ in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1376 u8 pg[DCBX_COS_MAX_NUM_E2] = { 0 }; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params() local
1387 /* If one PG contains both pauseable and in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1405 pg[0] = pg_help_data->data[0].pg; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1408 pg[1] = pg_help_data->data[1].pg; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1412 pg[0] = pg_help_data->data[1].pg; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1415 pg[1] = pg_help_data->data[0].pg; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1419 * only non-pauseable, each PG goes to a queue. in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1425 pg[0] = pg_help_data->data[0].pg; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1428 pg[1] = pg_help_data->data[1].pg; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1431 /* There can be only one strict pg */ in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1432 for (i = 0 ; i < ARRAY_SIZE(pg); i++) { in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1433 if (pg[i] < DCBX_MAX_NUM_PG_BW_ENTRIES) in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1435 DCBX_PG_BW_GET(ets->pg_bw_tbl, pg[i]); in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1471 if (pg_help_data->data[entry_joined].pg == DCBX_STRICT_PRI_PG || in bnx2x_dcbx_join_pgs()
1472 pg_help_data->data[entry_removed].pg == DCBX_STRICT_PRI_PG) in bnx2x_dcbx_join_pgs()
1474 pg_help_data->data[entry_joined].pg = in bnx2x_dcbx_join_pgs()
1479 pg_help_data->data[entry_joined].pg) + in bnx2x_dcbx_join_pgs()
1481 pg_help_data->data[entry_removed].pg); in bnx2x_dcbx_join_pgs()
1484 pg_help_data->data[entry_joined].pg, pg_joined); in bnx2x_dcbx_join_pgs()
1518 /* If two BW-limited PG-s were combined to one queue, in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1522 * and there are both BW-limited and non-BW-limited PG-s, in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1523 * the BW-limited PG/s go to one queue and the non-BW-limited in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1524 * PG/s go to the second queue. in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1704 * if the number of requested PG-s in CEE is greater than 3 in bnx2x_dcbx_cee_fill_cos_params()
1719 struct pg_entry_help_data *pg = &help_data->data[i]; in bnx2x_dcbx_cee_fill_cos_params() local
1720 if (pg->pg < DCBX_MAX_NUM_PG_BW_ENTRIES) { in bnx2x_dcbx_cee_fill_cos_params()
1724 data->cos_bw = DCBX_PG_BW_GET(ets->pg_bw_tbl, pg->pg); in bnx2x_dcbx_cee_fill_cos_params()
1726 data->pri_join_mask = pg->pg_priority; in bnx2x_dcbx_cee_fill_cos_params()
1733 (u8)pg->num_of_dif_pri, in bnx2x_dcbx_cee_fill_cos_params()
1737 * If there are still VOQ-s which have no associated PG, in bnx2x_dcbx_cee_fill_cos_params()
1738 * then associate these VOQ-s to PG15. These PG-s will in bnx2x_dcbx_cee_fill_cos_params()
1742 entry, need_num_of_entries, pg->pg_priority); in bnx2x_dcbx_cee_fill_cos_params()
1761 /* Validate the pg value */ in bnx2x_dcbx_fill_cos_params()
1763 if (DCBX_STRICT_PRIORITY != help_data->data[i].pg && in bnx2x_dcbx_fill_cos_params()
1764 DCBX_MAX_NUM_PG_BW_ENTRIES <= help_data->data[i].pg) in bnx2x_dcbx_fill_cos_params()
1765 BNX2X_ERR("Invalid pg[%d] data %x\n", i, in bnx2x_dcbx_fill_cos_params()
1766 help_data->data[i].pg); in bnx2x_dcbx_fill_cos_params()
2528 static int bnx2x_cee_peer_getpg(struct net_device *netdev, struct cee_pg *pg) in bnx2x_cee_peer_getpg() argument
2533 pg->willing = (bp->dcbx_remote_flags & DCBX_ETS_REM_WILLING) ?: 0; in bnx2x_cee_peer_getpg()
2536 pg->pg_bw[i] = in bnx2x_cee_peer_getpg()
2538 pg->prio_pg[i] = in bnx2x_cee_peer_getpg()