• Home
  • Raw
  • Download

Lines Matching refs:cos_data

48 				struct cos_help_data *cos_data,
1164 struct cos_help_data *cos_data, in bnx2x_dcbx_ets_disabled_entry_data() argument
1168 cos_data->data[0].pausable = in bnx2x_dcbx_ets_disabled_entry_data()
1170 cos_data->data[0].pri_join_mask = pri_join_mask; in bnx2x_dcbx_ets_disabled_entry_data()
1171 cos_data->data[0].cos_bw = 100; in bnx2x_dcbx_ets_disabled_entry_data()
1172 cos_data->num_of_cos = 1; in bnx2x_dcbx_ets_disabled_entry_data()
1186 struct cos_help_data *cos_data, in bnx2x_dcbx_separate_pauseable_from_non() argument
1196 cos_data->data[0].pausable = true; in bnx2x_dcbx_separate_pauseable_from_non()
1197 cos_data->data[1].pausable = false; in bnx2x_dcbx_separate_pauseable_from_non()
1198 cos_data->data[0].pri_join_mask = cos_data->data[1].pri_join_mask = 0; in bnx2x_dcbx_separate_pauseable_from_non()
1205 cos_data->data[1].pri_join_mask |= pri_tested; in bnx2x_dcbx_separate_pauseable_from_non()
1208 cos_data->data[0].pri_join_mask |= pri_tested; in bnx2x_dcbx_separate_pauseable_from_non()
1215 bnx2x_dcbx_add_to_cos_bw(bp, &cos_data->data[entry], in bnx2x_dcbx_separate_pauseable_from_non()
1221 cos_data->data[entry].strict = in bnx2x_dcbx_separate_pauseable_from_non()
1224 if ((0 == cos_data->data[0].pri_join_mask) && in bnx2x_dcbx_separate_pauseable_from_non()
1225 (0 == cos_data->data[1].pri_join_mask)) in bnx2x_dcbx_separate_pauseable_from_non()
1235 struct cos_help_data *cos_data, in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params() argument
1245 bnx2x_dcbx_ets_disabled_entry_data(bp, cos_data, pri_join_mask); in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1256 cos_data->data[0].pausable = true; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1258 cos_data->data[1].pausable = false; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1261 cos_data->data[0].cos_bw = 50; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1262 cos_data->data[1].cos_bw = 50; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1268 cos_data->data[0].cos_bw = 33; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1269 cos_data->data[1].cos_bw = 67; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1271 cos_data->data[0].cos_bw = 67; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1272 cos_data->data[1].cos_bw = 33; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1282 cos_data->data[0].cos_bw = 50; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1283 cos_data->data[1].cos_bw = 50; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1285 cos_data->data[0].cos_bw = 67; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1286 cos_data->data[1].cos_bw = 33; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1288 cos_data->data[1].pausable = true; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1289 cos_data->data[0].pausable = true; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1291 cos_data->data[0].pri_join_mask = (pri_join_mask & in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1294 cos_data->data[1].pri_join_mask = in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1301 cos_data, pri_join_mask); in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1312 cos_data->data[0].strict = in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1314 cos_data->data[1].strict = in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1318 cos_data->data[0].strict = in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1321 cos_data->data[1].strict = in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1325 cos_data->data[0].pausable = true; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1327 cos_data->data[1].pausable = false; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1334 cos_data->data[0].pausable = in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1335 cos_data->data[1].pausable = in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1351 cos_data->data[0].pri_join_mask = pri_mask_without_pri; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1352 cos_data->data[1].pri_join_mask = pri_tested; in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1357 cos_data->data[0].strict = in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1360 cos_data->data[1].strict = in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1370 struct cos_help_data *cos_data, in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params() argument
1390 bnx2x_dcbx_separate_pauseable_from_non(bp, cos_data, in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1397 cos_data->data[0].pausable = true; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1399 cos_data->data[1].pausable = false; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1403 cos_data->data[0].pri_join_mask = in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1406 cos_data->data[1].pri_join_mask = in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1410 cos_data->data[0].pri_join_mask = in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1413 cos_data->data[1].pri_join_mask = in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1421 cos_data->data[0].pausable = cos_data->data[1].pausable = in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1423 cos_data->data[0].pri_join_mask = in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1426 cos_data->data[1].pri_join_mask = in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1434 cos_data->data[i].cos_bw = in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1437 cos_data->data[i].strict = in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params()
1497 struct cos_help_data *cos_data, in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params() argument
1509 cos_data->data[0].pri_join_mask = cos_data->data[1].pri_join_mask = 0; in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1516 cos_data, pg_pri_orginal_spread, ets); in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1535 cos_data->data[0].pausable = cos_data->data[1].pausable = in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1553 cos_data->data[entry].pri_join_mask |= in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1556 &cos_data->data[entry], in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1561 cos_data->data[1].pri_join_mask |= pri_tested; in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1565 cos_data->data[1].strict = in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1575 struct cos_help_data *cos_data, in bnx2x_dcbx_2cos_limit_cee_fill_cos_params() argument
1581 cos_data->num_of_cos = DCBX_COS_MAX_NUM_E2; in bnx2x_dcbx_2cos_limit_cee_fill_cos_params()
1588 cos_data, in bnx2x_dcbx_2cos_limit_cee_fill_cos_params()
1597 cos_data, in bnx2x_dcbx_2cos_limit_cee_fill_cos_params()
1608 cos_data, in bnx2x_dcbx_2cos_limit_cee_fill_cos_params()
1616 cos_data, pri_join_mask); in bnx2x_dcbx_2cos_limit_cee_fill_cos_params()
1621 struct cos_help_data *cos_data, in bnx2x_dcbx_spread_strict_pri() argument
1633 struct cos_entry_help_data *data = &cos_data-> in bnx2x_dcbx_spread_strict_pri()
1670 struct cos_help_data *cos_data, in bnx2x_dcbx_cee_fill_strict_pri() argument
1675 if (bnx2x_dcbx_spread_strict_pri(bp, cos_data, entry, in bnx2x_dcbx_cee_fill_strict_pri()
1678 struct cos_entry_help_data *data = &cos_data-> in bnx2x_dcbx_cee_fill_strict_pri()
1695 struct cos_help_data *cos_data, in bnx2x_dcbx_cee_fill_cos_params() argument
1712 bnx2x_dcbx_ets_disabled_entry_data(bp, cos_data, in bnx2x_dcbx_cee_fill_cos_params()
1721 struct cos_entry_help_data *data = &cos_data-> in bnx2x_dcbx_cee_fill_cos_params()
1741 entry += bnx2x_dcbx_cee_fill_strict_pri(bp, cos_data, in bnx2x_dcbx_cee_fill_cos_params()
1747 cos_data->num_of_cos = entry; in bnx2x_dcbx_cee_fill_cos_params()
1754 struct cos_help_data cos_data; in bnx2x_dcbx_fill_cos_params() local
1759 memset(&cos_data, 0, sizeof(cos_data)); in bnx2x_dcbx_fill_cos_params()
1772 cos_data.num_of_cos = 1; in bnx2x_dcbx_fill_cos_params()
1773 for (i = 0; i < ARRAY_SIZE(cos_data.data); i++) { in bnx2x_dcbx_fill_cos_params()
1774 cos_data.data[i].pri_join_mask = 0; in bnx2x_dcbx_fill_cos_params()
1775 cos_data.data[i].pausable = false; in bnx2x_dcbx_fill_cos_params()
1776 cos_data.data[i].strict = BNX2X_DCBX_STRICT_INVALID; in bnx2x_dcbx_fill_cos_params()
1777 cos_data.data[i].cos_bw = DCBX_INVALID_COS_BW; in bnx2x_dcbx_fill_cos_params()
1782 &cos_data, pri_join_mask); in bnx2x_dcbx_fill_cos_params()
1786 &cos_data, in bnx2x_dcbx_fill_cos_params()
1791 for (i = 0; i < cos_data.num_of_cos ; i++) { in bnx2x_dcbx_fill_cos_params()
1795 p->strict = cos_data.data[i].strict; in bnx2x_dcbx_fill_cos_params()
1796 p->bw_tbl = cos_data.data[i].cos_bw; in bnx2x_dcbx_fill_cos_params()
1797 p->pri_bitmask = cos_data.data[i].pri_join_mask; in bnx2x_dcbx_fill_cos_params()
1798 p->pauseable = cos_data.data[i].pausable; in bnx2x_dcbx_fill_cos_params()
1824 i, cos_data.data[i].pri_join_mask); in bnx2x_dcbx_fill_cos_params()
1828 i, cos_data.data[i].pri_join_mask); in bnx2x_dcbx_fill_cos_params()
1831 bp->dcbx_port_params.ets.num_of_cos = cos_data.num_of_cos ; in bnx2x_dcbx_fill_cos_params()