1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238
|
/*
* Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this source tree, or the
* OpenIB.org BSD license below:
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* - Redistributions of source code must retain the above
* copyright notice, this list of conditions and the following
* disclaimer.
*
* - Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Version: $Id$
*
*/
/***
*** This file was generated at "2025-07-08 11:28:40"
*** by:
*** > adb2pack.py --input adb/prm/hca/ext/reg_access_hca.adb --file-prefix reg_access_hca --prefix reg_access_hca_ --no-adb-utils -o tools_layouts
***/
#ifndef REG_ACCESS_HCA_LAYOUTS_H
#define REG_ACCESS_HCA_LAYOUTS_H
#ifdef __cplusplus
extern "C" {
#endif
#include "adb_to_c_utils.h"
/* Description - */
/* Size in bytes - 4 */
struct reg_access_hca_configuration_item_type_class_file_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x0.23 */
/* access: INDEX */
u_int32_t parameter_index;
/* Description - type_class = 0x6 */
/* 0x0.24 - 0x0.31 */
/* access: INDEX */
u_int8_t type_class;
};
/* Description - */
/* Size in bytes - 4 */
struct reg_access_hca_configuration_item_type_class_global_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x0.23 */
/* access: INDEX */
u_int32_t parameter_index;
/* Description - type_class = 0x0 */
/* 0x0.24 - 0x0.31 */
/* access: INDEX */
u_int8_t type_class;
};
/* Description - */
/* Size in bytes - 4 */
struct reg_access_hca_configuration_item_type_class_host_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x0.17 */
/* access: INDEX */
u_int32_t parameter_index;
/* Description - type_class = 0x7 */
/* 0x0.24 - 0x0.31 */
/* access: INDEX */
u_int8_t type_class;
};
/* Description - */
/* Size in bytes - 4 */
struct reg_access_hca_configuration_item_type_class_log_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x0.23 */
/* access: INDEX */
u_int32_t parameter_index;
/* Description - type_class = 0x5 */
/* 0x0.24 - 0x0.31 */
/* access: INDEX */
u_int8_t type_class;
};
/* Description - */
/* Size in bytes - 4 */
struct reg_access_hca_configuration_item_type_class_module_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x0.13 */
/* access: INDEX */
u_int16_t parameter_index;
/* Description - Module Index */
/* 0x0.14 - 0x0.23 */
/* access: INDEX */
u_int16_t module_index;
/* Description - type_class = 0x9 */
/* 0x0.24 - 0x0.31 */
/* access: INDEX */
u_int8_t type_class;
};
/* Description - */
/* Size in bytes - 4 */
struct reg_access_hca_configuration_item_type_class_multi_instance_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x0.11 */
/* access: INDEX */
u_int16_t parameter_index;
/* Description - type_class = 0xA */
/* 0x0.24 - 0x0.31 */
/* access: INDEX */
u_int8_t type_class;
};
/* Description - */
/* Size in bytes - 4 */
struct reg_access_hca_configuration_item_type_class_per_host_pf_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x0.9 */
/* access: INDEX */
u_int16_t parameter_index;
/* Description - If host_id_valid is set, indicates the PF ID, otherwise reserved.
*/
/* 0x0.10 - 0x0.17 */
/* access: INDEX */
u_int8_t pf_index;
/* Description - If host_id_valid is set, indicates the host ID, otherwise reserved.
*/
/* 0x0.18 - 0x0.23 */
/* access: INDEX */
u_int8_t host_id;
/* Description - type_class = 0x3 */
/* 0x0.24 - 0x0.31 */
/* access: INDEX */
u_int8_t type_class;
};
/* Description - */
/* Size in bytes - 4 */
struct reg_access_hca_configuration_item_type_class_physical_port_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x0.15 */
/* access: INDEX */
u_int16_t parameter_index;
/* Description - */
/* 0x0.16 - 0x0.23 */
/* access: INDEX */
u_int8_t port;
/* Description - type_class = 0x1 */
/* 0x0.24 - 0x0.31 */
/* access: INDEX */
u_int8_t type_class;
};
/* Description - */
/* Size in bytes - 8 */
struct reg_access_hca_date_time_layout_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - hour (UTC) - 2 packed BCD digits */
/* 0x0.8 - 0x0.15 */
/* access: RW */
u_int8_t hours;
/* Description - minutes - 2 packed BCD digits */
/* 0x0.16 - 0x0.23 */
/* access: RW */
u_int8_t minutes;
/* Description - seconds - 2 packed BCD digits */
/* 0x0.24 - 0x0.31 */
/* access: RW */
u_int8_t seconds;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - day - 2 packed BCD digits */
/* 0x4.0 - 0x4.7 */
/* access: RW */
u_int8_t day;
/* Description - month - 2 packed BCD digits */
/* 0x4.8 - 0x4.15 */
/* access: RW */
u_int8_t month;
/* Description - year - 4 packed BCD digits */
/* 0x4.16 - 0x4.31 */
/* access: RW */
u_int16_t year;
};
/* Description - */
/* Size in bytes - 104 */
struct reg_access_hca_mcqi_dpa_metadata_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - The subtype of the section */
/* 0x0.0 - 0x0.7 */
/* access: RO */
u_int8_t subtype;
/* Description - The type of the section. Should be used to identify "twin" applications, e.g. - CCProg coming from a 3rd party versus "native" application.
Enumeration details:
0 - APU_APP_EXTERNAL,
1 - 3 - Reserved,
4 - APU_APP_PCC,
5 - APU_APP_DLL,
6 - APU_APP_KERNEL,
7-255 - Reserved */
/* 0x0.24 - 0x0.31 */
/* access: RO */
u_int8_t type;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Version of App Metadata structure */
/* 0x4.0 - 0x4.7 */
/* access: RO */
u_int8_t version;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Structure length */
/* 0x8.0 - 0x8.15 */
/* access: RO */
u_int16_t length;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - DPA application version */
/* 0x10.0 - 0x10.31 */
/* access: RO */
u_int32_t dpa_app_version;
/*---------------- DWORD[5] (Offset 0x14) ----------------*/
/* Description - Version of the DPA API to OS */
/* 0x14.0 - 0x14.31 */
/* access: RO */
u_int32_t dpa_os_api_version;
/*---------------- DWORD[7] (Offset 0x1c) ----------------*/
/* Description - Version of the DPA API to other DPA FW modules */
/* 0x1c.0 - 0x1c.31 */
/* access: RO */
u_int32_t dpa_fw_api_version;
/*---------------- DWORD[10] (Offset 0x28) ----------------*/
/* Description - DPA application UUID, updated with a change in application version */
/* 0x28.0 - 0x34.31 */
/* access: RO */
u_int32_t dpa_app_uuid[4];
/*---------------- DWORD[16] (Offset 0x40) ----------------*/
/* Description - Application description ASCII string */
/* 0x40.0 - 0x5c.31 */
/* access: RO */
u_int32_t dpa_app_description_string[8];
};
/* Description - */
/* Size in bytes - 32 */
struct reg_access_hca_MRSV_CX_7_Value_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - disable_inband_recovery strap */
/* 0x0.21 - 0x0.21 */
/* access: RO */
u_int8_t disable_inband_recovery;
/* Description - primary_is_pcore1 strap */
/* 0x0.22 - 0x0.22 */
/* access: RO */
u_int8_t primary_is_pcore1;
/* Description - 2p_core_active strap */
/* 0x0.23 - 0x0.23 */
/* access: RO */
u_int8_t two_p_core_active;
/* Description - socket_direct strap */
/* 0x0.24 - 0x0.24 */
/* access: RO */
u_int8_t socket_direct;
/* Description - pci_reversal strap */
/* 0x0.25 - 0x0.25 */
/* access: RO */
u_int8_t pci_reversal;
/* Description - pci_partition_1 strap */
/* 0x0.26 - 0x0.26 */
/* access: RO */
u_int8_t pci_partition_1;
/* Description - pci_partition_0 strap */
/* 0x0.27 - 0x0.27 */
/* access: RO */
u_int8_t pci_partition_0;
/* Description - osc_freq_[1] strap */
/* 0x0.28 - 0x0.28 */
/* access: RO */
u_int8_t osc_freq_1;
/* Description - osc_freq_[0] strap */
/* 0x0.29 - 0x0.29 */
/* access: RO */
u_int8_t osc_freq_0;
/* Description - core bypass n strap */
/* 0x0.30 - 0x0.30 */
/* access: RO */
u_int8_t core_bypass_n;
/* Description - fnp strap */
/* 0x0.31 - 0x0.31 */
/* access: RO */
u_int8_t fnp;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - strapping pins mask
0: ignore strap value
1: strap value is valid */
/* 0x8.0 - 0x8.31 */
/* access: RO */
u_int32_t straps_mask;
};
/* Description - */
/* Size in bytes - 4 */
union reg_access_hca_config_item_type_auto_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x0.31 */
/* access: RW */
struct reg_access_hca_configuration_item_type_class_file_ext configuration_item_type_class_file_ext;
/* Description - */
/* 0x0.0 - 0x0.31 */
/* access: RW */
struct reg_access_hca_configuration_item_type_class_global_ext configuration_item_type_class_global_ext;
/* Description - */
/* 0x0.0 - 0x0.31 */
/* access: RW */
struct reg_access_hca_configuration_item_type_class_host_ext configuration_item_type_class_host_ext;
/* Description - */
/* 0x0.0 - 0x0.31 */
/* access: RW */
struct reg_access_hca_configuration_item_type_class_log_ext configuration_item_type_class_log_ext;
/* Description - */
/* 0x0.0 - 0x0.31 */
/* access: RW */
struct reg_access_hca_configuration_item_type_class_module_ext configuration_item_type_class_module_ext;
/* Description - */
/* 0x0.0 - 0x0.31 */
/* access: RW */
struct reg_access_hca_configuration_item_type_class_multi_instance_ext configuration_item_type_class_multi_instance_ext;
/* Description - */
/* 0x0.0 - 0x0.31 */
/* access: RW */
struct reg_access_hca_configuration_item_type_class_per_host_pf_ext configuration_item_type_class_per_host_pf_ext;
/* Description - */
/* 0x0.0 - 0x0.31 */
/* access: RW */
struct reg_access_hca_configuration_item_type_class_physical_port_ext configuration_item_type_class_physical_port_ext;
};
/* Description - */
/* Size in bytes - 124 */
struct reg_access_hca_mcqi_activation_method_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - When set, the operation needed to move the component form ACTIVE_PENDING_RESET to ACTIVE should happen simultaneously on all hosts. */
/* 0x0.0 - 0x0.0 */
/* access: RO */
u_int8_t all_hosts_sync;
/* Description - This component will be ACTIVE or ACTIVE_PENDING_RESET after the APPLY state. */
/* 0x0.1 - 0x0.1 */
/* access: RO */
u_int8_t auto_activate;
/* Description - This component goes to ACTIVE_PENDING_RESET after activation.
A FW reset will move it to ACTIVE state. */
/* 0x0.2 - 0x0.2 */
/* access: RO */
u_int8_t pending_fw_reset;
/* Description - This component goes to ACTIVE_PENDING_RESET state after activation.
A server reset (PCIe PERST#), will move it ACTIVE state. */
/* 0x0.3 - 0x0.3 */
/* access: RO */
u_int8_t pending_server_reboot;
/* Description - This component goes to ACTIVE_PENDING_RESET state after activation.
DC power cycle (power cycle of PCI power rails), will move it ACTIVE state. */
/* 0x0.4 - 0x0.4 */
/* access: RO */
u_int8_t pending_server_dc_power_cycle;
/* Description - This component goes to ACTIVE_PENDING_RESET state after activation.
AC power cycle (power cycle for both PCI power rails and AUX power), will move it ACTIVE state. */
/* 0x0.5 - 0x0.5 */
/* access: RO */
u_int8_t pending_server_ac_power_cycle;
/* Description - When set, the component supports self activation. For cables, please refer to activation_type in LINKX_PROPERTIES data for more details. */
/* 0x0.6 - 0x0.6 */
/* access: RO */
u_int8_t self_activation;
};
/* Description - */
/* Size in bytes - 124 */
struct reg_access_hca_mcqi_cap_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Bitmask indicating which info_type(s) are supported for this component. Set bit indicates the property set is supported
bit 1: VERSION
bit 5: ACTIVATION_METHOD
Other bits are reserved. CAPABILITIES set is always supported.
bit 6: LinkX
bit 7: Clock Synchronizer
bit 9: DPA_APPS_INFO
Other bits are reserved */
/* 0x0.0 - 0x0.31 */
/* access: RO */
u_int32_t supported_info_bitmask;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - The size of the component given in bytes. Value 0x0 indicates that the size in unknown.
For some components, size may only be available in the READ_COMPONENT state. */
/* 0x4.0 - 0x4.31 */
/* access: RO */
u_int32_t component_size;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Maximum size for this component, given in bytes. */
/* 0x8.0 - 0x8.31 */
/* access: RO */
u_int32_t max_component_size;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Maximal write size for MCDA */
/* 0xc.0 - 0xc.15 */
/* access: RO */
u_int16_t mcda_max_write_size;
/* Description - Log 2 of the access word size in bytes.
Read and write access must be aligned to the word size. Write access must be done for an integer number of words. */
/* 0xc.28 - 0xc.31 */
/* access: RO */
u_int8_t log_mcda_word_size;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - The device only accepts updates for this component that explicitly lists its base MAC and/or base GUID */
/* 0x10.26 - 0x10.26 */
/* access: RW */
u_int8_t match_base_guid_mac;
/* Description - A user defined timestamp (MVTS) is active for this component. */
/* 0x10.27 - 0x10.27 */
/* access: RW */
u_int8_t check_user_timestamp;
/* Description - PSID is validated for this component update. */
/* 0x10.28 - 0x10.28 */
/* access: RW */
u_int8_t match_psid;
/* Description - Chip ID (device_hw_revision) is validated for this component update. */
/* 0x10.29 - 0x10.29 */
/* access: RW */
u_int8_t match_chip_id;
/* Description - Only signed components are accepted. */
/* 0x10.30 - 0x10.30 */
/* access: RW */
u_int8_t signed_updates_only;
/* Description - When set, this components may be read, see Section 10.3.4, "Read Flow", on page 1019. */
/* 0x10.31 - 0x10.31 */
/* access: RO */
u_int8_t rd_en;
};
/* Description - */
/* Size in bytes - 4 */
struct reg_access_hca_mcqi_clock_source_properties_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Image Version Minor Number */
/* 0x0.0 - 0x0.3 */
/* access: RO */
u_int8_t image_version_minor;
/* Description - Image Version Major Number */
/* 0x0.4 - 0x0.7 */
/* access: RO */
u_int8_t image_version_major;
/* Description - Clock Source Device Vendor Id
0: Renesas
1: SiTime 148
2: SiTime 348
3: TI
4-255: Reserved */
/* 0x0.16 - 0x0.23 */
/* access: RO */
u_int8_t vendor_id;
};
/* Description - */
/* Size in bytes - 112 */
struct reg_access_hca_mcqi_dpa_apps_info_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Provides the number of DPA apps in the active DPA_APPS partition.
If there are no DPA apps, this field is equal to 0 and all the DPA_APP_METADATA fields will be 0. */
/* 0x0.16 - 0x0.23 */
/* access: RO */
u_int8_t total_number_of_entries;
/* Description - DPA_APPS_INFO version. */
/* 0x0.24 - 0x0.31 */
/* access: RO */
u_int8_t version;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - DPA metadata, see Table 2757, "MCQI DPA_APP_METADATA Layout," on page 3134 */
/* 0x8.0 - 0x6c.31 */
/* access: RO */
struct reg_access_hca_mcqi_dpa_metadata_ext dpa_app_metadata;
};
/* Description - */
/* Size in bytes - 124 */
struct reg_access_hca_mcqi_linkx_properties_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Bit 0: Image A is running
Bit 1: Image A is committed, module boots from image A
Bit 2: Image A is erased / empty
Bit 3: Reserved
Bit 4: Image B is running
Bit 5: Image B is committed, module boots from image B
Bit 6: Image B is erased / empty
Bit 7: Reserved */
/* 0x0.0 - 0x0.7 */
/* access: RO */
u_int8_t fw_image_status_bitmap;
/* Description - Bit 0: FW image A is present
Bit 1: FW image B is present
Bit 2: Factory / boot image is present
Bits 3-7: Reserved */
/* 0x0.16 - 0x0.23 */
/* access: RO */
u_int8_t fw_image_info_bitmap;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Image A FW minor version */
/* 0x4.0 - 0x4.7 */
/* access: RO */
u_int8_t image_a_minor;
/* Description - Image A FW major version */
/* 0x4.8 - 0x4.15 */
/* access: RO */
u_int8_t image_a_major;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Image A FW subminor number */
/* 0x8.0 - 0x8.15 */
/* access: RO */
u_int16_t image_a_subminor;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Image B FW minor version */
/* 0xc.0 - 0xc.7 */
/* access: RO */
u_int8_t image_b_minor;
/* Description - Image B FW major version */
/* 0xc.8 - 0xc.15 */
/* access: RO */
u_int8_t image_b_major;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - Image B FW subminor number */
/* 0x10.0 - 0x10.15 */
/* access: RO */
u_int16_t image_b_subminor;
/*---------------- DWORD[5] (Offset 0x14) ----------------*/
/* Description - Factory / boot image FW minor version */
/* 0x14.0 - 0x14.7 */
/* access: RO */
u_int8_t factory_image_minor;
/* Description - Factory / boot image FW major version */
/* 0x14.8 - 0x14.15 */
/* access: RO */
u_int8_t factory_image_major;
/*---------------- DWORD[6] (Offset 0x18) ----------------*/
/* Description - Factory / boot image FW subminor number */
/* 0x18.0 - 0x18.15 */
/* access: RO */
u_int16_t factory_image_subminor;
/*---------------- DWORD[7] (Offset 0x1c) ----------------*/
/* Description - 0: Does not support either one of the FW update procedures defined below
1: SFF-8636 management interface and pseudo-CMIS FW. Update is supported
2: CMIS 4.0 is implemented */
/* 0x1c.0 - 0x1c.5 */
/* access: RO */
u_int8_t management_interface_protocol;
/* Description - 0: HW reset is required. Host should be prepared to power cycle a cable after sending a RunFWImage command.
1: Self-activation with HW reset contained in the RunFWImage command. No additional actions required from the host.
2:Self-activation with hitless reset contained in the RunFWImage command. No additional actions required from the host.
3-15: Reserved */
/* 0x1c.10 - 0x1c.13 */
/* access: RO */
u_int8_t activation_type;
/*---------------- DWORD[8] (Offset 0x20) ----------------*/
/* Description - Vendor Serial Number */
/* 0x20.0 - 0x20.15 */
/* access: RO */
u_int16_t vendor_sn;
};
/* Description - */
/* Size in bytes - 124 */
struct reg_access_hca_mcqi_version_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x0.7 */
/* access: RW */
u_int8_t version_string_length;
/* Description - When set, the component has a valid user-defined version time-stamp in user_defined_time */
/* 0x0.28 - 0x0.28 */
/* access: RW */
u_int8_t user_defined_time_valid;
/* Description - When set, the component has a valid creation time-stamp in build_time */
/* 0x0.29 - 0x0.29 */
/* access: RW */
u_int8_t build_time_valid;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Version number */
/* 0x4.0 - 0x4.31 */
/* access: RW */
u_int32_t version;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Time of component creation. Valid only if build_time_valid is set. See Table 2747, "Date-Time Layout," on page 3128 */
/* 0x8.0 - 0xc.31 */
/* access: RW */
struct reg_access_hca_date_time_layout_ext build_time;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - User-defined time assigned to the component version. Valid only if user_defined_time_valid is set. See Table 2747, "Date-Time Layout," on page 3128 */
/* 0x10.0 - 0x14.31 */
/* access: RW */
struct reg_access_hca_date_time_layout_ext user_defined_time;
/*---------------- DWORD[6] (Offset 0x18) ----------------*/
/* Description - Build tool version number.
Valid only when not equal to 0 */
/* 0x18.0 - 0x18.31 */
/* access: RW */
u_int32_t build_tool_version;
/*---------------- DWORD[8] (Offset 0x20) ----------------*/
/* Description - NULL terminated string representing the version. */
/* 0x20.24 - 0x7c.23 */
/* access: RW */
u_int8_t version_string[92];
};
/* Description - */
/* Size in bytes - 112 */
struct reg_access_hca_nic_cap_ext_dpa_cap_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Maximal number of DPA EUGs */
/* 0x0.0 - 0x0.15 */
/* access: RO */
u_int16_t max_num_dpa_eug;
/* Description - Maximal number of DPA EUs */
/* 0x0.16 - 0x0.31 */
/* access: RO */
u_int16_t max_num_dpa_eu;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Maximal number of DPA EU partitions */
/* 0x4.0 - 0x4.15 */
/* access: RO */
u_int16_t max_num_dpa_eu_partition;
/* Description - Maximal number of DPA EUs in one DPA EUG */
/* 0x4.16 - 0x4.31 */
/* access: RO */
u_int16_t max_num_dpa_eu_per_group;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Bitmask indicating the supported sampling types of DPA performance counters. Set bit indicates this type is supported:
Bit 0: CUMMULATIVE_EVENT
Bit 1: EVENT_TRACER
Other bits are reserved */
/* 0x8.8 - 0x8.15 */
/* access: RO */
u_int8_t dpa_perf_sample_type;
/* Description - Maximal number of VHCAs associated with a single DPA EU partition */
/* 0x8.16 - 0x8.24 */
/* access: RO */
u_int16_t max_num_partition_vhca_id;
/* Description - When set, DPA process performance counters can be activated using NIC_DPA_PERF_CTRL_REG */
/* 0x8.30 - 0x8.30 */
/* access: RO */
u_int8_t process_perf_cnt;
};
/* Description - */
/* Size in bytes - 4 */
struct reg_access_hca_rom_version_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Build version */
/* 0x0.0 - 0x0.15 */
/* access: RO */
u_int16_t build;
/* Description - Minor version */
/* 0x0.16 - 0x0.23 */
/* access: RO */
u_int8_t minor;
/* Description - Major version */
/* 0x0.24 - 0x0.31 */
/* access: RO */
u_int8_t major;
};
/* Description - */
/* Size in bytes - 32 */
union reg_access_hca_MRSV_data_auto_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x1c.31 */
/* access: RW */
struct reg_access_hca_MRSV_CX_7_Value_ext MRSV_CX_7_Value_ext;
};
/* Description - */
/* Size in bytes - 12 */
struct reg_access_hca_config_item_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Length of configuration item data in bytes (not including header). Must be between 0 and 256. */
/* 0x0.0 - 0x0.8 */
/* access: RW */
u_int16_t length;
/* Description - Host ID valid:
1: the type_index.host_id field is valid
Valid only when MNVGC.priv_nv_other_host=1 and the type_class is a Host or Host-PF */
/* 0x0.9 - 0x0.9 */
/* access: INDEX */
u_int8_t host_id_valid;
/* Description - Configuration item version - defines the data structure following the header (together with the type field). */
/* 0x0.12 - 0x0.15 */
/* access: RW */
u_int8_t version;
/* Description - The entity which configured this parameter
0x0: UNSPECIFIED
0x1: CHASSIS_BMC
0x2: MAD
0x3: BMC
0x4: COMMAND_INTERFACE
0x5: ICMD - with unspecified source
0x6: ICMD_UEFI_HII - configured by the NIC's UEFI expansion ROM"s HII menu.
0x7: ICMD_UEFI_CLP - configured by the NIC's expansion ROM"s CLP.
0x8: ICMD_Flexboot - configured by the NIC"s legacy expansion ROM.
0x9: ICMD_mlxconfig - configured by Mellanox mlxconfig tool
0xA: ICMD_USER1 - value available for customer created tools that uses the ICMD interface for writing TLVs.
0xB: ICMD_USER2 - value available for customer created tools that uses the ICMD interface for writing TLVs.
0xC: ICMD_MLXCONFIG_SET_RAW - configures by
mlxconfig set raw operation.
0xD: ICMD_FLEXBOOT_CLP - configured by Legacy Expansion ROM CLP
0x10: BMC_APP1 - Configuration was done over the BMC by application #1 (application name is OEM specific)
0x11: BMC_APP2 - Configuration was done over the BMC by application #2 (application name is OEM specific)
0x12: BMP_APP3 - Configuration was done over the BMC by application #3 (application name is OEM specific)
0x1F: OTHER - the parameter was written by the NIC due to other reasons.
Note - This field is writeable only when using the ICMD interface. The only value that are valid for writes are 0x6 through 0xB. Other values will be replaced by 0x5ICMD. */
/* 0x0.16 - 0x0.20 */
/* access: RO */
u_int8_t writer_id;
/* Description - Defines which value of the Configuration Item will be accessed.
0: NEXT - Next value to be applied
1: CURRENT - Currently set values (only valid for Query operation) Supported only if NVGC.nvda_read_current_settings==1.
2: FACTORY - Default factory values (only valid for Query operation). Supported only if NVGC.nvda_read_factory_settings==1. */
/* 0x0.22 - 0x0.23 */
/* access: INDEX */
u_int8_t access_mode;
/* Description - Read Enable
Controls the read operation during different life-cycle stages.
0: TLV cannot be read by the subsequent life-cycle priorities.
1: TLV can be read by the subsequent life-cycle priorities. */
/* 0x0.24 - 0x0.24 */
/* access: RW */
u_int8_t rd_en;
/* Description - Override Enable
0: Can only be overwritten by the current life-cycle priority.
1: Allowed to be over-written by the subsequent life-cycle priorities. */
/* 0x0.25 - 0x0.25 */
/* access: RW */
u_int8_t ovr_en;
/* Description - The life-cycle priority of this configuration.
0x0: USER,
0x1: OEM,
0x2: Reserved
0x3: MLNX
The priority is set by either:
1. When using MNVDA, the TLV will have user priority
2. When using NVCONFIG, each TLV has its own priority */
/* 0x0.28 - 0x0.29 */
/* access: RO */
u_int8_t priority;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Configuration item index according to its type_class.
Table 2878, "Configuration Item Data Type Class Global Layout," on page 3221
Table 2880, "Configuration Item Data Type Class Physical Port Layout," on page 3221
Table 2882, "Configuration Item Data Type Class Per Host-PF Layout," on page 3222
Table 2884, "Configuration Item Data Type Class Log Layout," on page 3222
Table 2886, "Configuration Item Data Type Class File Layout," on page 3223
Table 2888, "Configuration Item Data Type Class Host Layout," on page 3223
Table 2890, "Configuration Item Data Type Class Module Layout," on page 3224
Table 2892, "Configuration Item Data Type Class Multi Instance Layout," on page 3225 */
/* 0x4.0 - 0x4.31 */
/* access: INDEX */
union reg_access_hca_config_item_type_auto_ext type;
};
/* Description - */
/* Size in bytes - 4 */
struct reg_access_hca_default_timeout_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Timeout value */
/* 0x0.0 - 0x0.19 */
/* access: RO */
u_int32_t to_value;
/* Description - 0x0: millisecond
0x1: seconds
0x2: minutes
0x3: hours */
/* 0x0.29 - 0x0.31 */
/* access: RO */
u_int8_t to_multiplier;
};
/* Description - */
/* Size in bytes - 4 */
struct reg_access_hca_diagnostic_cntr_layout {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Diagnostic counter identifier. */
/* 0x0.0 - 0x0.15 */
/* access: RW */
u_int16_t counter_id;
/* Description - The counter might be used as Synced Start Diagnostics Counters */
/* 0x0.31 - 0x0.31 */
/* access: RW */
u_int8_t sync;
};
/* Description - */
/* Size in bytes - 4 */
struct reg_access_hca_lane_2_module_mapping_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Module number */
/* 0x0.0 - 0x0.7 */
/* access: RW */
u_int8_t module;
/* Description - Reserved for HCA.
Slot_index
Slot_index = 0 represent the onboard (motherboard).
In case of non modular system only slot_index = 0 is available. */
/* 0x0.8 - 0x0.11 */
/* access: RW */
u_int8_t slot_index;
/* Description - Indicates start offset of rx_lane, tx_lane inside the modules lanes in 8x granularity. relevant for modules with more than 8 lanes. such as OE.
0: lanes_0-7
1: lanes_8_15
2: lanes_16_23
3: lanes_24_31 */
/* 0x0.12 - 0x0.13 */
/* access: RW */
u_int8_t sub_module;
/* Description - TX lane.
When m_lane_m field is set, this field is ignored (Reserved).
When rxtx field is cleared, this field is used for RX as well. */
/* 0x0.16 - 0x0.19 */
/* access: RW */
u_int8_t tx_lane;
/* Description - RX lane.
When m_lane_m field is set, this field is ignored (Reserved).
When rxtx field is clreared, for set operation this field is ignored and for get operation may return invalid value, Rx mapping for get should be taken from tx_lane. */
/* 0x0.24 - 0x0.27 */
/* access: RW */
u_int8_t rx_lane;
/* Description - Supported if PCAM.feature_cap_mask bit 116 is set, otherwise field is not valid.
Relevant for Bidi port only, Simplex port should ignore.
indicates if module lane Tx or Rx is used.
0: module_rx_lane_valid - Bidi lane uses module rx lane.
tx lane value is not valid should be ignored
1: module_tx_lane_valid - Bidi lane uses module tx lane.
rx lane value is not valid should be ignored */
/* 0x0.30 - 0x0.30 */
/* access: RO */
u_int8_t bidi_map;
};
/* Description - */
/* Size in bytes - 124 */
union reg_access_hca_mcqi_reg_data_auto_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x78.31 */
/* access: RW */
struct reg_access_hca_mcqi_activation_method_ext mcqi_activation_method_ext;
/* Description - */
/* 0x0.0 - 0x78.31 */
/* access: RW */
struct reg_access_hca_mcqi_cap_ext mcqi_cap_ext;
/* Description - */
/* 0x0.0 - 0x0.31 */
/* access: RW */
struct reg_access_hca_mcqi_clock_source_properties_ext mcqi_clock_source_properties_ext;
/* Description - */
/* 0x0.0 - 0x6c.31 */
/* access: RW */
struct reg_access_hca_mcqi_dpa_apps_info_ext mcqi_dpa_apps_info_ext;
/* Description - */
/* 0x0.0 - 0x78.31 */
/* access: RW */
struct reg_access_hca_mcqi_linkx_properties_ext mcqi_linkx_properties_ext;
/* Description - */
/* 0x0.0 - 0x78.31 */
/* access: RW */
struct reg_access_hca_mcqi_version_ext mcqi_version_ext;
};
/* Description - */
/* Size in bytes - 28 */
struct reg_access_hca_mgir_dev_info_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - The format of the string represented by ASCII. */
/* 0x0.24 - 0x1c.23 */
/* access: RO */
u_int8_t dev_branch_tag[28];
};
/* Description - */
/* Size in bytes - 64 */
struct reg_access_hca_mgir_fw_info_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Sub-minor firmware version number.
Deprecated and returns '0'.
Refer to extended_sub_minor. */
/* 0x0.0 - 0x0.7 */
/* access: RO */
u_int8_t sub_minor;
/* Description - Minor firmware version number.
Deprecated and returns '0'.
Refer to extended_minor. */
/* 0x0.8 - 0x0.15 */
/* access: RO */
u_int8_t minor;
/* Description - Major firmware version number.
Deprecated and returns '0'.
Refer to extended_major. */
/* 0x0.16 - 0x0.23 */
/* access: RO */
u_int8_t major;
/* Description - When set, the device is running firmware with secure-firmware updates capabilities. */
/* 0x0.24 - 0x0.24 */
/* access: RO */
u_int8_t secured;
/* Description - When set the device is running a signed FW binaries. */
/* 0x0.25 - 0x0.25 */
/* access: RO */
u_int8_t signed_fw;
/* Description - When set, the device is running a debug firmware. 'debug' binary can only be installed on specific devices (identified by their 'Factory base MAC'), which currently run a specific firmware version. These restrictions are expressed by a signed 'debug' token that must be loaded to the device before installing the debug binary. */
/* 0x0.26 - 0x0.26 */
/* access: RO */
u_int8_t debug;
/* Description - *NOTE* this field has diff meaning for Switch vs. NIC
NIC:
The device is running:
0: a regular-secure firmware version
1: a development-secure firmware version
*/
/* 0x0.27 - 0x0.27 */
/* access: RO */
u_int8_t dev;
/* Description - When set, string-TLV is supported.
For Retimer - always return 0 (not supported). */
/* 0x0.28 - 0x0.28 */
/* access: RO */
u_int8_t string_tlv;
/* Description - *NOTE* for NICs same as dev field
Development-secure:
The device is running:
0: a regular-secure firmware version
1: a development-secure firmware version */
/* 0x0.30 - 0x0.30 */
/* access: RO */
u_int8_t dev_sc;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Firmware Build ID. Optional.
Note: Deprecated for switches and returns '0'. */
/* 0x4.0 - 0x4.31 */
/* access: RO */
u_int32_t build_id;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Firmware installation date.
For example: 3 May 2004 will be coded as Month= 0x05, Day= 0x03, and Year= 0x04 */
/* 0x8.0 - 0x8.15 */
/* access: RO */
u_int16_t year;
/* Description - Firmware installation date.
For example: 3 May 2004 will be coded as Month= 0x05, Day= 0x03, and Year= 0x04 */
/* 0x8.16 - 0x8.23 */
/* access: RO */
u_int8_t day;
/* Description - Firmware installation date.
For example: 3 May 2004 will be coded as Month= 0x05, Day= 0x03, and Year= 0x04 */
/* 0x8.24 - 0x8.31 */
/* access: RO */
u_int8_t month;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Firmware installation hour.
For example 17:43 will be coded as 0x1743 */
/* 0xc.0 - 0xc.15 */
/* access: RO */
u_int16_t hour;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - FW PSID */
/* 0x10.24 - 0x20.23 */
/* access: RO */
u_int8_t psid[16];
/*---------------- DWORD[8] (Offset 0x20) ----------------*/
/* Description - User-configured version number of the current INI file. */
/* 0x20.0 - 0x20.31 */
/* access: RO */
u_int32_t ini_file_version;
/*---------------- DWORD[9] (Offset 0x24) ----------------*/
/* Description - FW version's Major field in extended (32b) format. */
/* 0x24.0 - 0x24.31 */
/* access: RO */
u_int32_t extended_major;
/*---------------- DWORD[10] (Offset 0x28) ----------------*/
/* Description - FW version's Minor field in extended (32b) format. */
/* 0x28.0 - 0x28.31 */
/* access: RO */
u_int32_t extended_minor;
/*---------------- DWORD[11] (Offset 0x2c) ----------------*/
/* Description - FW version's SubMinor field in extended (32b) format. */
/* 0x2c.0 - 0x2c.31 */
/* access: RO */
u_int32_t extended_sub_minor;
/*---------------- DWORD[12] (Offset 0x30) ----------------*/
/* Description - incremented by one when version is not ISSUable */
/* 0x30.0 - 0x30.15 */
/* access: RO */
u_int16_t isfu_major;
/* Description - Bitmap representing the disabled tiles in the ASIC. Tile '0' is represented by the msb bit.
0: tile is enabled
1: tile is disabled
The total number of tiles can be derived through MGPIR register. */
/* 0x30.16 - 0x30.31 */
/* access: RO */
u_int16_t disabled_tiles_bitmap;
/*---------------- DWORD[13] (Offset 0x34) ----------------*/
/* Description - 0: Production
1: GA Secured
2: GA Non-Secured
3: RMA
4: Pre Production
Note: has also msb bits in life_cycle_msb.
*/
/* 0x34.0 - 0x34.1 */
/* access: RO */
u_int8_t life_cycle;
/* Description - 0: Disable
1: Enable */
/* 0x34.2 - 0x34.2 */
/* access: RO */
u_int8_t sec_boot;
/* Description - 0: Disable
1: Enable */
/* 0x34.3 - 0x34.3 */
/* access: RO */
u_int8_t encryption;
/* Description - [DWIP]
MSB of the life cycle.
Supported in QM3, CX8 and on. */
/* 0x34.4 - 0x34.6 */
/* access: RO */
u_int8_t life_cycle_msb;
/* Description - 0: device is in prod mode
1: device is in dev mode */
/* 0x34.11 - 0x34.11 */
/* access: RO */
u_int8_t dev_state;
/* Description - [DWIP]
ISSU-able:
0: not ISSUable
1: ISSUable
Supported from Quantum-3 and on
Supported for Retimers
Based on FW decisions: fuse, INI, NV and version on flash vs. running version */
/* 0x34.13 - 0x34.13 */
/* access: RO */
u_int8_t issu_able;
/* Description - [DWIP]
0: PSC is not PDS mode
1: PSC in PDS mode
Supported in QM3,CX8 and on. */
/* 0x34.14 - 0x34.14 */
/* access: RO */
u_int8_t pds;
/* Description - [NIC_Only]
When set, the embedding CPU engine is disabled
Valid for devices that supports embedded CPU (SOC)
*/
/* 0x34.15 - 0x34.15 */
/* access: RO */
u_int8_t ec_offload_engine_disabled;
/* Description - Counter indication of dev fuse value */
/* 0x34.16 - 0x34.20 */
/* access: RO */
u_int8_t dev_counter;
};
/* Description - */
/* Size in bytes - 32 */
struct reg_access_hca_mgir_hardware_info_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - PCI device ID. */
/* 0x0.0 - 0x0.15 */
/* access: RO */
u_int16_t device_id;
/* Description - See Table 2773, "Device HW Revision Descriptions," on page 3149 */
/* 0x0.16 - 0x0.31 */
/* access: RO */
u_int16_t device_hw_revision;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Process Voltage Scaling
Supported nominal V_CORE voltage (in 50mV units) for the device. */
/* 0x4.0 - 0x4.4 */
/* access: RO */
u_int8_t pvs;
/* Description - Process technology
0: N/A
1: 40nm
2: 28nm
3: 16nm
4: 7nm
5: 5nm
6-31: Reserved */
/* 0x4.11 - 0x4.15 */
/* access: RO */
u_int8_t technology;
/* Description - Number of ports the device supports. */
/* 0x4.16 - 0x4.27 */
/* access: RO */
u_int16_t num_ports;
/* Description - [DWIP]
IB MAD Protocol. Based on value from ConfigProfile
0: IBg1
1: IBg2
2-7: Reserved */
/* 0x4.28 - 0x4.30 */
/* access: RO */
u_int8_t ib_mad_gen;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - The PCI device-ID of the NIC/HCA in recovery (Livefish) mode. */
/* 0x8.0 - 0x8.15 */
/* access: RO */
u_int16_t hw_dev_id;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Module Master FW Default
0: FW is in control over modules management by default
1: SW is in control over modules management by default
2: Standalone ASIC (no I2C connectivity).
Note: Relevant only for Spectrum-3 and above */
/* 0xc.16 - 0xc.17 */
/* access: RO */
u_int8_t module_master_fw_default;
/* Description - [DWIP][switch_only]
When set, this bit indicate this is CPO system */
/* 0xc.27 - 0xc.27 */
/* access: RO */
u_int8_t cpo_indication;
/* Description - GA Valid bit
0: MGIR.HW Info.ga is reserved
1: MGIR.HW Info.ga is valid
Supported in CX7, QM3 and on. */
/* 0xc.28 - 0xc.28 */
/* access: RO */
u_int8_t ga_valid;
/* Description - [DWIP]
The device is running:
0: a regular-secure firmware version
1: a development-secure firmware version
Supported in QM3,CX8 and on. */
/* 0xc.30 - 0xc.30 */
/* access: RO */
u_int8_t development;
/* Description - 0: Embedded HCA PCIe endpoint enabled
1: Embedded HCA PCIe endpoint disabled */
/* 0xc.31 - 0xc.31 */
/* access: RO */
u_int8_t pci_switch_only_mode;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - MSB of the "base" MAC address of the NIC that was allocate during manufacturing. The NIC derives the MAC addresses for the different PCI PFs from this MAC address. This parameter can be used as a canonical unique identifier of the NIC.
manufacturing_base_mac of value 0 means field is not supported. */
/* 0x10.0 - 0x10.15 */
/* access: RO */
u_int16_t manufacturing_base_mac_47_32;
/* Description - [DWIP]
Geographical Address
0: ASIC 0
1: ASIC 1
2: ASIC 2
3: ASIC 3
Valid for multi ASIC platforms only
. */
/* 0x10.16 - 0x10.21 */
/* access: RO */
u_int8_t ga;
/* Description - [DWIP]
Chip Type
0: Real chip
1: Emulation
2: ChipSim
3: SimX
Supported from Quantum-3 and ArcusE */
/* 0x10.24 - 0x10.27 */
/* access: RO */
u_int8_t chip_type;
/*---------------- DWORD[5] (Offset 0x14) ----------------*/
/* Description - LSB of the "base" MAC address of the NIC that was allocate during manufacturing. The NIC derives the MAC addresses for the different PCI PFs from this MAC address. This parameter can be used as a canonical unique identifier of the NIC.
manufacturing_base_mac of value 0 means field is not supported. */
/* 0x14.0 - 0x14.31 */
/* access: RO */
u_int32_t manufacturing_base_mac_31_0;
/*---------------- DWORD[7] (Offset 0x1c) ----------------*/
/* Description - Time (in secs.) since last reset0 */
/* 0x1c.0 - 0x1c.31 */
/* access: RO */
u_int32_t uptime;
};
/* Description - */
/* Size in bytes - 32 */
struct reg_access_hca_mgir_sw_info_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Sub-minor Driver version number.
*/
/* 0x0.0 - 0x0.7 */
/* access: RO */
u_int8_t sub_minor;
/* Description - Minor Driver version number.
*/
/* 0x0.8 - 0x0.15 */
/* access: RO */
u_int8_t minor;
/* Description - Major Driver version number.
*/
/* 0x0.16 - 0x0.23 */
/* access: RO */
u_int8_t major;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - ROM 3 type:
0x0: none
0x1: Flexboot
0x2: UEFI
0x3: UEFI-CLP
0x4: NVME
0x5: FCODE
0x6: UEFI Virtio net
0x7: UEFI Virtio blk
0x8: PXE Virtio net
0x9-0xF: Reserved */
/* 0x4.0 - 0x4.3 */
/* access: RO */
u_int8_t rom3_type;
/* Description - Arch type of ROM 3:
0x0: unspecified
0x1: AMD64 - x86 64bit architecture
0x2: AARCH64 - ARM Architecture 64 bits
0x3: AMD64_AARCH64 - ROM code supporting both AMD64 and AARCH64 architectures
0x4: IA32 - Intel Architecture 32 bits */
/* 0x4.4 - 0x4.7 */
/* access: RO */
u_int8_t rom3_arch;
/* Description - ROM 2type:
0x0: none
0x1: Flexboot
0x2: UEFI
0x3: UEFI-CLP
0x4: NVME
0x5: FCODE
0x6: UEFI Virtio net
0x7: UEFI Virtio blk
0x8: PXE Virtio net
0x9-0xF: Reserved */
/* 0x4.8 - 0x4.11 */
/* access: RO */
u_int8_t rom2_type;
/* Description - Arch type of ROM 2:
0x0: unspecified
0x1: AMD64 - x86 64bit architecture
0x2: AARCH64 - ARM Architecture 64 bits
0x3: AMD64_AARCH64 - ROM code supporting both AMD64 and AARCH64 architectures
0x4: IA32 - Intel Architecture 32 bits */
/* 0x4.12 - 0x4.15 */
/* access: RO */
u_int8_t rom2_arch;
/* Description - ROM 1type:
0x0: none
0x1: Flexboot
0x2: UEFI
0x3: UEFI-CLP
0x4: NVME
0x5: FCODE
0x6: UEFI Virtio net
0x7: UEFI Virtio blk
0x8: PXE Virtio net
0x9-0xF: Reserved */
/* 0x4.16 - 0x4.19 */
/* access: RO */
u_int8_t rom1_type;
/* Description - Arch type of ROM 1:
0x0: unspecified
0x1: AMD64 - x86 64bit architecture
0x2: AARCH64 - ARM Architecture 64 bits
0x3: AMD64_AARCH64 - ROM code supporting both AMD64 and AARCH64 architectures
0x4: IA32 - Intel Architecture 32 bits */
/* 0x4.20 - 0x4.23 */
/* access: RO */
u_int8_t rom1_arch;
/* Description - ROM 0 type:
0x0: none
0x1: Flexboot
0x2: UEFI
0x3: UEFI-CLP
0x4: NVME
0x5: FCODE
0x6: UEFI Virtio net
0x7: UEFI Virtio blk
0x8: PXE Virtio net
0x9-0xF: Reserved */
/* 0x4.24 - 0x4.27 */
/* access: RO */
u_int8_t rom0_type;
/* Description - Arch type of ROM 0:
0x0: unspecified
0x1: AMD64 - x86 64bit architecture
0x2: AARCH64 - ARM Architecture 64 bits
0x3: AMD64_AARCH64 - ROM code supporting both AMD64 and AARCH64 architectures
0x4: IA32 - Intel Architecture 32 bits */
/* 0x4.28 - 0x4.31 */
/* access: RO */
u_int8_t rom0_arch;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - ROM 0 version. */
/* 0x8.0 - 0x8.31 */
/* access: RO */
struct reg_access_hca_rom_version_ext rom0_version;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - ROM 1 version. */
/* 0xc.0 - 0xc.31 */
/* access: RO */
struct reg_access_hca_rom_version_ext rom1_version;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - ROM 2version. */
/* 0x10.0 - 0x10.31 */
/* access: RO */
struct reg_access_hca_rom_version_ext rom2_version;
/*---------------- DWORD[5] (Offset 0x14) ----------------*/
/* Description - ROM 3 version. */
/* 0x14.0 - 0x14.31 */
/* access: RO */
struct reg_access_hca_rom_version_ext rom3_version;
};
/* Description - */
/* Size in bytes - 112 */
union reg_access_hca_nic_cap_ext_reg_cap_data_auto_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x6c.31 */
/* access: RW */
struct reg_access_hca_nic_cap_ext_dpa_cap_ext nic_cap_ext_dpa_cap_ext;
};
/* Description - */
/* Size in bytes - 8 */
struct reg_access_hca_string_db_parameters_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Offset of the first string of the section, relative to the entire string data base, given in bytes. */
/* 0x0.0 - 0x0.31 */
/* access: RO */
u_int32_t string_db_base_address;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Size of string database section, given in bytes */
/* 0x4.0 - 0x4.23 */
/* access: RO */
u_int32_t string_db_size;
};
/* Description - */
/* Size in bytes - 8 */
struct reg_access_hca_uint64 {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x4.31 */
/* access: RW */
u_int64_t uint64;
};
/* Description - */
/* Size in bytes - 64 */
struct reg_access_hca_MRSV_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Straps Structure Id
0: bf3 */
/* 0x0.0 - 0x0.7 */
/* access: RO */
u_int8_t ssid;
/* Description - Valid bit
0: Strapping pins value reading is not supported for this system
1: Response is valid */
/* 0x0.31 - 0x0.31 */
/* access: RO */
u_int8_t v;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - Data
See Table 2596, "MRSV entry - BF-3 Straps Layout," on page 3002 */
/* 0x10.0 - 0x2c.31 */
/* access: RO */
union reg_access_hca_MRSV_data_auto_ext data;
};
/* Description - */
/* Size in bytes - 64 */
struct reg_access_hca_debug_cap {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - The maximum number of samples that can be stored on the device's sampling buffer is 2^ log_max_samples in counters unit (i.e. 100 will represent the ability to store 100 samples of single counter, 50 samples of 2 counters, etc). */
/* 0x0.0 - 0x0.7 */
/* access: RW */
u_int8_t log_max_samples;
/* Description - Log(base 2) of the the recommended minimal size of eq to handle the resource_dump_event */
/* 0x0.16 - 0x0.20 */
/* access: RW */
u_int8_t log_min_resource_dump_eq;
/* Description - If set, Resource_dump register is supported.
See Table 1693, "RESOURCE_DUMP Register Layout," on page 2010 */
/* 0x0.22 - 0x0.22 */
/* access: RW */
u_int8_t resource_dump;
/* Description - Log(base 2) of the size in granularity of 4KB to be allocated by host in order to accommodate cr_dump.
0 means feature is not supported.
See Table 1691, "CORE_DUMP Register Layout," on page 2008 */
/* 0x0.23 - 0x0.27 */
/* access: RW */
u_int8_t log_cr_dump_to_mem_size;
/* Description - If set, Core dump of type of specific QP is supported.
*/
/* 0x0.30 - 0x0.30 */
/* access: RW */
u_int8_t core_dump_qp;
/* Description - If set, Core dump of type "General" is supported. */
/* 0x0.31 - 0x0.31 */
/* access: RW */
u_int8_t core_dump_general;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - The minimal sample period is 2^ log_min_smaple_period in device clocks. Clock rate of the device is reported by HCA_CAP.device_frequency_khz. */
/* 0x4.0 - 0x4.7 */
/* access: RW */
u_int8_t log_min_sample_period;
/* Description - If set, the device supports dumping the diagnostic counters reports into the tracer buffer. */
/* 0x4.28 - 0x4.28 */
/* access: RW */
u_int8_t diag_counter_tracer_dump;
/* Description - If set, health monitoring for rx path activity is supported.
See Table 29.5.1, "RX Path Activity," on page 1897 */
/* 0x4.29 - 0x4.29 */
/* access: RW */
u_int8_t health_mon_rx_activity;
/* Description - Repetitive sampling mode is supported */
/* 0x4.30 - 0x4.30 */
/* access: RW */
u_int8_t repetitive;
/* Description - Single sampling mode is supported */
/* 0x4.31 - 0x4.31 */
/* access: RW */
u_int8_t single;
/*---------------- DWORD[16] (Offset 0x40) ----------------*/
/* Description - List of counters supported. Number of counters reported by num_of_counters. */
/* 0x40.0 - 0x40.31 */
/* access: RW */
struct reg_access_hca_diagnostic_cntr_layout *diagnostic_counter;
};
/* Description - */
/* Size in bytes - 64 */
struct reg_access_hca_dtor_reg_ext {
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Maximum period for PCIe to be alive after toggle. */
/* 0x4.0 - 0x4.31 */
/* access: RO */
struct reg_access_hca_default_timeout_ext PCIE_TOGGLE_TO;
/*---------------- DWORD[5] (Offset 0x14) ----------------*/
/* Description - Interval for checking if FW health counter incremented. */
/* 0x14.0 - 0x14.31 */
/* access: RO */
struct reg_access_hca_default_timeout_ext HEALTH_POLL_TO;
/*---------------- DWORD[6] (Offset 0x18) ----------------*/
/* Description - On a multi-function device, in case of error, one function dump the CRspace, the other should not do reset till dump is finished. */
/* 0x18.0 - 0x18.31 */
/* access: RO */
struct reg_access_hca_default_timeout_ext FULL_CRDUMP_TO;
/*---------------- DWORD[7] (Offset 0x1c) ----------------*/
/* Description - Maximum period to wait for nic_interface reset. */
/* 0x1c.0 - 0x1c.31 */
/* access: RO */
struct reg_access_hca_default_timeout_ext FW_RESET_TO;
/*---------------- DWORD[8] (Offset 0x20) ----------------*/
/* Description - Maximum period to flush an errored SQ\RQ. */
/* 0x20.0 - 0x20.31 */
/* access: RO */
struct reg_access_hca_default_timeout_ext FLUSH_ON_ERR_TO;
/*---------------- DWORD[9] (Offset 0x24) ----------------*/
/* Description - Maximum period for pci_sync_for_fw_update_start. */
/* 0x24.0 - 0x24.31 */
/* access: RO */
struct reg_access_hca_default_timeout_ext PCI_SYNC_UPDATE_TO;
/*---------------- DWORD[10] (Offset 0x28) ----------------*/
/* Description - Maximum period for TEARDOWN_HCA. */
/* 0x28.0 - 0x28.31 */
/* access: RO */
struct reg_access_hca_default_timeout_ext TEAR_DOWN_TO;
/*---------------- DWORD[11] (Offset 0x2c) ----------------*/
/* Description - The time that takes to do FW FSM reactivate. */
/* 0x2c.0 - 0x2c.31 */
/* access: RO */
struct reg_access_hca_default_timeout_ext FSM_REACTIVATE_TO;
/*---------------- DWORD[12] (Offset 0x30) ----------------*/
/* Description - Maximum period for PF to reclaim own function pages. */
/* 0x30.0 - 0x30.31 */
/* access: RO */
struct reg_access_hca_default_timeout_ext RECLAIM_PAGES_TO;
/*---------------- DWORD[13] (Offset 0x34) ----------------*/
/* Description - Maximum period for PF to reclaim VF function pages. */
/* 0x34.0 - 0x34.31 */
/* access: RO */
struct reg_access_hca_default_timeout_ext RECLAIM_VFS_PAGES_TO;
/*---------------- DWORD[14] (Offset 0x38) ----------------*/
/* Description - Maximum period for Reset FSM to move from UNLOAD ACCEPTED to LINK_TOGGLE_REQUEST */
/* 0x38.0 - 0x38.31 */
/* access: RO */
struct reg_access_hca_default_timeout_ext DRIVER_UNLOAD_AND_RESET_TO;
/*---------------- DWORD[15] (Offset 0x3c) ----------------*/
/* Description - Maximum period for shutting down/booting the embedded CPU OS. Relevant for DPU devices only.
Valid only if the timeout value is not zero.
*/
/* 0x3c.0 - 0x3c.31 */
/* access: RW */
struct reg_access_hca_default_timeout_ext EMBEDDED_CPU_OS_SHUTDOWN_TO;
};
/* Description - */
/* Size in bytes - 72 */
struct reg_access_hca_mcam_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Access Register ID groups
0: First_128_REG_ID - Register IDs 0x9001 - 0x907F)
1: Register_IDs_0x9080 - 0x90FF (bit 0 in mng_access_reg_cap_mask represent register ID 0x9080 while bit 127 represents register ID 0x90FF).
2: Register_IDs_0x9100 - 0x917F (bit 0 in mng_access_reg_cap_mask represent register ID 0x9100 while bit 127 represents register ID 0x917F).
3: Register_IDs_0x9180 - 0x91FF (bit 0 in mng_access_reg_cap_mask represent register ID 0x9180 while bit 127 represents register ID 0x91FF). */
/* 0x0.0 - 0x0.7 */
/* access: INDEX */
u_int8_t access_reg_group;
/* Description - Feature list mask index:
0: enhanced_features */
/* 0x0.16 - 0x0.23 */
/* access: INDEX */
u_int8_t feature_group;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Supported management's access register bitmask. Based on access_reg_group index.
When bit is set, the register is supported in the device.
For example:
Bit 1: MFCR_0x9001
Bit 2: MFSC_0x9002
Bit 3: MFSM_0x9003
Bit 4: MFSL_0x9004
Bit 58: MGCR_0x903A
Bit 73: MPPF_0x9049
Bit 127: MCAP_0x907F */
/* 0x8.0 - 0x14.31 */
/* access: RO */
u_int32_t mng_access_reg_cap_mask[4];
/*---------------- DWORD[10] (Offset 0x28) ----------------*/
/* Description - Supported port's enhanced features.Based on feature_group index.
When bit is set, The feature is supported in the device
Bit 0: MPCNT counter group- PCIE performance counters supported
Bit 1: mtpps_fs - If set, field_select field in MTPPS register is supported.
Bit 2: mtpps_enhanced_out_periodic_adjustment - If set, enhanced_out_periodic_adjustment field in MTPPS register is supported.
Bit 3: tx_lossy_overflow_oper - If set, tx_overflow_buffer_pkt counter in MPCNT register is supported.
Bit 4: pcie_outbound_stalled - if set, outbound_stalled_reads, outbound_stalled_writes, outbound_stalled_reads_events and outbound_stalled_writes_events counters in MPCNT are supported.
Bit 5: Management pass through is supported
Bit 6: sensor_map - If set, sensor_map is supported in MTCAP register.
Bit 7: if set, module_status bit 8 (Module Low Power) in MCION register is supported.
Bit 8: beacon_capability_disable - If set, beacon feature, as appears in MLCR register, in not supported by the device.
Bit 9: dynamic_tx_overflow - If set, tx_overflow_sense field is supported in MPEGC register.
Bit 10: mark_tx_action_cqe is supported if set to '1'.
Bit 11: mark_tx_action_cnp is supported if set to '1'.
Bit 12: dev_info is supported in register is set to '1'.
Bit 13: sensor_count field is 12bit size in MTMP and MTBR
Bit 14: cs_tokens_supported is supported
Bit 15: debug_fw_tokens_supported
Bit 16: long_keys is supported
Bit 17: pwr_status and pci_power are supported in MPEIN
Bit 18: If set, accessing through device_type and device_index is supported in MCC, MCQI and MCQS
Bit 19: pcie_sync_for_fw_update_supported is set to '1'
Bit 20: ptpCyc2Realtime_modify - If set, the cycle to realtime translation offload is supported
Bit 21: If set to '1', reset_state in MFRL is supported
Bit 22: If set to '1', link_peer_max_speed is supported in MPEIN Register
Bit 23: If set to '1', slot_index field is supported in: MCIA, MCAS, MCION, MQSP, MTCAP, MTECR, MTMP, MTEWE, MTBR, MVCAP, MVCR, MGPIR, MDDT, MDCR.
Bit 24: If set, transceiver burn flow is supported in MCC, MCQI and MCQS.
Bit 26: If set, progress field is supported in MCQS
Bit 28: If set, number_of_slots field is supported in MGPIR.
Bit 29: If set, virtual hot plug / unplug is supported in MPEGC.
Bit 30: If set, my_pf_number is supported in MPPF.
Bit 31: If set, sdee is supported in MTMP
Bit 32: If set, npps_period is supported in MTPPS.
Bit 33: If set, out_pulse_duration_ns is supported in MTPPS.
Bit 34: If set, MCIA supports 32 D-words. Otherwise, 12 D-words.
Bit 35: If set, MGIR.hw_info.technology is supported.
Bit 37: If set, lp_msb is supported for MLCR, MPIR
Bit 39: If set, MRCS and RMDT tokens are supported in MCQS
Bit 40: If set, 'encryption' field in MGIR is supported
Bit 43: If set, MFCR supports tacho_active_msb field
Bit 44: If set, FORE supports fan_under_limit_msb and fan_over_limit_msb fields
Bit 45: If set, MFRL.pci_rescan_required is supported
Bit 46: time_adjust_range_extended - if set, the MTUTC.time_adjustment range is extended to -200,000 to +200,000
Bit 47: If set, MTUTC.freq_adj_units=1 is supported
Bit 48: If set, MRSRFT/MRSR.command=6 is supported
Bit 49: If set, MCQS.identifier support CRCS and CRDT tokens
Bit 51: If set, MTUTC.freq_adj_units=2 is supported
Bit 53: If set, Mlx mlxfwreset with downstream port is supported by FW [Internal]: NIC only, FW rejects reset till user committed that traffic is disabled
Bit 59: If set, MCC.component_specific_error_code is valid for LinkX devices
Bit 60: If set, MGNLE.clr is supported
Bit 61: If set, MGIR supports life_cycle_msb and pds fields in FW info and development field in HW info.
Bit 65: If set, MVCR support current_sensor_value_msb
Bit 66: If set. MFRL supports pci_reset_req_method, pci_switch_exist fields. [DWIP]
Bit 67: If set, MRSR.cmd = 6 works with SBR
Bit 68: If set, DPNv supported [NIC_Only]
Bit 70: If set, supports MTCAP support 8 bit internal_sensor_count [DWIP]
Bit 71: If set, supports MVCAP supports sensor_map_type [DWIP]
Bit 72: If set, MVCR supports parent_id field [NIC_only]
Bit 73: If set, MFRL.reset_type=5 Network reset is supported [NIC_only]
Bit 74: If set, MGIR.hw_info.pci_switch_only_mode is supported [NIC_only]
Bit 75: If set, PLLP supports oe_identifier and resource_labe_port [switch_only][DWIP]
bit 76: If set, MCQS supports the component_not_supported field [DWIP]
Bit 77: If set, host_id field in MPIR is supported
Bit 78: If set, MGIR supports 12 bit num_ports field
bit 80: If set, MCQS,identifier supports the DPA_COMPONENT, DPA _COMPONENT_REMOVAL fields and MCQI supports DPA apps info
Bit 81: If set, MFCDR supports module and query_type fields [DWIP]
Bit 82: If set, MCIA supports async mode [DWIP][switch_only]
Bit 83: If set, MISOC supports types 0x2,0x3,0xF and query_not_availble, query_pending fields[NIC_Only]
Bit 84: If set, MCANM supports ec_offload_engine_disabled field[NIC_Only]Bit 85: If set, MTDT token is supported */
/* 0x28.0 - 0x34.31 */
/* access: RO */
u_int32_t mng_feature_cap_mask[4];
};
/* Description - */
/* Size in bytes - 32 */
struct reg_access_hca_mcc_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Command to be executed by the FSM
0x1: LOCK_UPDATE_HANDLE
0x2: RELEASE_UPDATE_HANDLE
0x3: UPDATE_COMPONENT
0x4: VERIFY_COMPONENT
0x6: ACTIVATE
0x7: READ_COMPONENT
0x8: CANCEL
0x9: CHECK_UPDATE_HANDLE
0xA: FORCE_HANDLE_RELEASE
0xB: READ_PENDING_COMPONENT
0xC: DOWNSRTEAM_DEVICE_TRANSFER
Other values are reserved. Applicable for write operation only. */
/* 0x0.0 - 0x0.7 */
/* access: RW */
u_int8_t instruction;
/* Description - This is a configuration that delays the activation of the component in seconds. Relevant only for activate command.
This configuration is volatile. */
/* 0x0.8 - 0x0.15 */
/* access: RW */
u_int8_t activation_delay_sec;
/* Description - The number of seconds elapsed since the update_handle owner last issued a command. The time saturates at 0xFFF. */
/* 0x0.16 - 0x0.27 */
/* access: RO */
u_int16_t time_elapsed_since_last_cmd;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Index of the accessed component.
Value from MCQS.component_index
Valid for
UPDATE_COMPONENT, ACTIVATE_COMPONENET, READ_COMPONENT and READ_PENDING_COMPONENT instructions. Otherwise, this field is reserved. */
/* 0x4.0 - 0x4.15 */
/* access: INDEX */
u_int16_t component_index;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Token representing the current flow executed by the FSM.
See Section 10.2.1, "Component Update State", on page 1016. */
/* 0x8.0 - 0x8.23 */
/* access: RW */
u_int32_t update_handle;
/* Description - Auto-update to all matching downstream devices is requested. */
/* 0x8.31 - 0x8.31 */
/* access: WO */
u_int8_t auto_update;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Current Update FSM state, see Section 10.3.8, "FSM States," on page 1020
0x0: IDLE
0x1: LOCKED
0x2: INITIALIZE
0x3: DOWNLOAD
0x4: VERIFY
0x5: APPLY
0x6: ACTIVATE
0x7: UPLOAD
0x8: UPLOAD_PENDING
0x9: DOWNSRTEAM_DEVICE_TRANSFER
Other values are reserved */
/* 0xc.0 - 0xc.3 */
/* access: RO */
u_int8_t control_state;
/* Description - Indicates the successful completion of the instruction, or the reason it failed. See Section 10.3.7, "Error Handling," on page 1019
0x0: OK
0x1: ERROR
0x2: REJECTED_DIGEST_ERR
0x3: REJECTED_NOT_APPLICABLE
0x4: REJECTED_UNKNOWN_KEY
0x5: REJECTED_AUTH_FAILED
0x6: REJECTED_UNSIGNED
0x7: REJECTED_KEY_NOT_APPLICABLE
0x8: REJECTED_BAD_FORMAT
0x9: BLOCKED_PENDING_RESET
0xA: REJECTED_NOT_A_SECURED_FW
0xB: REJECTED_MFG_BASE_MAC_NOT_LISTED
0xC: REJECTED_NO_DEBUG_TOKEN
0xD: REJECTED_VERSION_NUM_MISMATCH
0xE: REJECTED_USER_TIMESTAMP_MISMATCH
0xF: REJECTED_FORBIDDEN_VERSION
0x10: FLASH_ERASE_ERROR
0x11: REJECTED_REBURN_RUNNING_AND_RETRY
0x12: REJECTED_LINKX_TYPE_NOT_SUPPORTED
0x13: REJECTED_HOST_STORAGE_IN_USE
0x14: REJECTED_LINKX_TRANSFER (see module index in rejected_device_index)
0x15: REJECTED_LINKX_ACTIVATE (see module index in rejected_device_index)
0x16: REJECTED_INCOMPATIBLE_FLASH
0x17: REJECTED_TOKEN_ALREADY_APPLIED
0x18: REJECTED_FW_BURN_DRAM_NOT_AVAILABLE
0x19: FW_BURN_REJECTED_INVALID_SECURITY_VERSION
0x1A: FW_BURN_REJECTED_CERT_CER509
0x1B: FW_BURN_REJECTED_CERT_SIGNATURE
0x1C: FW_BURN_REJECTED_CERT_METADATA
0x1D: FW_BURN_REJECTED_INTERNAL_ERROR_0
0x1E: FW_BURN_REJECTED_NO_PLACE
0x1F: FW_BURN_REJECTED_REMOVAL_NO_MATCH_CERT_UIDD
0x20: FW_BURN_REJECTED_INTERNAL_ERROR_1 0x21: FW_BURN_REJECTED_INTERNAL_ERROR_2 0x22: FW_BURN_REJECTED_OF_NUM_OF_SWAP
0x23: FW_BURN_REJECTED_INTERNAL_ERROR_3
0x24: FW_BURN_REJECTED_INTERNAL_ERROR_4 0x25: FW_BURN_REJECTED_NOT_ALLOWED_SAME_CERT_UIDD
0x26: FW_BURN_REJECTED_INTERNAL_ERROR_5
0x27: FW_BURN_REJECTED_INTERNAL_ERROR_6
0x28: FW_BURN_REJECTED_FLASH_WRITE_PROTECTED
0x29: FW_BURN_REJECTED_INTERNAL_ERROR_7 0x2A: FW_BURN_REJECTED_INTERNAL_ERROR_8 0x2B: FW_BURN_REJECTED_INTERNAL_ERROR_90x2C: FW_BURN_REJECTED_DPA_ELF
0x2D: FW_BURN_REJECTED_DPA_CRYPTO_BLOB
0x2E: FW_BURN_REJECTED_DPA_APP_METADATA
0x2F: FW_BURN_REJECTED_DPA_REMOVAL_SIGNATURE
0x30: FW_BURN_REJECTED_DPA_CONTAINER_VERIFY
0x31: FW_BURN_REJECTED_INTERNAL_ERROR_10
0x32: REJECTED_DEV_IMAGE_ON_PROD_DEVICE
Other values should be treated as an unknown error. */
/* 0xc.8 - 0xc.15 */
/* access: RO */
u_int8_t error_code;
/* Description - Indicates the estimated progress status of the current operation executed by the FSM. Valid values are 0..100.
101 indicates that progress reporting is not supported for this update state. */
/* 0xc.16 - 0xc.22 */
/* access: RO */
u_int8_t control_progress;
/* Description - For handle_owner_type BMC, command-interface and ICMD, indicates the identifier of the host of the handle owner.
Otherwise reserved */
/* 0xc.24 - 0xc.27 */
/* access: RO */
u_int8_t handle_owner_host_id;
/* Description - Type of entity holding the update handle:
0x0: unspecified
0x1: Chassis BMC
0x2: MAD
0x3: BMC
0x4: command interface
0x5: ICMD
Other values are reserved. */
/* 0xc.28 - 0xc.31 */
/* access: RO */
u_int8_t handle_owner_type;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - Component size in bytes.
Valid for UPDATE_COMPONENT instruction. Specifying the size may shorten the update time.
Value 0x0 means that size is unspecified. */
/* 0x10.0 - 0x10.31 */
/* access: WO */
u_int32_t component_size;
/*---------------- DWORD[5] (Offset 0x14) ----------------*/
/* Description - Peripheral device type:
0: Switch_or_NIC
1: Gearbox */
/* 0x14.0 - 0x14.7 */
/* access: INDEX */
u_int8_t device_type;
/* Description - Indicates warnings reported during the completion that did not prevent successful completion of the instruction
0x0: OK
0x1: WARNING_DPA_API_OS_INCOMPATIBLE
0x2: WARNING_DPA_API_FW_INCOMPATIBLE */
/* 0x14.8 - 0x14.15 */
/* access: RO */
u_int8_t warning_code;
/* Description - Device number.
For gearboxes, the index represents the gearbox die.
For cables, the index represents the module index starting at index 1. Index 0 indicates the host device.
For QM-3 CPO system, device index represents OE or ELS device. */
/* 0x14.16 - 0x14.27 */
/* access: INDEX */
u_int16_t device_index;
/*---------------- DWORD[6] (Offset 0x18) ----------------*/
/* Description - In multiple downstream devices action, the action will be executed starting on device_index and ending on device_index + device_index_size - 1. */
/* 0x18.0 - 0x18.11 */
/* access: RW */
u_int16_t device_index_size;
/* Description - The device index that the action has been rejected to. */
/* 0x18.16 - 0x18.27 */
/* access: RO */
u_int16_t rejected_device_index;
/*---------------- DWORD[7] (Offset 0x1c) ----------------*/
/* Description - [DWIP]:
Component Specific Error Code
Relevant only for Linkx failed updates */
/* 0x1c.0 - 0x1c.31 */
/* access: RO */
u_int32_t component_specific_err_code;
};
/* Description - */
/* Size in bytes - 144 */
struct reg_access_hca_mcda_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Update handle registered when the FSM was activated. */
/* 0x0.0 - 0x0.23 */
/* access: RW */
u_int32_t update_handle;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Offset of accessed address relative to component start. Accesses must be in accordance to log_mcda_word_size in Table 2743, "MCQI CAPABILITIES Info Layout," on page 3125 */
/* 0x4.0 - 0x4.31 */
/* access: RW */
u_int32_t offset;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Size of the data accessed, given in bytes */
/* 0x8.0 - 0x8.15 */
/* access: RW */
u_int16_t size;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - Data block accessed */
/* 0x10.0 - 0x8c.31 */
/* access: RW */
u_int32_t data[32];
};
/* Description - */
/* Size in bytes - 148 */
struct reg_access_hca_mcqi_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Component index gathered by "MCQS - Management Component Query Status" */
/* 0x0.0 - 0x0.15 */
/* access: INDEX */
u_int16_t component_index;
/* Description - Device number.
For gearboxes, the index represents the gearbox die.
For cables, the index represents the module index starting at index 1. Index 0 indicates the host device.
For Clock Source EEPROM, the index represents the Clock Source Index, starting from 1
For DPA_APPS_INFO, the index represents the index of the DPA app to query, starting from 0 */
/* 0x0.16 - 0x0.27 */
/* access: INDEX */
u_int16_t device_index;
/* Description - When set, the register will return information about the pending component (if available) */
/* 0x0.31 - 0x0.31 */
/* access: INDEX */
u_int8_t read_pending_component;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Peripheral device type:
0: Switch / NIC
1: Gearbox */
/* 0x4.0 - 0x4.7 */
/* access: INDEX */
u_int8_t device_type;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Component properties set.
0x0: CAPABILITIES
0x1: VERSION
0x5: ACTIVATION_METHOD
0x6: LINKX_PROPERTIES
0x7: CLOCK_SOURCE_PROPERTIES
0x9: DPA_APPS_INFO
Other values are reserved */
/* 0x8.0 - 0x8.4 */
/* access: RW */
u_int8_t info_type;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Properties set structure size, given in bytes. */
/* 0xc.0 - 0xc.31 */
/* access: RO */
u_int32_t info_size;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - The requested/returned data offset from the section start, given in bytes.
Must be DWORD aligned.
If offset is invalid, FW will return an error. */
/* 0x10.0 - 0x10.31 */
/* access: RW */
u_int32_t offset;
/*---------------- DWORD[5] (Offset 0x14) ----------------*/
/* Description - The requested/returned data size, given in bytes.
If data_size is not DWORD aligned, the last bytes are zero padded.
If size is invalid, FW will return an error. */
/* 0x14.0 - 0x14.15 */
/* access: RW */
u_int16_t data_size;
/*---------------- DWORD[6] (Offset 0x18) ----------------*/
/* Description - Properties set structure according to info_type.
CAPABILITIES - See Table 2743, "MCQI CAPABILITIES Info Layout," on page 3125
VERSION - See Table 2745, "MCQI VERSION Info Layout," on page 3127
ACTIVATION_METHOD - See Table 2749, "MCQI ACTIVATION_METHOD Info Layout," on page 3129
LINKX_PROPERTIES - See Table 2751, "MCQI LINKX_PROPERTIES Info Layout," on page 3130
CLOCK_SOURCE_PROPERTIES - See Table 2753, "MCQI CLOCK_SOURCE_PROPERTIES Layout," on page 3132
DPA_APPS_INFO - See Table 2755, "MCQI DPA_APPS_INFO Layout," on page 3133 */
/* 0x18.0 - 0x90.31 */
/* access: RO */
union reg_access_hca_mcqi_reg_data_auto_ext data;
};
/* Description - */
/* Size in bytes - 16 */
struct reg_access_hca_mcqs_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Component Index. Values range from 0 to the last component indicated by last_index_flag. */
/* 0x0.0 - 0x0.15 */
/* access: INDEX */
u_int16_t component_index;
/* Description - Device number.
For gearboxes, the index represents the gearbox die.
For cables, the index represents the module index starting at index 1. Index 0 indicates the host device.
For Clock synchronizer, index is used to represent the clock sync' device index. Starting from 1. */
/* 0x0.16 - 0x0.27 */
/* access: INDEX */
u_int16_t device_index;
/* Description - When set, this component not supported. */
/* 0x0.30 - 0x0.30 */
/* access: RO */
u_int8_t component_not_supported;
/* Description - When set, this component is the last component (highest component_index). */
/* 0x0.31 - 0x0.31 */
/* access: RO */
u_int8_t last_index_flag;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - This field uniquely identifies a specific component type.
0x1: BOOT_IMG
0x4: OEM_NVCONFIG
0x5: MLNX_NVCONFIG
0x6: CS_TOKEN
0x7: DBG_TOKEN
0xA: Gearbox
0xB: CC_ALGO - Congestion Control Algorithm
0xC: LINKX_IMG
0xD: CRYPTO_TO_COMMISSIONING
0xE: RMCS_TOKEN
0xF: RMDT_TOKEN
0x10: CRCS_TOKEN
0x11: CRDT_TOKEN
0x12: CLOCK_SYNC_EEPROM
0x15: DIGITAL_CACERT - Certificate to be trusted by the device0x17: DIGITAL_CACERT_REMOVAL
MTDT_TOKENOther values are reserved
[DWIP]: 0x1A: LINKX_FW_ELS
0x1C: DPA_COMPONENT
0x1D: DPA_COMPONENT_REMOVAL
0x1E: MTDT_TOKEN */
/* 0x4.0 - 0x4.15 */
/* access: RO */
u_int16_t identifier;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Component state in update flow, see Section 10.2.1, "Component Update State," on page 1016:
0x0: IDLE
0x1: IN_PROGRESS
0x2: APPLIED
0x3: ACTIVE
0x4: ACTIVE_PENDING_RESET
0x5: FAILED
0x6: CANCELED
0x7: BUSY
Other values are reserved */
/* 0x8.0 - 0x8.3 */
/* access: RO */
u_int8_t component_update_state;
/* Description - The status of the component:
0x0: NOT_PRESENT - The component is supported by the device but, currently not present
0x1: PRESENT - This component is present. For downstream devices link LinkX component, this is an indication that the binary image is present at the host device memory.
0x2: IN_USE - The component is present and currently in use. */
/* 0x8.4 - 0x8.8 */
/* access: RO */
u_int8_t component_status;
/* Description - Progress in percentage (from 0 to 100). This field is only relevant for cables. */
/* 0x8.9 - 0x8.15 */
/* access: RO */
u_int8_t progress;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Peripheral device type:
0: Switch_or_NIC
1: Gearbox */
/* 0xc.0 - 0xc.7 */
/* access: INDEX */
u_int8_t device_type;
/* Description - For last_update_state_changer_type BMC, command-interface and ICMD, indicates the identifier of the host of the handle owner. Otherwise reserved. */
/* 0xc.24 - 0xc.27 */
/* access: RO */
u_int8_t last_update_state_changer_host_id;
/* Description - Indicates which entity was the last to change the component_update_state of this component.
0x0: unspecified
0x1: Chassis_BMC
0x2: MAD
0x3: BMC
0x4: command_interface
0x5: ICMD
Other values are reserved */
/* 0xc.28 - 0xc.31 */
/* access: RO */
u_int8_t last_update_state_changer_type;
};
/* Description - */
/* Size in bytes - 268 */
struct reg_access_hca_mfba_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Flash select - selects the flash device.
Only zero is supported for NICs with a single flash device
Range between 0 .. MFPA.flash_num -1 */
/* 0x0.4 - 0x0.5 */
/* access: INDEX */
u_int8_t fs;
/* Description - Capability bit - If set to '1', address field is 32 bit length. */
/* 0x0.31 - 0x0.31 */
/* access: RO */
u_int8_t add_cap_32b;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - The size of the data to be written or read in bytes
Should comply with block_size and block_alignment fields in MFPA. */
/* 0x4.0 - 0x4.8 */
/* access: OP */
u_int16_t size;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - The start address of this read or write access in bytes. Should comply with block_size and block_alignment fields in MFPA. */
/* 0x8.0 - 0x8.31 */
/* access: INDEX */
u_int32_t address;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - The data to be written or read data. */
/* 0xc.0 - 0x108.31 */
/* access: RW */
u_int32_t data[64];
};
/* Description - */
/* Size in bytes - 12 */
struct reg_access_hca_mfbe_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Flash select - selects the flash device.
Only zero is supported for NICs with a single flash device.
Range between 0 .. MFPA.flash_num -1 */
/* 0x0.4 - 0x0.5 */
/* access: INDEX */
u_int8_t fs;
/* Description - Erase a 64KB flash area in one bulk operation. */
/* 0x0.29 - 0x0.29 */
/* access: WO */
u_int8_t bulk_64kb_erase;
/* Description - Erase a 32KB flash area in one bulk operation. */
/* 0x0.30 - 0x0.30 */
/* access: WO */
u_int8_t bulk_32kb_erase;
/* Description - Capability bit - If set to '1', address field is 32 bit length. */
/* 0x0.31 - 0x0.31 */
/* access: RO */
u_int8_t add_cap_32b;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - The start address (in bytes) of this erase operation. Must be aligned with the selected erase size (sector, 32KB or 64KB). */
/* 0x8.0 - 0x8.31 */
/* access: INDEX */
u_int32_t address;
};
/* Description - */
/* Size in bytes - 32 */
struct reg_access_hca_mfpa_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Flash select - selects the flash device.
Only zero is supported for NICs with a single flash device.
Range between 0 .. flash_num -1
*/
/* 0x0.4 - 0x0.5 */
/* access: INDEX */
u_int8_t fs;
/* Description - Capability bit - If set to '1', boot_address field is 32 bit length. */
/* 0x0.31 - 0x0.31 */
/* access: RO */
u_int8_t add_cap_32b;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - The flash address from which the firmware will boot in the next reset (warm start). */
/* 0x4.0 - 0x4.31 */
/* access: RW */
u_int32_t boot_address;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - The number of flash devices1: there is 1 flash device, etc. */
/* 0x10.0 - 0x10.3 */
/* access: RO */
u_int8_t flash_num;
/* Description - If set, MFMC register supports setting write protect with sub-sector- blocks
Sub-sector block size is available in MFMC.sub_sector_protect_size */
/* 0x10.16 - 0x10.16 */
/* access: RO */
u_int8_t sub_sector_wrp_en;
/* Description - If set, MFMC register supports setting write protect with sector blocks.
Sector block size is available in MFMC.sector_protect_size */
/* 0x10.17 - 0x10.17 */
/* access: RO */
u_int8_t sector_wrp_en;
/* Description - If set, MFBE register supports 64KB bulk erase operation.
*/
/* 0x10.29 - 0x10.29 */
/* access: RO */
u_int8_t bulk_64kb_erase_en;
/* Description - If set, MFBE register supports 32KB bulk erase operation. */
/* 0x10.30 - 0x10.30 */
/* access: RO */
u_int8_t bulk_32kb_erase_en;
/* Description - Work In Progress. Indicates that the flash is currently busy. */
/* 0x10.31 - 0x10.31 */
/* access: RO */
u_int8_t wip;
/*---------------- DWORD[5] (Offset 0x14) ----------------*/
/* Description - Return the flash JEDEC ID value returned by the standard Read JEDEC ID command that is available in most flash devices. */
/* 0x14.0 - 0x14.23 */
/* access: RO */
u_int32_t jedec_id;
/*---------------- DWORD[6] (Offset 0x18) ----------------*/
/* Description - The minimal unit that can be erased with and MFBE command (in bytes). */
/* 0x18.0 - 0x18.9 */
/* access: RO */
u_int16_t sector_size;
/* Description - Log 2 of the requested write alignment in bytes. Write access to the flash
must not cross this alignment.
Read and write access must be aligned to this value. */
/* 0x18.16 - 0x18.23 */
/* access: RO */
u_int8_t block_alignment;
/* Description - The block size in byes of the flash device, max read size for MFBA (typically 128 bytes). */
/* 0x18.24 - 0x18.31 */
/* access: RO */
u_int8_t block_size;
/*---------------- DWORD[7] (Offset 0x1c) ----------------*/
/* Description - Bitmask indicates which capabilities are supported.
Bit 15..0: reserved
Bit 16: Set write protect supported (register MFMC supports setting write protection)
Bit 17: quad enable read write is supported (register MFMC supports setting quad enable)
Bit 18: set dummy cycle supported (register MFMC supports setting dummy cycles) */
/* 0x1c.0 - 0x1c.31 */
/* access: RO */
u_int32_t capability_mask;
};
/* Description - */
/* Size in bytes - 8 */
struct reg_access_hca_mfrl_reg_ext {
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - The firmware reset trigger.
Bit 0: TRIGGER0 (live-patch) - When selecting this trigger, all other fields are NA.
Bit 1: TRIGGER1 (Immediate Reset) Note: this reset trigger must be selected explicitly by user and cannot be triggered as part of default logic.
Bit 3: TRIGGER3 (PCIe link toggle | hot reset), For this reset trigger, need to configure pci_reset_req_method).
Bit 6: TRIGGER6 (PERST)
Other bits are reserved. */
/* 0x4.0 - 0x4.7 */
/* access: RW */
u_int8_t reset_trigger;
/* Description - Each bit represents a chip reset type.
If set to '1', the reset is supported.
Bit 0: Full chip reset
Bit 1: Keep network port active during reset
Bit 3: ARM only reset
Bit 4: ARM OS shut down
Bit 5: Network reset - Keep PCIe active during reset. */
/* 0x4.8 - 0x4.15 */
/* access: RO */
u_int8_t reset_type;
/* Description - Reset state.
0: IDLE
1: Negotiation in progress
2: Reset in progress
3: Error - Negotiation timeout
4: Error - Negotiation dis-acknowledgment
5: Error- driver unload timeout [DWIP]
6: Error- ARM OS is up, please shut down
7: ARM OS shut down in progress
8: Waiting for reset trigger
9-15: Reserved */
/* 0x4.16 - 0x4.19 */
/* access: RO */
u_int8_t reset_state;
/* Description - FW reset Method selector; Support for the different reset methods exposed through reset_info register.
0: Link Disable
1: Hot reset (SBR)
2-7: reserved . */
/* 0x4.21 - 0x4.23 */
/* access: RW */
u_int8_t pci_reset_req_method;
/* Description - The requested reset type.
When reset_trigger = Immediate (1), reset_type_sel valid values are: bit3 or bit4 (ARM only reset or ARM os shutdown) */
/* 0x4.24 - 0x4.26 */
/* access: RW */
u_int8_t rst_type_sel;
/* Description - Response of the driver for the reset request.
1: Acknowledgment
2: Dis-acknowledgment
3: Reserved */
/* 0x4.27 - 0x4.28 */
/* access: WO */
u_int8_t pci_sync_for_fw_update_resp;
/* Description - This field defines the reset flow.
0: Legacy flow
1: Synced driver flow
2: Synced tool flow
Synced driver flow will not require to issue MFRL command
from other hosts (x86 / ARM for SoC)
Synced tool flow required to be executed from external host (should not be executed from internal host). */
/* 0x4.29 - 0x4.30 */
/* access: RW */
u_int8_t pci_sync_for_fw_update_start;
/* Description - Setting this bit to 1 indicates a need of rescan for the corresponding PCI slot */
/* 0x4.31 - 0x4.31 */
/* access: RO */
u_int8_t pci_rescan_required;
};
/* Description - */
/* Size in bytes - 48 */
struct reg_access_hca_mfsv_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - When this bit is set, it indicates that it is allowed for the boot FW to program the FW security version related EFUSEs if needed. This bit is not relevant in case the FW operates in an automatically EFUSEs programming approach (set in the INI file). Once set to 1, this configuration will be relevant only for the upcoming boot, thus this configuration will be set back to 0 upon next boot.
*/
/* 0x0.0 - 0x0.0 */
/* access: RW */
u_int8_t efuses_prog_en;
/* Description - Firmware security version status.0: EFUSEs value is equal to the currently running FW image value. No change is needed.1: EFUSEs value is smaller than the currently running FW image value. An update to the EFUSEs is required.2: There is pending image, MFSV is rejected
3: Reserved
*/
/* 0x0.1 - 0x0.2 */
/* access: RO */
u_int8_t fw_sec_ver_stat;
/* Description - EFUSEs programming method.0: manually. Upon boot, if FW indicates that FW_sec_ver_stat is 1 and only if EFUSEs_prog_en is 1, it will program the EFUSEs as needed.1: automatically. Upon boot, if FW indicates that FW_sec_ver_stat is 1, it will program the EFUSEs as needed.
*/
/* 0x0.3 - 0x0.3 */
/* access: RO */
u_int8_t efuses_prog_method;
/* Description - 0: EFUSEs value is equal to the currently running FW image value. No change is needed.
1: EFUSEs value is smaller than the currently running FW image value. An update to the EFUSEs is required.
*/
/* 0x0.4 - 0x0.4 */
/* access: RW */
u_int8_t revoke_efuse_prog;
/* Description - 0: No pending EFUSE programming command
1: There is pending MFSV command
*/
/* 0x0.5 - 0x0.5 */
/* access: RO */
u_int8_t pending_efuse_prog;
/* Description - [Internal]
Relevant only from CX8/QM3/ArcusE
When this bit is set, device should increase dummy ratchet value (fuse_psc_reserved2_field_ratchet)
In case that fuse_psc_reserved2_field_ratchet = 0xFFFF, return Fuse_failure = 2. */
/* 0x0.6 - 0x0.6 */
/* access: RO */
u_int8_t dummy_ratchet_prog_en;
/* Description - */
/* 0x0.8 - 0x0.9 */
/* access: RO */
u_int8_t fuse_failure;
/* Description - Index
0: NCORE FW
1: PSC_BL1
2: PSC_FW
3: BCT
4: reserved2_field_ratchet
5-15: Reserved */
/* 0x0.16 - 0x0.19 */
/* access: INDEX */
u_int8_t index;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Image security version value */
/* 0x4.0 - 0x4.31 */
/* access: RO */
u_int32_t img_sec_ver;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - EFUSEs security version value */
/* 0x8.0 - 0x8.31 */
/* access: RO */
u_int32_t efuses_sec_ver;
};
/* Description - */
/* Size in bytes - 160 */
struct reg_access_hca_mgir_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Hardware Information, see Table 2771, "Hardware Info Layout," on page 3147 */
/* 0x0.0 - 0x1c.31 */
/* access: RW */
struct reg_access_hca_mgir_hardware_info_ext hw_info;
/*---------------- DWORD[8] (Offset 0x20) ----------------*/
/* Description - Firmware Information, see Table 2774, "Firmware Info Layout," on page 3150 */
/* 0x20.0 - 0x5c.31 */
/* access: RW */
struct reg_access_hca_mgir_fw_info_ext fw_info;
/*---------------- DWORD[24] (Offset 0x60) ----------------*/
/* Description - Software Information, see Table 2776, "Software Info Layout," on page 3153
This field indicates the oldest software version compatible with the current firmware */
/* 0x60.0 - 0x7c.31 */
/* access: RW */
struct reg_access_hca_mgir_sw_info_ext sw_info;
/*---------------- DWORD[32] (Offset 0x80) ----------------*/
/* Description - Development Information, see Table 2780, "Development Info Layout," on page 3157 */
/* 0x80.0 - 0x98.31 */
/* access: RW */
struct reg_access_hca_mgir_dev_info_ext dev_info;
};
/* Description - */
/* Size in bytes - 288 */
struct reg_access_hca_misoc_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Type of component query:
0x0: ARM_ATF
0x1: ARM_UEFI
0x2: DPU_BMC
0x3: CEC
All other values are reserved */
/* 0x0.0 - 0x0.3 */
/* access: INDEX */
u_int8_t type;
/* Description - If set, the query will be for the pending version instead on the current version */
/* 0x0.30 - 0x0.30 */
/* access: INDEX */
u_int8_t query_pending;
/* Description - If set, the version information for this component type is not available
In this case the version will be all zeros */
/* 0x0.31 - 0x0.31 */
/* access: RO */
u_int8_t query_not_available;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - The version as a null-terminated ASCII string
Null termination will not be present if version takes up all of the field size */
/* 0x10.24 - 0x110.23 */
/* access: RO */
u_int8_t version[256];
};
/* Description - */
/* Size in bytes - 12 */
struct reg_access_hca_mmdio_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - 0 - NOP
1 - Address (reserved for Clause 22)
2 - Read
3 - Write
4 - Post Read Increment Address (reserved for Clause 22)
6 - Address + Read - Generates Address cycle and then Read cycle in Clause 45 (reserved for Clause 22)
7 - Address + Write - Generates Address cycle and then Write cycle in Clause 45 (reserved for Clause 22) */
/* 0x0.0 - 0x0.2 */
/* access: WO */
u_int8_t operation;
/* Description - MDIO Definition:
0 - Clause 22
1 - Clause 45 */
/* 0x0.8 - 0x0.9 */
/* access: WO */
u_int8_t clause;
/* Description - Selection of the MDIO interface */
/* 0x0.16 - 0x0.19 */
/* access: INDEX */
u_int8_t mdio_index;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Reg Address (Clause 22) / Dev Type (Clause 45) */
/* 0x4.0 - 0x4.4 */
/* access: RW */
u_int8_t reg_adr;
/* Description - PHY Address (PHYAD) */
/* 0x4.8 - 0x4.12 */
/* access: RW */
u_int8_t phy_adr;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Data (Clause 22) / Address/Data (Clause 45) */
/* 0x8.0 - 0x8.15 */
/* access: RW */
u_int16_t data;
/* Description - Address (Clause 45)
This field is only valid for Address + Read and Address + Write operations, providing the address. For other Clause 45 operations the data field provides the address when appropriate. */
/* 0x8.16 - 0x8.31 */
/* access: RW */
u_int16_t address;
};
/* Description - */
/* Size in bytes - 12 */
struct reg_access_hca_mnvdi_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x8.31 */
/* access: RW */
struct reg_access_hca_config_item_ext configuration_item_header;
};
/* Description - */
/* Size in bytes - 16 */
struct reg_access_hca_mnvgc_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - 0:unsupported
1: supported */
/* 0x0.0 - 0x0.0 */
/* access: RO */
u_int8_t nvda_read_factory_settings;
/* Description - NVDA Read current settings. Indicates if reading the current settings by NVDA is supported.
0: unsupported
1: supported */
/* 0x0.1 - 0x0.1 */
/* access: RO */
u_int8_t nvda_read_current_settings;
/* Description - When set, TLVs of other hosts may be modified. */
/* 0x0.2 - 0x0.2 */
/* access: RO */
u_int8_t priv_nv_other_host;
};
/* Description - */
/* Size in bytes - 8 */
struct reg_access_hca_mnvia_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Information targeted for invalidation
0: ALL - all NVRAM parameters.
All other values are reserved. */
/* 0x0.0 - 0x0.2 */
/* access: WO */
u_int8_t target;
/* Description - The entity which perform the invalidate.
The encoding same as writer_id in Configuration Item register (See Table 2876, "Configuration Item Header Layout," on page 3217). */
/* 0x0.4 - 0x0.8 */
/* access: RW */
u_int8_t writer_id;
};
/* Description - */
/* Size in bytes - 8 */
struct reg_access_hca_mnvqc_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Configuration item type according to its class.
Table 2878, "Configuration Item Data Type Class Global Layout," on page 3221
Table 2880, "Configuration Item Data Type Class Physical Port Layout," on page 3221
Table 2882, "Configuration Item Data Type Class Per Host-PF Layout," on page 3222
Table 2884, "Configuration Item Data Type Class Log Layout," on page 3222
Table 2886, "Configuration Item Data Type Class File Layout," on page 3223
Table 2888, "Configuration Item Data Type Class Host Layout," on page 3223
Table 2892, "Configuration Item Data Type Class Multi Instance Layout," on page 3225 */
/* 0x0.0 - 0x0.31 */
/* access: INDEX */
u_int32_t type;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - The configuration item is supported and can be read */
/* 0x4.0 - 0x4.0 */
/* access: RO */
u_int8_t support_rd;
/* Description - The configuration item is supported and can be updated */
/* 0x4.1 - 0x4.1 */
/* access: RO */
u_int8_t support_wr;
/* Description - The maximal version of the configuration item supported by the device */
/* 0x4.4 - 0x4.7 */
/* access: RO */
u_int8_t version;
};
/* Description - */
/* Size in bytes - 160 */
struct reg_access_hca_mpcir_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - If set to '01', activates the flow of preparation for FW ISSU, on all services. The values in op-codes for "per-service" are ignored.
If set to '10', returns to operational state on all services. The values in op-codes for "per-service" are ignored.
11 - get_status for all services */
/* 0x0.30 - 0x0.31 */
/* access: OP */
u_int8_t all;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - For each of the services, the following operations are available:
0: N/A (no action)
1: start preparation flow for FW ISSU
2: return to operational service (end of FW ISSU flow)
3: get status
When set to '3', the current status will appear in corresponding _stat fields. */
/* 0x4.0 - 0x4.1 */
/* access: OP */
u_int8_t ports;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Status for each of the services.
0: not in FW ISSU flow state (FW ISSU flow is not initiated)
1: done with preparations for FW ISSU flow
2: Preparation for FW ISSU flow started but FW still not done service handling [Internal]: busy with some other critical flow). */
/* 0xc.0 - 0xc.1 */
/* access: RO */
u_int8_t ports_stat;
};
/* Description - */
/* Size in bytes - 44 */
struct reg_access_hca_mpegc_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - the node within each depth. */
/* 0x0.8 - 0x0.15 */
/* access: INDEX */
u_int8_t node;
/* Description - PCIe index number (Internal domain index)
Reserved when access is from the host */
/* 0x0.16 - 0x0.23 */
/* access: INDEX */
u_int8_t pcie_index;
/* Description - depth level of the DUT of some hierarchy */
/* 0x0.24 - 0x0.29 */
/* access: INDEX */
u_int8_t depth;
/* Description - DPN version
0: multi_topology_unaware_sw
1: multi_topology_aware_sw */
/* 0x0.30 - 0x0.30 */
/* access: INDEX */
u_int8_t DPNv;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Field select indicated which writable fields to modify.
Bit 0: tx_lossy_overflow_oper
Bit 1 : outbound_stalled_reads_th
Bit 2 :outbound_stalled_writes_th
Bit 3 : tx_overflow_sense
Bit 4 : mark_tx_action_cqe
Bit 5 : mark_tx_action_cnp
Bit 6: virtual_hot_plug_unplug (supported only for internal host) */
/* 0x4.0 - 0x4.15 */
/* access: WO */
u_int16_t field_select;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - When overflow encountered for lossy packets, it will be dropped or marked and will be counted in "tx_overflow_buffer_dropped_pkt" or "tx_overflow_buffer_marked_pkt" counter.
00 - Disabled
01 - drop - overflow traffic will be dropped.
10 - mark - overflow traffic will be marked in the CE field in the CqE. Supported only when MCAM.mark_tx_action_cqe or MCAM.mark_tx_action_cnp are '1'.
*/
/* 0x8.0 - 0x8.1 */
/* access: RW */
u_int8_t tx_lossy_overflow_oper;
/* Description - When this bit is set, the marking action will be generating a CNP for RoCE traffic. Supported only when MCAM.mark_tx_action_cnp is '1'. */
/* 0x8.29 - 0x8.29 */
/* access: RW */
u_int8_t mark_cnp;
/* Description - When this bit is set, the marking action will be set in the CqE for TCP traffic. Supported only when MCAM.mark_tx_action_cqe is '1'. */
/* 0x8.30 - 0x8.30 */
/* access: RW */
u_int8_t mark_cqe;
/* Description - Set the sensibility level of the tx overflow mechanism.
0 - Aggressive 1 - Dynamic adjustment. When tx_lossy_overflow_oper is disabled, tx_overflow_sense must be disabled. Supported only when MCAM.dynamic_tx_oveflow is '1'. */
/* 0x8.31 - 0x8.31 */
/* access: RW */
u_int8_t tx_overflow_sense;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Each time that the counter outbound_stalled_writes will exceed this threshold, will be counted in the counter outbound_stalled_writes_events - range 0 100. */
/* 0xc.0 - 0xc.6 */
/* access: RW */
u_int8_t outbound_stalled_writes_th;
/* Description - Each time that the counter outbound_stalled_reads will exceed this threshold, will be counted in the counter outbound_stalled_reads_events - range 0 100. */
/* 0xc.8 - 0xc.14 */
/* access: RW */
u_int8_t outbound_stalled_reads_th;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - Operation to perform
0: Idle - no operation required (default)
1: Emulate hot removal
2: Emulate hot insertion
3-15: Reserved */
/* 0x10.16 - 0x10.19 */
/* access: RW */
u_int8_t operation;
/* Description - Operation completion status
0: Operation in process
1: Unplugged
2: Plugged
3: Warning - disconnecting an already disconnected bus cannot be performed
4: Warning - connecting an already connected bus cannot be performed
5: Error - unknown bus number or no device installed on selected bus */
/* 0x10.24 - 0x10.31 */
/* access: RO */
u_int8_t status;
};
/* Description - */
/* Size in bytes - 48 */
struct reg_access_hca_mpein_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - the node within each depth. */
/* 0x0.8 - 0x0.15 */
/* access: INDEX */
u_int8_t node;
/* Description - PCIe index number (Internal domain index)
Reserved when access is from the host, but can be used when operating in Socket-Direct mode. */
/* 0x0.16 - 0x0.23 */
/* access: INDEX */
u_int8_t pcie_index;
/* Description - depth level of the DUT of some hierarchy */
/* 0x0.24 - 0x0.29 */
/* access: INDEX */
u_int8_t depth;
/* Description - DPN version
0: multi_topology_unaware_sw
1: multi_topology_aware_sw */
/* 0x0.30 - 0x0.30 */
/* access: INDEX */
u_int8_t DPNv;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Max Link Speed:
Bit 0: 2.5G - (Gen1)
Bit 1: 5G - (Gen2)
Bit 2: 8G - (Gen3)
Bit 4: 16G - (Gen4)
Bit 5: 32G (Gen5)
Bit 6: 32G PAM-4 (Gen6) */
/* 0x8.0 - 0x8.15 */
/* access: RO */
u_int16_t link_speed_enabled;
/* Description - Maximum Link Width enabled:
1: 1x
2: 2x
4: 4x
8: 8x
16: 16x */
/* 0x8.16 - 0x8.23 */
/* access: RO */
u_int8_t link_width_enabled;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Current Link Speed:
Bit 0: 2.5G (Gen1)
Bit 1: 5G (Gen2)
Bit 2: 8G (Gen3)
Bit 4: 16G (Gen4)
Bit 5: 32G (Gen5)
Bit 6: 32G PAM-4 (Gen6) */
/* 0xc.0 - 0xc.15 */
/* access: RO */
u_int16_t link_speed_active;
/* Description - Negotiated Link Width, pcie_link_width active:
1: 1x
2: 2x
4: 4x
8: 8x
16: 16x */
/* 0xc.16 - 0xc.23 */
/* access: RO */
u_int8_t link_width_active;
/* Description - The physical lane position of logical lane0 */
/* 0xc.24 - 0xc.31 */
/* access: RO */
u_int8_t lane0_physical_position;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - Number of Total Virtual Functions (for all PFs) */
/* 0x10.0 - 0x10.15 */
/* access: RO */
u_int16_t num_of_vfs;
/* Description - Number of Physical Functions (PFs) */
/* 0x10.16 - 0x10.31 */
/* access: RO */
u_int16_t num_of_pfs;
/*---------------- DWORD[5] (Offset 0x14) ----------------*/
/* Description - Bus Device Function - only for function0 */
/* 0x14.16 - 0x14.31 */
/* access: RO */
u_int16_t bdf0;
/*---------------- DWORD[6] (Offset 0x18) ----------------*/
/* Description - Reversal mode of the link:
0 - straight
1 - reversal
Note: together with lane0_physical_position provide the physical lane. */
/* 0x18.0 - 0x18.0 */
/* access: RO */
u_int8_t lane_reversal;
/* Description - Indicates the specific type of this PCI Express Function. Note that different Functions in a multi-Function device can generally be of different types.
0 - PCI Express Endpoint port
4 - Root Port of PCI Express Root Complex
5 - PCI Express Upstream port
6 - PCI Express Downstream port */
/* 0x18.12 - 0x18.15 */
/* access: RO */
u_int8_t port_type;
/* Description - Indicates the status of PCI power consumption limitations.
0: PCI power report could not be read.
1: Sufficient power reported.
2: Insufficient power reported.
3-7: Reserved */
/* 0x18.16 - 0x18.18 */
/* access: RO */
u_int8_t pwr_status;
/* Description - Max payload size in bytes:
0 - 128B
1 - 256B
2 - 512B
3 - 1024B
4 - 2048B
5 - 4096B */
/* 0x18.24 - 0x18.27 */
/* access: RO */
u_int8_t max_payload_size;
/* Description - Max read request size in bytes:
0 - 128B
1 - 256B
2 - 512B
3 - 1024B
4 - 2048B
5 - 4096B */
/* 0x18.28 - 0x18.31 */
/* access: RO */
u_int8_t max_read_request_size;
/*---------------- DWORD[7] (Offset 0x1c) ----------------*/
/* Description - Power reported by the PCI device. The units are in Watts.
0: Power is unknown. */
/* 0x1c.0 - 0x1c.11 */
/* access: RO */
u_int16_t pci_power;
/* Description - Peer Max Link Speed:
Bit 0: 2.5G - (Gen1)
Bit 1: 5G - (Gen2)
Bit 2: 8G - (Gen3)
Bit 4: 16G - (Gen4)
Bit 5: 32G (Gen5)
Bit 6: 32G PAM-4 (Gen6) */
/* 0x1c.16 - 0x1c.31 */
/* access: RO */
u_int16_t link_peer_max_speed;
/*---------------- DWORD[8] (Offset 0x20) ----------------*/
/* Description - FLIT is supported for the current active speed */
/* 0x20.0 - 0x20.0 */
/* access: RO */
u_int8_t flit_sup;
/* Description - Precoding is supported for the current active speed */
/* 0x20.1 - 0x20.1 */
/* access: RO */
u_int8_t precode_sup;
/* Description - FLIT is active for the current speed */
/* 0x20.8 - 0x20.8 */
/* access: RO */
u_int8_t flit_active;
/* Description - precoding is active for the current speed */
/* 0x20.9 - 0x20.9 */
/* access: RO */
u_int8_t precode_active;
/*---------------- DWORD[9] (Offset 0x24) ----------------*/
/* Description - device_status bit mask:
Bit 0: Correctable_error
Bit 1: Non_Fatal_Error_detection
Bit 2: Fatal_Error_detected
Bit 3: Unsupported_request_detected
Bit 4: AUX_power
Bit 5: Transaction_Pending */
/* 0x24.16 - 0x24.31 */
/* access: RO */
u_int16_t device_status;
};
/* Description - */
/* Size in bytes - 16 */
struct reg_access_hca_mpir_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Number of PCIe buses available for the host to connect ot the device.
'0' when operating in non-Socket-Direct mode. */
/* 0x0.0 - 0x0.3 */
/* access: RO */
u_int8_t host_buses;
/* Description - the node within each depth. */
/* 0x0.8 - 0x0.15 */
/* access: INDEX */
u_int8_t node;
/* Description - Internal domain index */
/* 0x0.16 - 0x0.23 */
/* access: INDEX */
u_int8_t pcie_index;
/* Description - depth level of the DUT of some hierarchy */
/* 0x0.24 - 0x0.29 */
/* access: INDEX */
u_int8_t depth;
/* Description - DPN version
0: multi_topology_unaware_sw
1: multi_topology_aware_sw */
/* 0x0.30 - 0x0.30 */
/* access: INDEX */
u_int8_t DPNv;
/* Description - Socket-Direct mode indication.
0: non-Socket-Direct mode (single host or multi-host)
1: Socket-Direct mode, for querying host */
/* 0x0.31 - 0x0.31 */
/* access: RO */
u_int8_t sdm;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - sunbordinate bus - the highest bus number that subordinates to switch.
Default value of '0' in case it is not a switch port. */
/* 0x4.0 - 0x4.7 */
/* access: RO */
u_int8_t subordinate_bus;
/* Description - secondary bus - the internal logic bus in the switch.
Default value of '0' in case it is not a switch port. */
/* 0x4.8 - 0x4.15 */
/* access: RO */
u_int8_t secondary_bus;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - The Socket Direct group index of the matching PF.
Value 0x0 indicates no grouping */
/* 0x8.0 - 0x8.2 */
/* access: RO */
u_int8_t sd_group;
/* Description - PCIe device number. */
/* 0x8.3 - 0x8.7 */
/* access: RO */
u_int8_t device;
/* Description - 2-bit expansion of the local port. Represents the local_port[9:8] bits */
/* 0x8.12 - 0x8.13 */
/* access: RO */
u_int8_t lp_msb;
/* Description - PCIe bus number. */
/* 0x8.16 - 0x8.23 */
/* access: RO */
u_int8_t bus;
/* Description - Local port number */
/* 0x8.24 - 0x8.31 */
/* access: RO */
u_int8_t local_port;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Slot number */
/* 0xc.0 - 0xc.12 */
/* access: RO */
u_int16_t slot_number;
/* Description - number of PCIe connected deices / EP on the current port. */
/* 0xc.16 - 0xc.23 */
/* access: RO */
u_int8_t num_con_devices;
/* Description - Host index associated with the pcie_inex */
/* 0xc.24 - 0xc.30 */
/* access: RO */
u_int8_t host_index;
/* Description - If set to '1', slot_number field is supported. */
/* 0xc.31 - 0xc.31 */
/* access: RO */
u_int8_t slot_cap;
};
/* Description - */
/* Size in bytes - 24 */
struct reg_access_hca_mqis_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Type of information string to be queried:
0x0: VPD - Read the PCI Vital Product Data capability content.
0x1: MODEL_NAME
0x2: MODEL_DESCRIPTION
0x3: IMAGE_VSD
0x4: DEVICE_VSD
0x5: ROM_INFO
other values are reserved. */
/* 0x0.0 - 0x0.7 */
/* access: INDEX */
u_int8_t info_type;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Total size of the information string, according to info_type. Value given in bytes. */
/* 0x4.0 - 0x4.15 */
/* access: RO */
u_int16_t info_length;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Number of bytes requested. The device returns the number of bytes actually read. */
/* 0x8.0 - 0x8.15 */
/* access: RW */
u_int16_t read_length;
/* Description - Offset in bytes of the first byte requested to read. */
/* 0x8.16 - 0x8.31 */
/* access: INDEX */
u_int16_t read_offset;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - Information string accessed, according to info_type. If the information is not available, a NULL string is returned. */
/* 0x10.24 - 0x18.23 */
/* access: RO */
u_int8_t info_string[8];
};
/* Description - */
/* Size in bytes - 32 */
struct reg_access_hca_mroq_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - The firmware reset trigger
Bit 0: TRIGGER0 (live-patch)
Bit 1: immediate action (used for embedded CPU shut down/
Reset)
Bit 3: TRIGGER3 (PCIe link disable | hot reset)
Bit 6: TRIGGER6 (PERST)
Other bits are reserved */
/* 0x0.0 - 0x0.7 */
/* access: RO */
u_int8_t reset_trigger;
/* Description - Query chip reset type
0: Full chip reset
1: Keep network port active during reset (phy less reset)
2: NIC only reset (for SoC devices) - Keep ARM subsystem operational while NIC subsystem (including PCI) is reset.
3: ARM only reset
4: ARM OS shut down
5: Network reset - Keep PCIe active during reset. Relevant for CX8 onward
0xff: In-Service SW update - Keep network port and PCIe port active and operation during reset. */
/* 0x0.8 - 0x0.15 */
/* access: INDEX */
u_int8_t reset_type;
/* Description - Selected type is supported. */
/* 0x0.16 - 0x0.16 */
/* access: RO */
u_int8_t query_is_valid;
/* Description - This filed defines the reset flow.
Bit 0: Legacy flow
Bit 1: Synced driver flow
Bit 2: Synced tool flow, should be 0 for internal host
Bit 3: Reserved */
/* 0x0.17 - 0x0.20 */
/* access: RO */
u_int8_t pci_sync_for_fw_update_start;
/* Description - FW reset Method
bit0: Link Disable
bit1: Hot reset (SBR)
bit2-7: reserved
Note: This field provides information when reset trigger equal to TRIGGER3 (e.g., PCIe link toggle, PCIe hot reset) */
/* 0x0.24 - 0x0.31 */
/* access: RO */
u_int8_t pci_reset_req_method;
};
/* Description - */
/* Size in bytes - 64 */
struct reg_access_hca_mrsi_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - [NIC_Only]
0: Main
1: Embedded CPU
Reserved when Switches */
/* 0x0.0 - 0x0.3 */
/* access: INDEX */
u_int8_t device;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Reset/shutdown reason
0: cold reset - A reset triggered following application of power to the component. 1: warm reset - A reset triggered without removal and re-application of power to the device */
/* 0x4.0 - 0x4.3 */
/* access: RO */
u_int8_t reset_reason;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Timestamp (number of clock cycles) since last cold reset */
/* 0x8.0 - 0xc.31 */
/* access: RO */
u_int64_t crts;
/*---------------- DWORD[5] (Offset 0x14) ----------------*/
/* Description - [NIC only]
Embedded CPU OS state
0: Reset/Boot-ROM
1: BL2
2: BL31
3: UEFI
4: OS starting
5: OS is running
6: Low-Power standby
7: Firmware update in progress
8: OS Crash Dump in progress
9: OS Crash Dump is complete
10: FW Fault Crash Dump in progress
11: FW Fault Crash Dump is complete
Other: Reserved
Reserved when MRSI.device != Embedded CPU */
/* 0x14.0 - 0x14.7 */
/* access: RO */
u_int8_t ecos;
};
/* Description - */
/* Size in bytes - 16 */
struct reg_access_hca_mtcap_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Number of ASIC+platform sensors supported by the device
This includes the ASIC and the ambient sensors. Module sensors are not included.
This actually is equal to sum of all '1' in sensor_map
Range 1..64
Known sensors:
0: current asic temp, FW exposes current max(all diode temp sensors)
1..63: ambient, supported only for unmanaged switch, defined by ini
64..127: modules (not exposed by this field) */
/* 0x0.0 - 0x0.6 */
/* access: RO */
u_int8_t sensor_count;
/* Description - Slot index
0: Main board */
/* 0x0.16 - 0x0.19 */
/* access: INDEX */
u_int8_t slot_index;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Number of sensors supported by the device that are on the ASIC.
Exposes how many ASIC diodes exist.
The FW exposes all of them as sensor[0] */
/* 0x4.0 - 0x4.7 */
/* access: RO */
u_int8_t internal_sensor_count;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Mapping of system sensors supported by the device. Only ASIC and ambient sensors are supported. Each bit represents a sensor.
Per bit:
0: Not_connected_or_not_supported
1: Supports_temperature_measurements */
/* 0x8.0 - 0xc.31 */
/* access: RO */
u_int64_t sensor_map;
};
/* Description - */
/* Size in bytes - 32 */
struct reg_access_hca_mtdc_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Tracer writing to PCI is limited.When this mode is enable, the hw tracer pointer cannot override the software read index pointer.If software will not update the read index pointer, new events will fall and will not be sent.
0: NA - ignored, does not perform any operation
1: Enable
2: Disable */
/* 0x0.0 - 0x0.1 */
/* access: RW */
u_int8_t tracer_limit_en;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - The lsb of the address for the cyclic buffer in the host memory. */
/* 0x8.0 - 0x8.31 */
/* access: RW */
u_int32_t tlb_addr_msb;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - The lsb of the for the cyclic buffer address in the host memory. */
/* 0xc.12 - 0xc.31 */
/* access: RW */
u_int32_t tlb_addr_lsb;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - Pointer of the current hw index the tracer is writing to.
*/
/* 0x10.0 - 0x10.31 */
/* access: RO */
u_int32_t hw_pointer;
/*---------------- DWORD[5] (Offset 0x14) ----------------*/
/* Description - Pointer to the last tracer event index that the software consumed.
*/
/* 0x14.0 - 0x14.31 */
/* access: RW */
u_int32_t sw_pointer;
};
/* Description - */
/* Size in bytes - 48 */
struct reg_access_hca_mteim_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Number of processors per tile ASIC.
*/
/* 0x0.0 - 0x0.7 */
/* access: RO */
u_int8_t cap_core_tile;
/* Description - Number of processors in the main ASIC. */
/* 0x0.8 - 0x0.15 */
/* access: RO */
u_int8_t cap_core_main;
/* Description - Number of processors in the DPA unit. */
/* 0x0.16 - 0x0.23 */
/* access: RO */
u_int8_t cap_core_dpa;
/* Description - Number of tiles per device. For devices without tiles (only main ASIC), this field should be '0'.
*/
/* 0x0.24 - 0x0.31 */
/* access: RO */
u_int8_t cap_num_of_tile;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Processor type.
0: N/A
1: IRISC
2: RISC5
Else: Reserved */
/* 0x4.0 - 0x4.3 */
/* access: RO */
u_int8_t type_core_tile;
/* Description - Processor type.
0: N/A
1: IRISC
2: RISC5
Else: Reserved */
/* 0x4.4 - 0x4.7 */
/* access: RO */
u_int8_t type_core_main;
/* Description - Processor type.
0: N/A
1: IRISC
2: RISC5
Else: Reserved */
/* 0x4.8 - 0x4.11 */
/* access: RO */
u_int8_t type_core_dpa;
/* Description - Indicates wether Phy_UC tracers mapping are supported by the device FW.
When set, The event_id of the Phy UC of the instance will be calculated by first_tile/main _core _event_id[i] + cap_core_tile/main.
When clear the Phy UC will be ignored.
*/
/* 0x4.30 - 0x4.30 */
/* access: RO */
u_int8_t is_phy_uc_supported;
/* Description - When set to '1', the device supports dwsn_msb bit within the FW trace layout. */
/* 0x4.31 - 0x4.31 */
/* access: RO */
u_int8_t is_dwsn_msb_supported;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - The mapping for the rest of the DPA ASIC processors are sequential and the mapping is defined as:
processor[x]=first_dpacore_event_id+x */
/* 0x8.16 - 0x8.23 */
/* access: RO */
u_int8_t first_dpa_core_event_id;
/* Description - The mapping for the rest of the main ASIC processors are sequential and the mapping is defined as:
processor[x]=first_main_core_event_id+x */
/* 0x8.24 - 0x8.31 */
/* access: RO */
u_int8_t first_main_core_event_id;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - The mapping for the rest of the tile[y] ASIC processors are sequential and the mapping is defined as:
processor[x]=first_tile_core_event_id[y]+x
*/
/* 0xc.24 - 0x14.23 */
/* access: RO */
u_int8_t first_tile_core_event_id[8];
};
/* Description - */
/* Size in bytes - 48 */
struct reg_access_hca_mtie_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Enable/Disable all FW tracer initiator and ignore mask.
Starts from bit 0.
0: Use bit mask
1: Enable all
2: Disable all */
/* 0x0.0 - 0x0.1 */
/* access: OP */
u_int8_t enable_all;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Adding delay to log events in usecs
*/
/* 0x4.0 - 0x4.15 */
/* access: RW */
u_int16_t log_delay;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - Bit mask of all the possible tracer initiators.
Reserved when enable_all != 0.
The mapping of source id to HW unit is unique per device and can be fetched from FW code.
*/
/* 0x10.0 - 0x2c.31 */
/* access: RW */
u_int32_t source_id_bitmask[8];
};
/* Description - */
/* Size in bytes - 16 */
struct reg_access_hca_mtim_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - The verbosity of the log.
0: LOG_DEBUG
1: LOG_INFO
2: LOG_WARNING
3: LOG_ERROR
The lower value reflects higher verbosity than higher value.
e.g: LOG_INFO contains LOG_WARNING and LOG_ERROR */
/* 0x0.0 - 0x0.3 */
/* access: RW */
u_int8_t log_level;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Bit mask of the different FW units that can be activated for the FW log.
The mapping of source id to FW unit is unique per device and can be fetched from FW code.
*/
/* 0x4.0 - 0x4.31 */
/* access: RW */
u_int32_t log_bit_mask;
};
/* Description - */
/* Size in bytes - 32 */
struct reg_access_hca_mtmp_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Sensors index
0: current asic temp, FW exposes current max(all diode temp sensors)
1..62: ambient, supported only for unmanaged switch, defined by ini
64..255: modules 256..288: Gearbox
Others up to 704 are reserved */
/* 0x0.0 - 0x0.11 */
/* access: INDEX */
u_int16_t sensor_index;
/* Description - Slot index
0: Main board */
/* 0x0.16 - 0x0.19 */
/* access: INDEX */
u_int8_t slot_index;
/* Description - ASIC index. See ig field for more details. */
/* 0x0.25 - 0x0.28 */
/* access: INDEX */
u_int8_t asic_index;
/* Description - Internal granularity.
Used to query the internal diodes of the switch main ASIC and tiles.
0: the 'i' field may be used to query the entire ASIC internal diodes. Main + tile.
1: The 'i' field is ignored and only the main ASIC diodes are available to query and sensor_index is the index of the main ASIC diodes.
2: The 'i' field is ignored and only the tile ASIC diodes are available to query and sensor_index is the index of the tile ASIC diodes. To query a specific tile, asic_index field should be used.
3: Reserved.
Those sensors are not available externally and should only be used for debug. */
/* 0x0.29 - 0x0.30 */
/* access: INDEX */
u_int8_t ig;
/* Description - Used to query the internal diodes of the switch ASIC; for i=1, sensor_index is the index of the ASIC diode. */
/* 0x0.31 - 0x0.31 */
/* access: INDEX */
u_int8_t i;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Temperature reading from the sensor.
Units of 0.125 Celsius degrees.
For negative values 2's complement is used (for example: -3.25 Celsius will read as 0xFFE6) */
/* 0x4.0 - 0x4.15 */
/* access: RO */
u_int16_t temperature;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - The highest measured temperature from the sensor.
Reserved when mte = 0
Cleared by mtr = 1
Valid only when i = 0
*/
/* 0x8.0 - 0x8.15 */
/* access: RO */
u_int16_t max_temperature;
/* Description - Shut Down Events Modify Set Enable:
0: all fields are set
1: only sdee field is set, all other fields reserved */
/* 0x8.28 - 0x8.28 */
/* access: OP */
u_int8_t sdme;
/* Description - Warning Events Modify Set Enable:
0: all fields are set
1: only tee field is set, all other fields reserved */
/* 0x8.29 - 0x8.29 */
/* access: OP */
u_int8_t weme;
/* Description - Max Temperature Reset:
0: do not modify the value of the max temperature register
1: clear the value of the max temperature register */
/* 0x8.30 - 0x8.30 */
/* access: OP */
u_int8_t mtr;
/* Description - Max Temperature Enable:
0: disable measuring the max temperature on a sensor
1: enables measuring the max temperature on a sensor */
/* 0x8.31 - 0x8.31 */
/* access: RW */
u_int8_t mte;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - temperature_threshold_hi refers to the high threshold of Warning Event. Units of 0.125 Celsius degrees.
If the sensor temperature measurement is above the threshold (and events are enabled), an event will be generated.
threshold_hi and threshold_lo implements hysteresis mechanism of the threshold preventing toggling of the indication.
Note that temperature_threshold_hi must be equal or lower than the system requirement.
System requirement for module is the module warning temperature.
System requirement for board/silicon sensors is according to product information parameters
Note that the temperature threshold can be used to generate an event message or an interrupt using GPIO */
/* 0xc.0 - 0xc.15 */
/* access: RW */
u_int16_t temperature_threshold_hi;
/* Description - Temperature Shut Down Event Enable (MTSDE Register)
0: do_not_generate_event
1: generate_event
2: generate_single_event
Supported in downstream devices (devices on slots). */
/* 0xc.28 - 0xc.29 */
/* access: RW */
u_int8_t sdee;
/* Description - Temperature Warning Event Enable (MTEWE Register)
0: do_not_generate_event
1: generate_event
2: generate_single_event
*/
/* 0xc.30 - 0xc.31 */
/* access: RW */
u_int8_t tee;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - temperature_threshold_lo refers to the low threshold of Warning Event.Units of 0.125 Celsius degrees.
The offset threshold_lo implements the lower threshold for the hysteresis mechanism of over temperature alert. Once alert is set, if the temperature goes below this threshold, the alert is cleared.
Note that temperature_threshold_lo must be at least 5 degrees lower than temperature_threshold_hi */
/* 0x10.0 - 0x10.15 */
/* access: RW */
u_int16_t temperature_threshold_lo;
/*---------------- DWORD[6] (Offset 0x18) ----------------*/
/* Description - Sensor Name
8 character long sensor name
*/
/* 0x18.0 - 0x18.31 */
/* access: RO */
u_int32_t sensor_name_hi;
/*---------------- DWORD[7] (Offset 0x1c) ----------------*/
/* Description - Sensor Name
8 character long sensor name
*/
/* 0x1c.0 - 0x1c.31 */
/* access: RO */
u_int32_t sensor_name_lo;
};
/* Description - */
/* Size in bytes - 132 */
struct reg_access_hca_mtrc_cap_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Number of different string sections building the database */
/* 0x0.0 - 0x0.3 */
/* access: RO */
u_int8_t num_string_db;
/* Description - Indicates the version of the tracing mechanism.
See Section 29.3.4.1, "Timestamp Event Traces", on page 1862
0x0: VER_0
0x1: VER_1
Other values are reserved.
Reserved in Switch */
/* 0x0.24 - 0x0.25 */
/* access: RO */
u_int8_t trc_ver;
/* Description - When set the device supports logging traces to memory
0: FIFO Mode
1: Host Memory Mode */
/* 0x0.30 - 0x0.30 */
/* access: RO */
u_int8_t trace_to_memory;
/* Description - Write 0x1 to register for tracer ownership, write 0x0 to de-register.
Read value 0x1 indicates tracer ownership is granted.
*/
/* 0x0.31 - 0x0.31 */
/* access: RW */
u_int8_t trace_owner;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - The number of consecutive event_id that should be interpreted as a string trace */
/* 0x4.16 - 0x4.23 */
/* access: RO */
u_int8_t num_string_trace;
/* Description - The lowest event_id that should be interpreted as a string trace */
/* 0x4.24 - 0x4.31 */
/* access: RO */
u_int8_t first_string_trace;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Log 2 of the maximal size of the trace buffer given in units of 4KB */
/* 0x8.0 - 0x8.7 */
/* access: RO */
u_int8_t log_max_trace_buffer_size;
/* Description - Tracer suppported capbailities bitmask:
0: FIFO.
1: MEM mode.
else, reserved. */
/* 0x8.30 - 0x8.31 */
/* access: RO */
u_int8_t tracer_capabilities;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - String DB section parameters. */
/* 0x10.0 - 0x4c.31 */
/* access: RO */
struct reg_access_hca_string_db_parameters_ext string_db_param[8];
};
/* Description - */
/* Size in bytes - 128 */
struct reg_access_hca_mtrc_conf_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Tracing mode
0x0: FIFO
0x1: TRACE_TO_MEMORY
Other values are reserved. */
/* 0x0.0 - 0x0.3 */
/* access: RW */
u_int8_t trace_mode;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Log 2 of the Size of the trace buffer, given in units of 4KB.
Value should not exceed log_max_trace_buffer_size.
Valid only for trace_mode TRACE_TO_MEMORY.
Modifying this parameter after the tracer was active may cause loss of sync regarding the location of the next trace. */
/* 0x4.0 - 0x4.7 */
/* access: RW */
u_int8_t log_trace_buffer_size;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - MKey registered for the trace buffer access.
Valid only for trace_mode TRACE_TO_MEMORY.
Modifying this parameter after the tracer was active may cause loss of sync regarding the location of the next trace.
Reserved for Switches. */
/* 0x8.0 - 0x8.31 */
/* access: RW */
u_int32_t trace_mkey;
};
/* Description - */
/* Size in bytes - 64 */
struct reg_access_hca_mtrc_ctrl_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Field select indicated which writable fields to modify
bit 0: trace_status
Other bits are reserved. */
/* 0x0.0 - 0x0.15 */
/* access: WO */
u_int16_t modify_field_select;
/* Description - When set, an event will be generated if new Tracer events were logged since last event.
Reserved in Switches. */
/* 0x0.27 - 0x0.27 */
/* access: WO */
u_int8_t arm_event;
/* Description - Current status of the tracer
0x0: DISABLED - logging traces is stopped
0x1: ACTIVE - logging traces is active */
/* 0x0.30 - 0x0.31 */
/* access: RW */
u_int8_t trace_status;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - MSB of the current timesatmp counter */
/* 0x8.0 - 0x8.20 */
/* access: RO */
u_int32_t current_timestamp_52_32;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - LSB of the current timesatmp counter */
/* 0xc.0 - 0xc.31 */
/* access: RO */
u_int32_t current_timestamp_31_0;
};
/* Description - */
/* Size in bytes - 8 */
struct reg_access_hca_mtrc_stdb_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - The number of bytes to read from the String DB. The number of bytes must:
Be a multiple of 64B
Not exceed the String DB section (with start_offset)
Not exceed the limitations defined by the medium carrying the Register. */
/* 0x0.0 - 0x0.23 */
/* access: INDEX */
u_int32_t read_size;
/* Description - The section of the String DB being accessed */
/* 0x0.28 - 0x0.31 */
/* access: INDEX */
u_int8_t string_db_index;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - The offset in the String DB to read from, given in Bytes. The offset must:
Be a multiple of 64B
Not exceed the String DB section (with read_size) */
/* 0x4.0 - 0x4.31 */
/* access: INDEX */
u_int32_t start_offset;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - Strings from the database. The size of this field is defined by read_size */
/* 0x8.0 - 0x8.31 */
/* access: RO */
u_int32_t *string_db_data;
};
/* Description - */
/* Size in bytes - 128 */
struct reg_access_hca_nic_cap_ext_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Indicates which capability group is accessed.
0x1: DPA_CAP
other values are reserved */
/* 0x0.16 - 0x0.31 */
/* access: INDEX */
u_int16_t cap_group;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - Capability information according to cap_group.
For DPA_CAP See Table 1727, "DPA_CAP Capability Layout," on page 2035 */
/* 0x10.0 - 0x7c.31 */
/* access: RO */
union reg_access_hca_nic_cap_ext_reg_cap_data_auto_ext cap_data;
};
/* Description - */
/* Size in bytes - 768 */
struct reg_access_hca_nic_dpa_eu_partition_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - DPA EU partition id
For WRITE method with operation CREATE this field is RO and provides the newly created EU partition ID.
For other method/operation, this field is an index to a valid EU partition */
/* 0x0.0 - 0x0.15 */
/* access: INDEX */
u_int16_t eu_partition_id;
/* Description - Operation performed for WRITE method:
0x0: CRETAE - create a new partition
0x1: MODIFY - change the parameters of an existing partition, absed on modify_field_select
0x2: DESTROY - destroy an existing partition
other values are reserved. */
/* 0x0.28 - 0x0.30 */
/* access: WO */
u_int8_t operation;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Bitmask indicating which parameter is modified by MODIFY operation. Set bit indicates the field should be updated.
bit 0: member_mask
bit 1: max_num_eug
bit 2: num_vhca_id_and_vhca_id
other bits are reserved.
For Query method, set bit indicates the relevant modification is supported */
/* 0x4.0 - 0x4.31 */
/* access: RW */
u_int32_t modify_field_select;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - The maximal number of groups allowed for EUs in the partition */
/* 0x8.0 - 0x8.15 */
/* access: RW */
u_int16_t max_num_eug;
/* Description - The number of valid entries in vhca_id array. Value must not exceed DPA_CAP,max_num_partition_vhca_id */
/* 0x8.16 - 0x8.23 */
/* access: RW */
u_int8_t num_vhca_id;
/*---------------- DWORD[16] (Offset 0x40) ----------------*/
/* Description - Bitmask indicating which EUs are members of the partition. Set bit indicates the respective EU is a member. EU partitions may not overlap, and EUs beyond DPA_CAP.max_num_dpa_eu are reserved. */
/* 0x40.0 - 0xbc.31 */
/* access: RW */
u_int32_t member_mask[32];
/*---------------- DWORD[48] (Offset 0xc0) ----------------*/
/* Description - Array of VHCA IDs indicating which functions are allowed to use this partition. Array size is determined by num_vhca_id, entries with index num_vhca_id or higher are reserved. A vHCA may only belong to a single partition at a time. */
/* 0xc0.16 - 0x2c0.15 */
/* access: RW */
u_int16_t vhca_id[256];
};
/* Description - */
/* Size in bytes - 256 */
struct reg_access_hca_nic_dpa_eug_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - DPA EUG id
For WRITE method with operation CREATE this field is RO and provides the newly created EUG.
For other method/operation, this field is an index to a valid EUG */
/* 0x0.0 - 0x0.15 */
/* access: INDEX */
u_int16_t eug_id;
/* Description - If set, partition_id defines the Partition to which the members of the EUG belong. Otherwise, the Partition that holds the calling vHCA is assumed.
Valid if NIC_CAP_EXT.dpa_partition_eug is set. */
/* 0x0.27 - 0x0.27 */
/* access: INDEX */
u_int8_t partition_id_valid;
/* Description - Operation performed for WRITE method:
0x0: CREATE - create a new DPA EUG
0x1: MODIFY - change the members of an existing DPA EUG
0x2: DESTROY - destroy an existing DPA EUG
other values are reserved. */
/* 0x0.28 - 0x0.30 */
/* access: WO */
u_int8_t operation;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Bitmask indicating which parameter is modified by MODIFY operation. Set bit indicates the field should be updated.
bit 0: member_mask
other bits are reserved.
For Query method, set bit indicates the relevant modification is supported */
/* 0x4.0 - 0x4.31 */
/* access: RW */
u_int32_t modify_field_select;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Defines the Partition to which the members of the EUG belong. Valid if partition_id_valid is set. */
/* 0xc.0 - 0xc.15 */
/* access: INDEX */
u_int16_t partition_id;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - EUG name (ASCII string) */
/* 0x10.0 - 0x1c.31 */
/* access: RW */
u_int32_t eug_name[4];
/*---------------- DWORD[16] (Offset 0x40) ----------------*/
/* Description - Bitmask indicating which EUs are members of the group. Set bit indicates the respective EU is a member. EUGs may not overlap, and EUs beyond NIC_CAP_EXT_REG.max_num_dpa_eu are reserved. */
/* 0x40.0 - 0xbc.31 */
/* access: RW */
u_int32_t member_mask[32];
};
/* Description - */
/* Size in bytes - 64 */
struct reg_access_hca_nic_dpa_perf_ctrl_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - dpa_process object id.
0xffffffff: Applies to all processes (all processes are not valid in read) */
/* 0x0.0 - 0x0.31 */
/* access: INDEX */
u_int32_t dpa_process_id;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - vhca_id where the process is created */
/* 0x4.0 - 0x4.15 */
/* access: WO */
u_int16_t other_vhca_id;
/* Description - Selects the sampling type. Supported types are indicated by NIC_CAP_EXT.dpa_perf_sample_type
0x0: CUMMULATIVE_EVENT
0x1: EVENT_TRACER
Other values are reserved */
/* 0x4.24 - 0x4.26 */
/* access: RW */
u_int8_t sample_type;
/* Description - If set, other_vhca_id field is valid. Otherwise, use the process on my vhca_id */
/* 0x4.27 - 0x4.27 */
/* access: WO */
u_int8_t other_vhca_id_valid;
/* Description - Process performance counting state.
0x0: UNCHANGED
0x1: ACTIVE
0x2: INACTIVE
0x3: RESET_COUNTERS - reset saved counters. After reset, sampler will switch to inactive state.
Other values are reserved */
/* 0x4.30 - 0x4.31 */
/* access: RW */
u_int8_t count_state;
};
/* Description - */
/* Size in bytes - 16 */
struct reg_access_hca_paos_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Port operational state:
1: up
2: down
4: down_by_port_failure - (transitioned by the hardware)
*/
/* 0x0.0 - 0x0.3 */
/* access: RO */
u_int8_t oper_status;
/* Description - Reserved for non-planarized port.
Plane port index of the aggregated port. A value of 0 refers to the aggregated port only. */
/* 0x0.4 - 0x0.7 */
/* access: INDEX */
u_int8_t plane_ind;
/* Description - Port administrative state (the desired state of the interface):
1: up
2: down_by_configuration
3: up_once - if the port goes up and then down, the operational status should go to "down by port failure" and can only go back up upon explicit command
4: disabled_by_system - this mode cannot be set by the software, only by the hardware.
6: sleep - can be configured only if sleep_cap is set. Note that a sleep setting will cause the port to transition immediately into sleep state regardless of previous admin_status.
[Internal] - up_once shall not be used for GPU case. In order to define link down state set PLDS register */
/* 0x0.8 - 0x0.11 */
/* access: RW */
u_int8_t admin_status;
/* Description - Local port number [9:8] */
/* 0x0.12 - 0x0.13 */
/* access: INDEX */
u_int8_t lp_msb;
/* Description - Local port number. */
/* 0x0.16 - 0x0.23 */
/* access: INDEX */
u_int8_t local_port;
/* Description - For HCA: must always be 0.
Switch partition ID with which to associate the port.
Switch partitions are numbered from 0 to 7 inclusively.
The swid field is only valid when the local_port is the router port. In this case, the swid indicates which of the router ports to configure/query. */
/* 0x0.24 - 0x0.31 */
/* access: INDEX */
u_int8_t swid;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Event generation on operational state change (oper_status):
0: Do_not_generate_event
1: Generate_Event
2: Generate_Single_Event
Not Supported for HCA. */
/* 0x4.0 - 0x4.1 */
/* access: RW */
u_int8_t e;
/* Description - IB Port Physical operational (actual) link state:
0: N/A
1: Sleep
2: Polling
3: Disabled
4: PortConfigurationTraining
5: LinkUp
6: LinkErrorRecovery
All others reserved
Note that physical state of 1,2,3,4 will all be reflected as oper_status = down.
Ethernet devices that support this field will use only bits 2,3,5. */
/* 0x4.4 - 0x4.7 */
/* access: RO */
u_int8_t physical_state_status;
/* Description - Force down.
Supported only when indicated in PCAM
Can be set only with admin_status = 2 ('down_by_configuration'), will force link to be down.
*/
/* 0x4.8 - 0x4.8 */
/* access: RW */
u_int8_t fd;
/* Description - Sleep capability:
0: Sleep state is not supported
1: Sleep state supported */
/* 0x4.9 - 0x4.9 */
/* access: RO */
u_int8_t sleep_cap;
/* Description - Event generation for physical state.
On set operation, will be ignored if ee_ps is not set.
When bit is set, will generate an event for transition into state.
Bit 0: Sleep
Bit 1: LinkUp
Note - LinkUp for an Ethernet link refers to PhyUp state where local side is ready, but not necessarily that peer side is also ready.
Bit 2: Disabled
Bit 3: PortConfigurationTraining
Not Supported for HCA. */
/* 0x4.12 - 0x4.15 */
/* access: RW */
u_int8_t ps_e;
/* Description - IB or NVLink Port Logical link state:
0: N/A
1: Down
2: Init
3: Arm
4: Active */
/* 0x4.16 - 0x4.18 */
/* access: RO */
u_int8_t logical_state_status;
/* Description - event generation mask for logical state.
On set operation, will be ignored when ee_ls is not set.
When bit is set, will generate event for transition into state.
Bit 0: Down
Bit 1: Init
Bit 2: Arm
Bit 3: Active
Not Supported for HCA. */
/* 0x4.20 - 0x4.23 */
/* access: RW */
u_int8_t ls_e;
/* Description - Event update enable for NMX AdminState. If this bit is set, event generation will be updated based on the nmxas_e field. Only relevant on Set operations.
Not Supported for HCA.
*/
/* 0x4.27 - 0x4.27 */
/* access: WO */
u_int8_t ee_nmxas;
/* Description - Event update enable for physical state. If this bit is set, event generation will be updated based on the ps_e field. Only relevant on Set operations.
Not Supported for HCA. */
/* 0x4.28 - 0x4.28 */
/* access: WO */
u_int8_t ee_ps;
/* Description - Event update enable for logical state. If this bit is set, event generation will be updated based on the ls_e field. Only relevant on Set operations.
Not Supported for HCA. */
/* 0x4.29 - 0x4.29 */
/* access: WO */
u_int8_t ee_ls;
/* Description - Event update enable. If this bit is set, event generation will be updated based on the e field. Only relevant on Set operations.
Not Supported for HCA. */
/* 0x4.30 - 0x4.30 */
/* access: WO */
u_int8_t ee;
/* Description - Admin state update enable. If this bit is set, admin state will be updated based on admin_state field. Only relevant on Set() operations. */
/* 0x4.31 - 0x4.31 */
/* access: WO */
u_int8_t ase;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - NVLink Port NMX AdminState current state:
0: N/A
1: Up
2: Down
3: Diag
*/
/* 0x8.0 - 0x8.2 */
/* access: RO */
u_int8_t nmx_adminstate_status;
/* Description - Event generation mask for NMX AdminState status.
On set operation, will be ignored when ee_nmxas is not set.
When bit is set, will generate event for transition into state.
Bit 0: Up
Bit 1: Down
Bit 2: Diag
*/
/* 0x8.4 - 0x8.7 */
/* access: RW */
u_int8_t nmxas_e;
/* Description - Extension of ps_e field. Event generation for physical state.
On set operation, will be ignored if ee_ps is not set.
When bit is set, will generate an event for transition into state.
Bit 0: Polling
Bit 1: Reserved
*/
/* 0x8.12 - 0x8.13 */
/* access: RW */
u_int8_t ps_e_ext;
/* Description - Supported if PCAM.feature_cap_mask bit 118 is set
Last reported oper state in PUDE:
0: no_info
1: up
2: down
4: down_by_port_failure - (transitioned by the hardware) */
/* 0x8.16 - 0x8.18 */
/* access: RO */
u_int8_t last_oper_status;
};
/* Description - */
/* Size in bytes - 12 */
struct reg_access_hca_pcnr_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - When set, port will override tuning process upon following link-up command (PAOS.admin_status = UP).
Cleared by FW once PAOS.admin_status = UP command is set.
The tuning_override is recommended to be set when port operational status is UP (PAOS.oper_status=0x1).
If the field is set while operational status is DOWN (PAOS.oper_status=0x2), port will do best effort of fast linkup on the possible parts of the link (that is, known internal links that cannot change). */
/* 0x0.0 - 0x0.0 */
/* access: WO */
u_int8_t tuning_override;
/* Description - When set, indicates if flu_always, flua_guar_sec, flua_polling_sec, flua_allowed_ber is supported and configurable, flu_always_oper */
/* 0x0.2 - 0x0.2 */
/* access: RO */
u_int8_t flua_cap;
/* Description - Bitmask for all flua fiels. When bit is set in mask, the relevant field configuration is valid. otherwise, field ignores the value.
Bit 0: flua_en
bit 1: flua_allowed_ber
Bit 2: flua_polling_sec
Bit 3: flua_guar_sec */
/* 0x0.3 - 0x0.6 */
/* access: WO */
u_int8_t flua_we_mask;
/* Description - Local port number [9:8] */
/* 0x0.12 - 0x0.13 */
/* access: INDEX */
u_int8_t lp_msb;
/* Description - Local port number. */
/* 0x0.16 - 0x0.23 */
/* access: INDEX */
u_int8_t local_port;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - When Set, The port will keep the same phy setting upon link down event that occurs only upon link down command of peer port. In the event of Down command/cable disconnect, entire link up flow will be initialized.
NOTE: This mode can be configured only when PTYS.an_disable_admin is set (i.e. AN is disabled).
NOTE: if physical environment was changed (i.e. replacement of module, temp change, etc) there is a possibility that link won't be established or will be established with high BER */
/* 0x4.0 - 0x4.0 */
/* access: WO */
u_int8_t keep_phy_setting;
/* Description - Get valid only if flua_cap is set.
Set is valid only if flua_cap and flua_we are set.
valid only if flua_cap is set
0: device_default_behavior
1: enable_fast_linkup_always
2: disable_fast_linkup_always
When enabled, fast linkup attempt will always be performed. On fast linkup failure, regular linkup flow will be performed.
flu configuration is ignored when flu_always enabled */
/* 0x4.4 - 0x4.5 */
/* access: RW */
u_int8_t flua_en;
/* Description - Valid only if flua_cap is set.
Fast link Up always operational satus
0: fast_linkup_always_enabled
1: fast_linkup_always_disabled */
/* 0x4.6 - 0x4.7 */
/* access: RO */
u_int8_t flua_oper;
/* Description - BER exponent threshold for allowed ber during the guard period. */
/* 0x4.8 - 0x4.15 */
/* access: RW */
u_int8_t flua_allowed_ber;
/* Description - Get valid only if flua_cap is set.
Set is valid only if flua_cap and flua_we are set.
Polling allowed time in 2.5 sec granularity.
When fast linkup always is enabled.
Determines the amount of time to try fast-linkup during polling state. when timer expires in polling state, regular linkup will be performed */
/* 0x4.16 - 0x4.23 */
/* access: RW */
u_int8_t flua_polling_sec;
/* Description - Get valid only if flua_cap is set.
Set is valid only if flua_cap and flua_we are set.
Guard peiod in sec.
When fast linkup always is enabled, determines the amount of time after link is up that if the link drops or BER threshold is met, next linkup will not perform fast-linkup. */
/* 0x4.24 - 0x4.28 */
/* access: RW */
u_int8_t flua_guar_sec;
};
/* Description - */
/* Size in bytes - 96 */
struct reg_access_hca_pguid_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Local port number [9:8] */
/* 0x0.12 - 0x0.13 */
/* access: INDEX */
u_int8_t lp_msb;
/* Description - Port number access type. determines the way local_port is interpreted:
0 - Local port number
1 - IB port number */
/* 0x0.14 - 0x0.15 */
/* access: INDEX */
u_int8_t pnat;
/* Description - local_port number */
/* 0x0.16 - 0x0.23 */
/* access: INDEX */
u_int8_t local_port;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - System GUID.
Only 64 LSB are used. 64 MSB are reserved. */
/* 0x4.0 - 0x10.31 */
/* access: RO */
u_int32_t sys_guid[4];
/*---------------- DWORD[5] (Offset 0x14) ----------------*/
/* Description - Node GUID.
Only 64 LSB are used. 64 MSB are reserved. */
/* 0x14.0 - 0x20.31 */
/* access: RO */
u_int32_t node_guid[4];
/*---------------- DWORD[9] (Offset 0x24) ----------------*/
/* Description - Port GUID.
Only 64 LSB are used. 64 MSB are reserved. */
/* 0x24.0 - 0x30.31 */
/* access: RO */
u_int32_t port_guid[4];
/*---------------- DWORD[13] (Offset 0x34) ----------------*/
/* Description - Allocated GUID.
Only 64 LSB are used. 64 MSB are reserved. */
/* 0x34.0 - 0x40.31 */
/* access: RO */
u_int32_t allocated_guid[4];
};
/* Description - */
/* Size in bytes - 16 */
struct reg_access_hca_pmaos_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Module state (reserved while admin_status is disabled):
0: initializing
1: plugged_enabled
2: unplugged
3: module_plugged_with_error - (details in error_type).
5: unknown */
/* 0x0.0 - 0x0.3 */
/* access: RO */
u_int8_t oper_status;
/* Description - Module administrative state (the desired state of the module):
1: enabled
2: disabled_by_configuration
3: enabled_once - if the module is active and then unplugged, or module experienced an error event, the operational status should go to "disabled" and can only be enabled upon explicit enable command.
0xe: disconnect_cable
Note - To disable a module, all ports associated with the port must be disabled first.
Note 2 - disconnect cable will shut down the optical module in ungraceful manner.
*/
/* 0x0.8 - 0x0.11 */
/* access: RW */
u_int8_t admin_status;
/* Description - Module number. */
/* 0x0.16 - 0x0.23 */
/* access: INDEX */
u_int8_t module;
/* Description - Reserved for HCA
Slot_index
Slot_index = 0 represent the onboard (motherboard).
In case of non modular system only slot_index = 0 is available. */
/* 0x0.24 - 0x0.27 */
/* access: INDEX */
u_int8_t slot_index;
/* Description - Module Reset toggle
NOTE: setting reset while module is plugged-in will result in transition of oper_status to initialization. */
/* 0x0.31 - 0x0.31 */
/* access: OP */
u_int8_t rst;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Event Generation on operational state change:
0: Do_not_generate_event
1: Generate_Event
2: Generate_Single_Event
Not supported by secondary ASICs. */
/* 0x4.0 - 0x4.1 */
/* access: RW */
u_int8_t e;
/* Description - Module error details:
0x0: Power_Budget_Exceeded
0x1: Long_Range_for_non_MLNX_cable_or_module
0x2: Bus_stuck - (I2C Data or clock shorted)
0x3: bad_or_unsupported_EEPROM
0x4: Enforce_part_number_list
0x5: unsupported_cable
0x6: High_Temperature
0x7: bad_cable - (Module/Cable is shorted)
0x8: PMD_type_is_not_enabled - (see PMTPS)
0xc: pcie_system_power_slot_Exceeded
[DWIP] 0xf: Boot_error
[DWIP] 0x10: Recovery_error
[DWIP] 0x11: Submodule_failure
Valid only when oper_status = 4'b0011 */
/* 0x4.8 - 0x4.12 */
/* access: RO */
u_int8_t error_type;
/* Description - This notification can occur only if module passed initialization process
0x0: No notifications.
0x1: Speed degradation - the module is not enabled in its full speed due to incompatible transceiver/cable
Valid only when oper_status = 4'b0001. */
/* 0x4.16 - 0x4.19 */
/* access: RO */
u_int8_t operational_notification;
/* Description - When in multi ASIC module sharing systems,
This flag will be asserted in case primary and secondary FW versions are not compatible. */
/* 0x4.28 - 0x4.28 */
/* access: RO */
u_int8_t rev_incompatible;
/* Description - Indicates whether the ASIC serves as a the modules secondary (=1) or primary (=0) device. */
/* 0x4.29 - 0x4.29 */
/* access: RO */
u_int8_t secondary;
/* Description - Event update enable. If this bit is set, event generation will be updated based on the e field. Only relevant on Set operations.
Not supported by secondary ASICs. */
/* 0x4.30 - 0x4.30 */
/* access: WO */
u_int8_t ee;
/* Description - Admin status update enable. If this bit is set, admin state will be updated based on admin_state field. Only relevant on Set() operations. */
/* 0x4.31 - 0x4.31 */
/* access: WO */
u_int8_t ase;
};
/* Description - */
/* Size in bytes - 64 */
struct reg_access_hca_pmlp_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - 0: unmap_local_port
1: x1 - lane 0 is used
2: x2 - lanes 0,1 are used
4: x4 - lanes 0,1,2 and 3 are used
8: x8 - lanes 0-7 are used
Other - reserved */
/* 0x0.0 - 0x0.7 */
/* access: RW */
u_int8_t width;
/* Description - Reserved for non-planarized port.
Plane port index of the aggregated port. A value of 0 refers to the aggregated port only. */
/* 0x0.8 - 0x0.11 */
/* access: INDEX */
u_int8_t plane_ind;
/* Description - Local port number [9:8] */
/* 0x0.12 - 0x0.13 */
/* access: INDEX */
u_int8_t lp_msb;
/* Description - Local port number. */
/* 0x0.16 - 0x0.23 */
/* access: INDEX */
u_int8_t local_port;
/* Description - Module lane mapping:
0 - Local to Module mapping include module lanes mapping
1 - Local to Module mapping only, without lane mapping
When this operational is set ('1'), the following fields are ignored in SET command and should return the value "0" in GET commands:
PMLP.rxtx
PMLP.lane<i>_module_mapping.tx_lane
PMLP.lane<i>_module_mapping.rx_lane */
/* 0x0.28 - 0x0.28 */
/* access: OP */
u_int8_t m_lane_m;
/* Description - Use different configuration for RX and TX.
If this bit is cleared, the TX value is used for both RX and TX. When set, the RX configuration is taken from the separate field. This is to enable backward compatible implementation. */
/* 0x0.31 - 0x0.31 */
/* access: RW */
u_int8_t rxtx;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Module SerDes for lane <i>
Up to 8 SerDes in a module can be mapped to a local port. */
/* 0x4.0 - 0x20.31 */
/* access: RW */
struct reg_access_hca_lane_2_module_mapping_ext lane_module_mapping[8];
};
/* Description - */
/* Size in bytes - 68 */
struct reg_access_hca_ptys_reg_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - Protocol Mask. Indicates which of the protocol data is valid
Bit 0: InfiniBand
Bit 1: NVLink
Bit 2: Ethernet
*/
/* 0x0.0 - 0x0.2 */
/* access: INDEX */
u_int8_t proto_mask;
/* Description - Valid only when port is mapped to SW controlled module, otherwise ignored. module control can be queried via MMCR register.
0: transmit_not_allowed - Transmitter is not allowed to transmit signal on output
1: transmit_allowed - Transmitter is allowed to transmit signal on output. for enabling transmitter, PAOS.admin_status must be up as well. */
/* 0x0.3 - 0x0.3 */
/* access: RW */
u_int8_t transmit_allowed;
/* Description - Reserved for non-planarized port.
Plane port index of the aggregated port. A value of 0 refers to the aggregated port only. */
/* 0x0.4 - 0x0.7 */
/* access: INDEX */
u_int8_t plane_ind;
/* Description - Supported only when indicated by PCAM
0: Network_Port
1: Near-End_Port - (For Gearbox - Host side)
2: Internal_IC_Port
3: Far-End_Port - (For Gearbox - Line side)
Other values are reserved. */
/* 0x0.8 - 0x0.11 */
/* access: INDEX */
u_int8_t port_type;
/* Description - Local port number [9:8] */
/* 0x0.12 - 0x0.13 */
/* access: INDEX */
u_int8_t lp_msb;
/* Description - Local port number */
/* 0x0.16 - 0x0.23 */
/* access: INDEX */
u_int8_t local_port;
/* Description - Valid only when ee_tx_ready is set, otherwise field is ignored.
0: do_not_generate_event
Bit 0: generate_tx_ready_event - When set, PTSE register will generate event when Transmitter is generating valid signal on the line
Bit 1: generate_tx_not_ready_event - when set, PTSE will generate event when the transmitter stopped transmitting after Tx_ready was set.
Note: if both tx_not_ready and tx_ready are set, one toggle event may be received instead of 2 consecutive events of not ready --> ready. */
/* 0x0.26 - 0x0.27 */
/* access: RW */
u_int8_t tx_ready_e;
/* Description - Event Enable for tx_ready_e.
when bit is not set, tx_teady_e write value will be ignored */
/* 0x0.28 - 0x0.28 */
/* access: WO */
u_int8_t ee_tx_ready;
/* Description - Auto Negotiation disable capability:
0 - Device does not support AN disable
1 - Device Supports AN disable */
/* 0x0.29 - 0x0.29 */
/* access: RO */
u_int8_t an_disable_cap;
/* Description - Auto Negotiation disable:
0 - Normal operation
1 - Disable AN.
Note: In Ethernet port, when Disabling AN, the "eth_proto_admin" bit mask must comply to single speed rate set.
In IB port, when Disabling AN, the "ib_proto_admin" bit mask must comply to single speed rate set.
It's recommended to validate the FEC override bits in PPLM when operating with AN.
*/
/* 0x0.30 - 0x0.30 */
/* access: RW */
u_int8_t an_disable_admin;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - Port data rate in resolution of 100 Mb/s (data_rate_oper * 100 Mb/s)
Value 0x0 indicates this field is not supported.
*/
/* 0x4.0 - 0x4.15 */
/* access: RO */
u_int16_t data_rate_oper;
/* Description - Port maxium data rate in resolution of 1 Gb/s (data_rate_oper * 1 Gb/s)
Value 0x0 indicates this field is not supported.
*/
/* 0x4.16 - 0x4.27 */
/* access: RO */
u_int16_t max_port_rate;
/* Description - Auto Negotiation status:
0: Status_is_unavailable
1: AN_completed_successfully
2: AN_performed_but_failed
3: AN_was_not_performed_link_is_up
4: AN_was_not_performed_link_is_down */
/* 0x4.28 - 0x4.31 */
/* access: RO */
u_int8_t an_status;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - For HCA: See also PCAM.feature_cap_mask bit 13 for Extended Ethernet protocol support.
Extended Ethernet port speed/protocols supported (bitmask):
Bit 0: SGMII_100M
Bit 1: 1000BASE-X / SGMII
Bit 3: 5GBASE-R
Bit 4: XFI / XAUI-1 // 10G
Bit 5: XLAUI-4/XLPPI-4 // 40G
Bit 6: 25GAUI-1/ 25GBASE-CR / KR
Bit 7: 50GAUI-2 / LAUI-2/ 50GBASE-CR2/KR2
Bit 8: 50GAUI-1 /50GBASE-CR / KR
Bit 9: CAUI-4 / 100GBASE-CR4 / KR4
Bit 10: 100GAUI-2 / 100GBASE-CR2 / KR2
Bit 11: 100GAUI-1 / 100GBASE-CR / KR
Bit 12: 200GAUI-4 / 200GBASE-CR4/KR4
Bit 13: 200GAUI-2 / 200GBASE-CR2/KR2
Bit 14: 200GAUI-1 / 200GBASE-CR1/KR1
Bit 15: 400GAUI-8/ 400GBASE-CR8
Bit 16: 400GAUI-4/ 400GBASE-CR4
Bit 17: 400GAUI-2 / 400GBASE-CR2/KR2
Bit 18: Reserved [internal] Placeholder for 400GAUI-1
Bit 19: 800GAUI-8 / 800GBASE-CR8 / KR8
Bit 20: 800GAUI-4 / 800GBASE-CR4/KR4
Bit 23: 1.6TAUI-8 /1.6TBASE-CR8/KR8
Bit 31: SGMII_10M
Other - Reserved */
/* 0x8.0 - 0x8.31 */
/* access: RO */
u_int32_t ext_eth_proto_capability;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Ethernet port speed/protocols supported (bitmask)
Bit 31 - 50GBase-KR2
Bit 30 - 50GBase-CR2
Bit 29 - 25GBase-SR
Bit 28 - 25GBase-KR
Bit 27 - 25GBase-CR
Bit 26 - 10GBase-T
Bit 25 - 1000Base-T
Bit 24 - 100Base-TX
Bit 23 - 100GBase LR4/ER4
Bit 22 - 100GBase KR4
Bit 21 - 100GBase SR4
Bit 20 - 100GBase CR4
Bit 18 - 50GBase-SR2
Bit 16 - 40GBase LR4/ER4
Bit 15 - 40GBase SR4
Bit 14 - 10GBase ER/LR
Bit 13 - 10GBase SR
Bit 12 - 10GBase CR
Bit 10 - 10Base-T
Bit 9 - SGMII_100Base
Bit 7 - 40GBase KR4
Bit 6 - 40GBase CR4
Bit 4 - 10GBase KR
Bit 3 - 10GBase KX4
Bit 2 - 10GBase-CX4
Bit 1 - 1000Base KX
Bit 0 - SGMII */
/* 0xc.0 - 0xc.31 */
/* access: RO */
u_int32_t eth_proto_capability;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - InfiniBand port speed supported (bitmask)
Bit 0: SDR
Bit 1: DDR
Bit 2: QDR
Bit 3: FDR10
Bit 4: FDR
Bit 5: EDR
Bit 6: HDR
Bit 7: NDR
Bit 8: XDR */
/* 0x10.0 - 0x10.15 */
/* access: RO */
u_int16_t ib_proto_capability;
/* Description - ib_link_width <= ib_proto_capability
Bit 0 - 1x
Bit 1 - 2x
Bit 2 - 4x
*/
/* 0x10.16 - 0x10.31 */
/* access: RO */
u_int16_t ib_link_width_capability;
/*---------------- DWORD[5] (Offset 0x14) ----------------*/
/* Description - Ethernet port extended speed/protocols bitmask
NOTE: This field and "eth_proto_admin" are mutual exclusive, meaning that only one of the field can be set on write command. */
/* 0x14.0 - 0x14.31 */
/* access: RW */
u_int32_t ext_eth_proto_admin;
/*---------------- DWORD[6] (Offset 0x18) ----------------*/
/* Description - Ethernet port speed/protocols bitmask */
/* 0x18.0 - 0x18.31 */
/* access: RW */
u_int32_t eth_proto_admin;
/*---------------- DWORD[7] (Offset 0x1c) ----------------*/
/* Description - InfiniBand port speed bitmask */
/* 0x1c.0 - 0x1c.15 */
/* access: RW */
u_int16_t ib_proto_admin;
/* Description - InfiniBand port link width bitmask
*/
/* 0x1c.16 - 0x1c.31 */
/* access: RW */
u_int16_t ib_link_width_admin;
/*---------------- DWORD[8] (Offset 0x20) ----------------*/
/* Description - Ethernet port extended speed/protocols bitmask */
/* 0x20.0 - 0x20.31 */
/* access: RO */
u_int32_t ext_eth_proto_oper;
/*---------------- DWORD[9] (Offset 0x24) ----------------*/
/* Description - Ethernet port speed/protocols bitmask */
/* 0x24.0 - 0x24.31 */
/* access: RO */
u_int32_t eth_proto_oper;
/*---------------- DWORD[10] (Offset 0x28) ----------------*/
/* Description - InfiniBand port speed bitmask */
/* 0x28.0 - 0x28.15 */
/* access: RO */
u_int16_t ib_proto_oper;
/* Description - InfiniBand port link width bitmask
*/
/* 0x28.16 - 0x28.31 */
/* access: RO */
u_int16_t ib_link_width_oper;
/*---------------- DWORD[11] (Offset 0x2c) ----------------*/
/* Description - Connector type indication
0: No_connector_or_unknown
1: PORT_NONE - None
2: PORT_TP - Twisted Pair
3: PORT_AUI - AUI
4: PORT_BNC - BNC
5: PORT_MII - MII
6: PORT_FIBRE - FIBRE
7: PORT_DA - Direct Attach Copper
8: PORT_OTHER - Other */
/* 0x2c.0 - 0x2c.3 */
/* access: RO */
u_int8_t connector_type;
/* Description - For active link, Indicates the lane data rate passed per physical lane including the overhead due to FEC.
resolution of 10 Mb/s (lane_rate_oper * 10Mb/s). */
/* 0x2c.4 - 0x2c.23 */
/* access: RO */
u_int32_t lane_rate_oper;
/* Description - When set and link active, indicates link speed is xdr_2x slow. */
/* 0x2c.24 - 0x2c.24 */
/* access: RO */
u_int8_t xdr_2x_slow_active;
/* Description - When set, along with ib protocol xdr_2x, XDR_2x slow will be allowed instead of xdr_2x.
Note: in GB100, set by default only with ini and cannot be changed. */
/* 0x2c.25 - 0x2c.25 */
/* access: RW */
u_int8_t xdr_2x_slow_admin;
/* Description - Ethernet Force mode options when AN disable is set.
0 - auto, keep normal operation
1 - Do Force LT (KR Startup) flow
2 - Do not do LT (KR Startup) flow
Note: Ignored when an_disable_admin is not set
In Ethernet port, when setting force LT flow, the "eth_proto_ext_admin" bit mask must comply to single speed rate set. */
/* 0x2c.28 - 0x2c.29 */
/* access: RW */
u_int8_t force_lt_frames_admin;
/* Description - 0 - device does not support Force LT (KR Startup) flow
1 - device supports Force LT (KR Startup) flow
Note: Ignored when an_disable_admin is not set */
/* 0x2c.30 - 0x2c.30 */
/* access: RO */
u_int8_t force_lt_frames_cap;
/* Description - capability for XDR_2x slow is support (200G) */
/* 0x2c.31 - 0x2c.31 */
/* access: RO */
u_int8_t xdr_2x_slow_cap;
};
/* Description - */
/* Size in bytes - 256 */
struct reg_access_hca_resource_dump_ext {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - See Section 29.11, "Resource Dump," on page 1906. */
/* 0x0.0 - 0x0.15 */
/* access: INDEX */
u_int16_t segment_type;
/* Description - Sequence number. 0 on first call of dump and incremented on each more dump. */
/* 0x0.16 - 0x0.19 */
/* access: RW */
u_int8_t seq_num;
/* Description - If set, then vhca_id field is valid. Otherwise dump resources on my vhca_id. */
/* 0x0.29 - 0x0.29 */
/* access: WO */
u_int8_t vhca_id_valid;
/* Description - If set, data is dumped in the register in inline_data field. otherwise dump to mkey. */
/* 0x0.30 - 0x0.30 */
/* access: WO */
u_int8_t inline_dump;
/* Description - If set, the device has additional information that has not been dumped yet. */
/* 0x0.31 - 0x0.31 */
/* access: RW */
u_int8_t more_dump;
/*---------------- DWORD[1] (Offset 0x4) ----------------*/
/* Description - vhca_id where the resource is allocated. */
/* 0x4.0 - 0x4.15 */
/* access: WO */
u_int16_t vhca_id;
/*---------------- DWORD[2] (Offset 0x8) ----------------*/
/* Description - First object index to be dumped when supported by the object.
SW shall read this field upon command done and shall provide it on the next call in case dump_more==1. */
/* 0x8.0 - 0x8.31 */
/* access: RW */
u_int32_t index1;
/*---------------- DWORD[3] (Offset 0xc) ----------------*/
/* Description - Second object index to be dumped when supported by the object.
SW shall read this field upon command done and shall provide it on the next call in case dump_more==1. */
/* 0xc.0 - 0xc.31 */
/* access: RW */
u_int32_t index2;
/*---------------- DWORD[4] (Offset 0x10) ----------------*/
/* Description - The amount of objects to dump starting for index 2.
SW shall read this field upon command done and shall provide it on the next call in case dump_more==1.
Range is 0..0xfff0. When the segment's num_of_obj2_supports_all is set, the special value of 0xffff represents "all". When the segment's num_of_objx_supports_active is set, the special value of 0xfffe represents "active". The value of 0x0 and 0x1 are allowed even if the supported_num_of_obj2 is "0". */
/* 0x10.0 - 0x10.15 */
/* access: RW */
u_int16_t num_of_obj2;
/* Description - The amount of objects to dump starting for index 1
SW shall read this field upon command done and shall provide it on the next call in case dump_more==1.
Range is 0..0xfff0. When the segment's num_of_obj1_supports_all is set, the special value of 0xffff represents "all". When the segment's num_of_objx_supports_active is set, the special value of 0xfffe represents "active". The value of 0x0 and 0x1 are allowed even if the supported_num_of_obj1 is "0". */
/* 0x10.16 - 0x10.31 */
/* access: RW */
u_int16_t num_of_obj1;
/*---------------- DWORD[6] (Offset 0x18) ----------------*/
/* Description - An opaque provided by the device. SW shall read the device_opaque upon command done and shall provide it on the next call in case dump_more==1. On first call, device_opaque shall be 0. */
/* 0x18.0 - 0x1c.31 */
/* access: RW */
u_int64_t device_opaque;
/*---------------- DWORD[8] (Offset 0x20) ----------------*/
/* Description - Memory key to dump to.
Valid when inline_dump==0. */
/* 0x20.0 - 0x20.31 */
/* access: WO */
u_int32_t mkey;
/*---------------- DWORD[9] (Offset 0x24) ----------------*/
/* Description - In write, the size of maximum allocated buffer that the device can use.
In read, the actual written size.
In granularity of Bytes. */
/* 0x24.0 - 0x24.31 */
/* access: RW */
u_int32_t size;
/*---------------- DWORD[10] (Offset 0x28) ----------------*/
/* Description - VA address (absolute address) of memory where to start dumping.
Valid when inline_dump==0. */
/* 0x28.0 - 0x2c.31 */
/* access: WO */
u_int64_t address;
/*---------------- DWORD[12] (Offset 0x30) ----------------*/
/* Description - Data that is dumped in case of inline mode.
Valid when inline_dump==1. */
/* 0x30.0 - 0xfc.31 */
/* access: RW */
u_int32_t inline_data[52];
};
/* Description - */
/* Size in bytes - 768 */
union reg_access_hca_reg_access_hca_Nodes {
/*---------------- DWORD[0] (Offset 0x0) ----------------*/
/* Description - */
/* 0x0.0 - 0x3c.31 */
/* access: RW */
struct reg_access_hca_mrsi_ext mrsi_ext;
/* Description - */
/* 0x0.0 - 0x2c.31 */
/* access: RW */
struct reg_access_hca_mpein_reg_ext mpein_reg_ext;
/* Description - */
/* 0x0.0 - 0x40.31 */
/* access: RW */
struct reg_access_hca_ptys_reg_ext ptys_reg_ext;
/* Description - */
/* 0x0.0 - 0x3c.31 */
/* access: RW */
struct reg_access_hca_nic_dpa_perf_ctrl_reg_ext nic_dpa_perf_ctrl_reg_ext;
/* Description - */
/* 0x0.0 - 0x2c.31 */
/* access: RW */
struct reg_access_hca_mfsv_reg_ext mfsv_reg_ext;
/* Description - */
/* 0x0.0 - 0x78.31 */
/* access: RW */
struct reg_access_hca_mcqi_cap_ext mcqi_cap_ext;
/* Description - */
/* 0x0.0 - 0xfc.31 */
/* access: RW */
struct reg_access_hca_resource_dump_ext resource_dump_ext;
/* Description - */
/* 0x0.0 - 0xc.31 */
/* access: RW */
struct reg_access_hca_mcqs_reg_ext mcqs_reg_ext;
/* Description - */
/* 0x0.0 - 0x44.31 */
/* access: RW */
struct reg_access_hca_mcam_reg_ext mcam_reg_ext;
/* Description - */
/* 0x0.0 - 0x1c.31 */
/* access: RW */
struct reg_access_hca_mtdc_ext mtdc_ext;
/* Description - */
/* 0x0.0 - 0x78.31 */
/* access: RW */
struct reg_access_hca_mcqi_activation_method_ext mcqi_activation_method_ext;
/* Description - */
/* 0x0.0 - 0x2fc.31 */
/* access: RW */
struct reg_access_hca_nic_dpa_eu_partition_reg_ext nic_dpa_eu_partition_reg_ext;
/* Description - */
/* 0x0.0 - 0xc.31 */
/* access: RW */
struct reg_access_hca_mtcap_ext mtcap_ext;
/* Description - */
/* 0x0.0 - 0x1c.31 */
/* access: RW */
struct reg_access_hca_mfpa_reg_ext mfpa_reg_ext;
/* Description - */
/* 0x0.0 - 0x40.31 */
/* access: RW */
struct reg_access_hca_debug_cap debug_cap;
/* Description - */
/* 0x0.0 - 0x28.31 */
/* access: RW */
struct reg_access_hca_mpegc_reg_ext mpegc_reg_ext;
/* Description - */
/* 0x0.0 - 0x7c.31 */
/* access: RW */
struct reg_access_hca_nic_cap_ext_reg_ext nic_cap_ext_reg_ext;
/* Description - */
/* 0x0.0 - 0x8.31 */
/* access: RW */
struct reg_access_hca_mfbe_reg_ext mfbe_reg_ext;
/* Description - */
/* 0x0.0 - 0x4.31 */
/* access: RW */
struct reg_access_hca_mnvqc_reg_ext mnvqc_reg_ext;
/* Description - */
/* 0x0.0 - 0x8.31 */
/* access: RW */
struct reg_access_hca_mtrc_stdb_reg_ext mtrc_stdb_reg_ext;
/* Description - */
/* 0x0.0 - 0x1c.31 */
/* access: RW */
struct reg_access_hca_mroq_ext mroq_ext;
/* Description - */
/* 0x0.0 - 0x108.31 */
/* access: RW */
struct reg_access_hca_mfba_reg_ext mfba_reg_ext;
/* Description - */
/* 0x0.0 - 0x78.31 */
/* access: RW */
struct reg_access_hca_mcqi_linkx_properties_ext mcqi_linkx_properties_ext;
/* Description - */
/* 0x0.0 - 0xfc.31 */
/* access: RW */
struct reg_access_hca_nic_dpa_eug_reg_ext nic_dpa_eug_reg_ext;
/* Description - */
/* 0x0.0 - 0x9c.31 */
/* access: RW */
struct reg_access_hca_mgir_ext mgir_ext;
/* Description - */
/* 0x0.0 - 0x2c.31 */
/* access: RW */
struct reg_access_hca_mtie_ext mtie_ext;
/* Description - */
/* 0x0.0 - 0x8.31 */
/* access: RW */
struct reg_access_hca_mmdio_ext mmdio_ext;
/* Description - */
/* 0x0.0 - 0x1c.31 */
/* access: RW */
struct reg_access_hca_mcc_reg_ext mcc_reg_ext;
/* Description - */
/* 0x0.0 - 0x3c.31 */
/* access: RW */
struct reg_access_hca_mtrc_ctrl_reg_ext mtrc_ctrl_reg_ext;
/* Description - */
/* 0x0.0 - 0x3c.31 */
/* access: RW */
struct reg_access_hca_MRSV_ext MRSV_ext;
/* Description - */
/* 0x0.0 - 0x8c.31 */
/* access: RW */
struct reg_access_hca_mcda_reg_ext mcda_reg_ext;
/* Description - */
/* 0x0.0 - 0x2c.31 */
/* access: RW */
struct reg_access_hca_mteim_reg_ext mteim_reg_ext;
/* Description - */
/* 0x0.0 - 0xc.31 */
/* access: RW */
struct reg_access_hca_paos_reg_ext paos_reg_ext;
/* Description - */
/* 0x0.0 - 0x3c.31 */
/* access: RW */
struct reg_access_hca_dtor_reg_ext dtor_reg_ext;
/* Description - */
/* 0x0.0 - 0x4.31 */
/* access: RW */
struct reg_access_hca_mfrl_reg_ext mfrl_reg_ext;
/* Description - */
/* 0x0.0 - 0x5c.31 */
/* access: RW */
struct reg_access_hca_pguid_reg_ext pguid_reg_ext;
/* Description - */
/* 0x0.0 - 0xc.31 */
/* access: RW */
struct reg_access_hca_mtim_ext mtim_ext;
/* Description - */
/* 0x0.0 - 0x90.31 */
/* access: RW */
struct reg_access_hca_mcqi_reg_ext mcqi_reg_ext;
/* Description - */
/* 0x0.0 - 0x8.31 */
/* access: RW */
struct reg_access_hca_mnvdi_reg_ext mnvdi_reg_ext;
/* Description - */
/* 0x0.0 - 0xc.31 */
/* access: RW */
struct reg_access_hca_pmaos_reg_ext pmaos_reg_ext;
/* Description - */
/* 0x0.0 - 0x7c.31 */
/* access: RW */
struct reg_access_hca_mtrc_conf_reg_ext mtrc_conf_reg_ext;
/* Description - */
/* 0x0.0 - 0x8.31 */
/* access: RW */
struct reg_access_hca_pcnr_reg_ext pcnr_reg_ext;
/* Description - */
/* 0x0.0 - 0x1c.31 */
/* access: RW */
struct reg_access_hca_mtmp_ext mtmp_ext;
/* Description - */
/* 0x0.0 - 0x11c.31 */
/* access: RW */
struct reg_access_hca_misoc_reg_ext misoc_reg_ext;
/* Description - */
/* 0x0.0 - 0x78.31 */
/* access: RW */
struct reg_access_hca_mcqi_version_ext mcqi_version_ext;
/* Description - */
/* 0x0.0 - 0x14.31 */
/* access: RW */
struct reg_access_hca_mqis_reg_ext mqis_reg_ext;
/* Description - */
/* 0x0.0 - 0x3c.31 */
/* access: RW */
struct reg_access_hca_pmlp_reg_ext pmlp_reg_ext;
/* Description - */
/* 0x0.0 - 0xc.31 */
/* access: RW */
struct reg_access_hca_mnvgc_reg_ext mnvgc_reg_ext;
/* Description - */
/* 0x0.0 - 0x80.31 */
/* access: RW */
struct reg_access_hca_mtrc_cap_reg_ext mtrc_cap_reg_ext;
/* Description - */
/* 0x0.0 - 0x9c.31 */
/* access: RW */
struct reg_access_hca_mpcir_ext mpcir_ext;
/* Description - */
/* 0x0.0 - 0xc.31 */
/* access: RW */
struct reg_access_hca_mpir_ext mpir_ext;
/* Description - */
/* 0x0.0 - 0x4.31 */
/* access: RW */
struct reg_access_hca_mnvia_reg_ext mnvia_reg_ext;
};
/*================= PACK/UNPACK/PRINT FUNCTIONS ======================*/
/* configuration_item_type_class_file_ext */
void reg_access_hca_configuration_item_type_class_file_ext_pack(const struct reg_access_hca_configuration_item_type_class_file_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_file_ext_unpack(struct reg_access_hca_configuration_item_type_class_file_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_file_ext_print(const struct reg_access_hca_configuration_item_type_class_file_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_configuration_item_type_class_file_ext_size(void);
#define REG_ACCESS_HCA_CONFIGURATION_ITEM_TYPE_CLASS_FILE_EXT_SIZE (0x4)
void reg_access_hca_configuration_item_type_class_file_ext_dump(const struct reg_access_hca_configuration_item_type_class_file_ext *ptr_struct, FILE *fd);
/* configuration_item_type_class_global_ext */
void reg_access_hca_configuration_item_type_class_global_ext_pack(const struct reg_access_hca_configuration_item_type_class_global_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_global_ext_unpack(struct reg_access_hca_configuration_item_type_class_global_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_global_ext_print(const struct reg_access_hca_configuration_item_type_class_global_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_configuration_item_type_class_global_ext_size(void);
#define REG_ACCESS_HCA_CONFIGURATION_ITEM_TYPE_CLASS_GLOBAL_EXT_SIZE (0x4)
void reg_access_hca_configuration_item_type_class_global_ext_dump(const struct reg_access_hca_configuration_item_type_class_global_ext *ptr_struct, FILE *fd);
/* configuration_item_type_class_host_ext */
void reg_access_hca_configuration_item_type_class_host_ext_pack(const struct reg_access_hca_configuration_item_type_class_host_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_host_ext_unpack(struct reg_access_hca_configuration_item_type_class_host_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_host_ext_print(const struct reg_access_hca_configuration_item_type_class_host_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_configuration_item_type_class_host_ext_size(void);
#define REG_ACCESS_HCA_CONFIGURATION_ITEM_TYPE_CLASS_HOST_EXT_SIZE (0x4)
void reg_access_hca_configuration_item_type_class_host_ext_dump(const struct reg_access_hca_configuration_item_type_class_host_ext *ptr_struct, FILE *fd);
/* configuration_item_type_class_log_ext */
void reg_access_hca_configuration_item_type_class_log_ext_pack(const struct reg_access_hca_configuration_item_type_class_log_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_log_ext_unpack(struct reg_access_hca_configuration_item_type_class_log_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_log_ext_print(const struct reg_access_hca_configuration_item_type_class_log_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_configuration_item_type_class_log_ext_size(void);
#define REG_ACCESS_HCA_CONFIGURATION_ITEM_TYPE_CLASS_LOG_EXT_SIZE (0x4)
void reg_access_hca_configuration_item_type_class_log_ext_dump(const struct reg_access_hca_configuration_item_type_class_log_ext *ptr_struct, FILE *fd);
/* configuration_item_type_class_module_ext */
void reg_access_hca_configuration_item_type_class_module_ext_pack(const struct reg_access_hca_configuration_item_type_class_module_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_module_ext_unpack(struct reg_access_hca_configuration_item_type_class_module_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_module_ext_print(const struct reg_access_hca_configuration_item_type_class_module_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_configuration_item_type_class_module_ext_size(void);
#define REG_ACCESS_HCA_CONFIGURATION_ITEM_TYPE_CLASS_MODULE_EXT_SIZE (0x4)
void reg_access_hca_configuration_item_type_class_module_ext_dump(const struct reg_access_hca_configuration_item_type_class_module_ext *ptr_struct, FILE *fd);
/* configuration_item_type_class_multi_instance_ext */
void reg_access_hca_configuration_item_type_class_multi_instance_ext_pack(const struct reg_access_hca_configuration_item_type_class_multi_instance_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_multi_instance_ext_unpack(struct reg_access_hca_configuration_item_type_class_multi_instance_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_multi_instance_ext_print(const struct reg_access_hca_configuration_item_type_class_multi_instance_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_configuration_item_type_class_multi_instance_ext_size(void);
#define REG_ACCESS_HCA_CONFIGURATION_ITEM_TYPE_CLASS_MULTI_INSTANCE_EXT_SIZE (0x4)
void reg_access_hca_configuration_item_type_class_multi_instance_ext_dump(const struct reg_access_hca_configuration_item_type_class_multi_instance_ext *ptr_struct, FILE *fd);
/* configuration_item_type_class_per_host_pf_ext */
void reg_access_hca_configuration_item_type_class_per_host_pf_ext_pack(const struct reg_access_hca_configuration_item_type_class_per_host_pf_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_per_host_pf_ext_unpack(struct reg_access_hca_configuration_item_type_class_per_host_pf_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_per_host_pf_ext_print(const struct reg_access_hca_configuration_item_type_class_per_host_pf_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_configuration_item_type_class_per_host_pf_ext_size(void);
#define REG_ACCESS_HCA_CONFIGURATION_ITEM_TYPE_CLASS_PER_HOST_PF_EXT_SIZE (0x4)
void reg_access_hca_configuration_item_type_class_per_host_pf_ext_dump(const struct reg_access_hca_configuration_item_type_class_per_host_pf_ext *ptr_struct, FILE *fd);
/* configuration_item_type_class_physical_port_ext */
void reg_access_hca_configuration_item_type_class_physical_port_ext_pack(const struct reg_access_hca_configuration_item_type_class_physical_port_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_physical_port_ext_unpack(struct reg_access_hca_configuration_item_type_class_physical_port_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_configuration_item_type_class_physical_port_ext_print(const struct reg_access_hca_configuration_item_type_class_physical_port_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_configuration_item_type_class_physical_port_ext_size(void);
#define REG_ACCESS_HCA_CONFIGURATION_ITEM_TYPE_CLASS_PHYSICAL_PORT_EXT_SIZE (0x4)
void reg_access_hca_configuration_item_type_class_physical_port_ext_dump(const struct reg_access_hca_configuration_item_type_class_physical_port_ext *ptr_struct, FILE *fd);
/* date_time_layout_ext */
void reg_access_hca_date_time_layout_ext_pack(const struct reg_access_hca_date_time_layout_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_date_time_layout_ext_unpack(struct reg_access_hca_date_time_layout_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_date_time_layout_ext_print(const struct reg_access_hca_date_time_layout_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_date_time_layout_ext_size(void);
#define REG_ACCESS_HCA_DATE_TIME_LAYOUT_EXT_SIZE (0x8)
void reg_access_hca_date_time_layout_ext_dump(const struct reg_access_hca_date_time_layout_ext *ptr_struct, FILE *fd);
/* mcqi_dpa_metadata_ext */
void reg_access_hca_mcqi_dpa_metadata_ext_pack(const struct reg_access_hca_mcqi_dpa_metadata_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mcqi_dpa_metadata_ext_unpack(struct reg_access_hca_mcqi_dpa_metadata_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mcqi_dpa_metadata_ext_print(const struct reg_access_hca_mcqi_dpa_metadata_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mcqi_dpa_metadata_ext_size(void);
#define REG_ACCESS_HCA_MCQI_DPA_METADATA_EXT_SIZE (0x68)
void reg_access_hca_mcqi_dpa_metadata_ext_dump(const struct reg_access_hca_mcqi_dpa_metadata_ext *ptr_struct, FILE *fd);
/* MRSV_CX_7_Value_ext */
void reg_access_hca_MRSV_CX_7_Value_ext_pack(const struct reg_access_hca_MRSV_CX_7_Value_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_MRSV_CX_7_Value_ext_unpack(struct reg_access_hca_MRSV_CX_7_Value_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_MRSV_CX_7_Value_ext_print(const struct reg_access_hca_MRSV_CX_7_Value_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_MRSV_CX_7_Value_ext_size(void);
#define REG_ACCESS_HCA_MRSV_CX_7_VALUE_EXT_SIZE (0x20)
void reg_access_hca_MRSV_CX_7_Value_ext_dump(const struct reg_access_hca_MRSV_CX_7_Value_ext *ptr_struct, FILE *fd);
/* config_item_type_auto_ext */
void reg_access_hca_config_item_type_auto_ext_pack(const union reg_access_hca_config_item_type_auto_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_config_item_type_auto_ext_unpack(union reg_access_hca_config_item_type_auto_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_config_item_type_auto_ext_print(const union reg_access_hca_config_item_type_auto_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_config_item_type_auto_ext_size(void);
#define REG_ACCESS_HCA_CONFIG_ITEM_TYPE_AUTO_EXT_SIZE (0x4)
void reg_access_hca_config_item_type_auto_ext_dump(const union reg_access_hca_config_item_type_auto_ext *ptr_struct, FILE *fd);
/* mcqi_activation_method_ext */
void reg_access_hca_mcqi_activation_method_ext_pack(const struct reg_access_hca_mcqi_activation_method_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mcqi_activation_method_ext_unpack(struct reg_access_hca_mcqi_activation_method_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mcqi_activation_method_ext_print(const struct reg_access_hca_mcqi_activation_method_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mcqi_activation_method_ext_size(void);
#define REG_ACCESS_HCA_MCQI_ACTIVATION_METHOD_EXT_SIZE (0x7c)
void reg_access_hca_mcqi_activation_method_ext_dump(const struct reg_access_hca_mcqi_activation_method_ext *ptr_struct, FILE *fd);
/* mcqi_cap_ext */
void reg_access_hca_mcqi_cap_ext_pack(const struct reg_access_hca_mcqi_cap_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mcqi_cap_ext_unpack(struct reg_access_hca_mcqi_cap_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mcqi_cap_ext_print(const struct reg_access_hca_mcqi_cap_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mcqi_cap_ext_size(void);
#define REG_ACCESS_HCA_MCQI_CAP_EXT_SIZE (0x7c)
void reg_access_hca_mcqi_cap_ext_dump(const struct reg_access_hca_mcqi_cap_ext *ptr_struct, FILE *fd);
/* mcqi_clock_source_properties_ext */
void reg_access_hca_mcqi_clock_source_properties_ext_pack(const struct reg_access_hca_mcqi_clock_source_properties_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mcqi_clock_source_properties_ext_unpack(struct reg_access_hca_mcqi_clock_source_properties_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mcqi_clock_source_properties_ext_print(const struct reg_access_hca_mcqi_clock_source_properties_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mcqi_clock_source_properties_ext_size(void);
#define REG_ACCESS_HCA_MCQI_CLOCK_SOURCE_PROPERTIES_EXT_SIZE (0x4)
void reg_access_hca_mcqi_clock_source_properties_ext_dump(const struct reg_access_hca_mcqi_clock_source_properties_ext *ptr_struct, FILE *fd);
/* mcqi_dpa_apps_info_ext */
void reg_access_hca_mcqi_dpa_apps_info_ext_pack(const struct reg_access_hca_mcqi_dpa_apps_info_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mcqi_dpa_apps_info_ext_unpack(struct reg_access_hca_mcqi_dpa_apps_info_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mcqi_dpa_apps_info_ext_print(const struct reg_access_hca_mcqi_dpa_apps_info_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mcqi_dpa_apps_info_ext_size(void);
#define REG_ACCESS_HCA_MCQI_DPA_APPS_INFO_EXT_SIZE (0x70)
void reg_access_hca_mcqi_dpa_apps_info_ext_dump(const struct reg_access_hca_mcqi_dpa_apps_info_ext *ptr_struct, FILE *fd);
/* mcqi_linkx_properties_ext */
void reg_access_hca_mcqi_linkx_properties_ext_pack(const struct reg_access_hca_mcqi_linkx_properties_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mcqi_linkx_properties_ext_unpack(struct reg_access_hca_mcqi_linkx_properties_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mcqi_linkx_properties_ext_print(const struct reg_access_hca_mcqi_linkx_properties_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mcqi_linkx_properties_ext_size(void);
#define REG_ACCESS_HCA_MCQI_LINKX_PROPERTIES_EXT_SIZE (0x7c)
void reg_access_hca_mcqi_linkx_properties_ext_dump(const struct reg_access_hca_mcqi_linkx_properties_ext *ptr_struct, FILE *fd);
/* mcqi_version_ext */
void reg_access_hca_mcqi_version_ext_pack(const struct reg_access_hca_mcqi_version_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mcqi_version_ext_unpack(struct reg_access_hca_mcqi_version_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mcqi_version_ext_print(const struct reg_access_hca_mcqi_version_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mcqi_version_ext_size(void);
#define REG_ACCESS_HCA_MCQI_VERSION_EXT_SIZE (0x7c)
void reg_access_hca_mcqi_version_ext_dump(const struct reg_access_hca_mcqi_version_ext *ptr_struct, FILE *fd);
/* nic_cap_ext_dpa_cap_ext */
void reg_access_hca_nic_cap_ext_dpa_cap_ext_pack(const struct reg_access_hca_nic_cap_ext_dpa_cap_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_nic_cap_ext_dpa_cap_ext_unpack(struct reg_access_hca_nic_cap_ext_dpa_cap_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_nic_cap_ext_dpa_cap_ext_print(const struct reg_access_hca_nic_cap_ext_dpa_cap_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_nic_cap_ext_dpa_cap_ext_size(void);
#define REG_ACCESS_HCA_NIC_CAP_EXT_DPA_CAP_EXT_SIZE (0x70)
void reg_access_hca_nic_cap_ext_dpa_cap_ext_dump(const struct reg_access_hca_nic_cap_ext_dpa_cap_ext *ptr_struct, FILE *fd);
/* rom_version_ext */
void reg_access_hca_rom_version_ext_pack(const struct reg_access_hca_rom_version_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_rom_version_ext_unpack(struct reg_access_hca_rom_version_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_rom_version_ext_print(const struct reg_access_hca_rom_version_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_rom_version_ext_size(void);
#define REG_ACCESS_HCA_ROM_VERSION_EXT_SIZE (0x4)
void reg_access_hca_rom_version_ext_dump(const struct reg_access_hca_rom_version_ext *ptr_struct, FILE *fd);
/* MRSV_data_auto_ext */
void reg_access_hca_MRSV_data_auto_ext_pack(const union reg_access_hca_MRSV_data_auto_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_MRSV_data_auto_ext_unpack(union reg_access_hca_MRSV_data_auto_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_MRSV_data_auto_ext_print(const union reg_access_hca_MRSV_data_auto_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_MRSV_data_auto_ext_size(void);
#define REG_ACCESS_HCA_MRSV_DATA_AUTO_EXT_SIZE (0x20)
void reg_access_hca_MRSV_data_auto_ext_dump(const union reg_access_hca_MRSV_data_auto_ext *ptr_struct, FILE *fd);
/* config_item_ext */
void reg_access_hca_config_item_ext_pack(const struct reg_access_hca_config_item_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_config_item_ext_unpack(struct reg_access_hca_config_item_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_config_item_ext_print(const struct reg_access_hca_config_item_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_config_item_ext_size(void);
#define REG_ACCESS_HCA_CONFIG_ITEM_EXT_SIZE (0xc)
void reg_access_hca_config_item_ext_dump(const struct reg_access_hca_config_item_ext *ptr_struct, FILE *fd);
/* default_timeout_ext */
void reg_access_hca_default_timeout_ext_pack(const struct reg_access_hca_default_timeout_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_default_timeout_ext_unpack(struct reg_access_hca_default_timeout_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_default_timeout_ext_print(const struct reg_access_hca_default_timeout_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_default_timeout_ext_size(void);
#define REG_ACCESS_HCA_DEFAULT_TIMEOUT_EXT_SIZE (0x4)
void reg_access_hca_default_timeout_ext_dump(const struct reg_access_hca_default_timeout_ext *ptr_struct, FILE *fd);
/* diagnostic_cntr_layout */
void reg_access_hca_diagnostic_cntr_layout_pack(const struct reg_access_hca_diagnostic_cntr_layout *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_diagnostic_cntr_layout_unpack(struct reg_access_hca_diagnostic_cntr_layout *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_diagnostic_cntr_layout_print(const struct reg_access_hca_diagnostic_cntr_layout *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_diagnostic_cntr_layout_size(void);
#define REG_ACCESS_HCA_DIAGNOSTIC_CNTR_LAYOUT_SIZE (0x4)
void reg_access_hca_diagnostic_cntr_layout_dump(const struct reg_access_hca_diagnostic_cntr_layout *ptr_struct, FILE *fd);
/* lane_2_module_mapping_ext */
void reg_access_hca_lane_2_module_mapping_ext_pack(const struct reg_access_hca_lane_2_module_mapping_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_lane_2_module_mapping_ext_unpack(struct reg_access_hca_lane_2_module_mapping_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_lane_2_module_mapping_ext_print(const struct reg_access_hca_lane_2_module_mapping_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_lane_2_module_mapping_ext_size(void);
#define REG_ACCESS_HCA_LANE_2_MODULE_MAPPING_EXT_SIZE (0x4)
void reg_access_hca_lane_2_module_mapping_ext_dump(const struct reg_access_hca_lane_2_module_mapping_ext *ptr_struct, FILE *fd);
/* mcqi_reg_data_auto_ext */
void reg_access_hca_mcqi_reg_data_auto_ext_pack(const union reg_access_hca_mcqi_reg_data_auto_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mcqi_reg_data_auto_ext_unpack(union reg_access_hca_mcqi_reg_data_auto_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mcqi_reg_data_auto_ext_print(const union reg_access_hca_mcqi_reg_data_auto_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mcqi_reg_data_auto_ext_size(void);
#define REG_ACCESS_HCA_MCQI_REG_DATA_AUTO_EXT_SIZE (0x7c)
void reg_access_hca_mcqi_reg_data_auto_ext_dump(const union reg_access_hca_mcqi_reg_data_auto_ext *ptr_struct, FILE *fd);
/* mgir_dev_info_ext */
void reg_access_hca_mgir_dev_info_ext_pack(const struct reg_access_hca_mgir_dev_info_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mgir_dev_info_ext_unpack(struct reg_access_hca_mgir_dev_info_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mgir_dev_info_ext_print(const struct reg_access_hca_mgir_dev_info_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mgir_dev_info_ext_size(void);
#define REG_ACCESS_HCA_MGIR_DEV_INFO_EXT_SIZE (0x1c)
void reg_access_hca_mgir_dev_info_ext_dump(const struct reg_access_hca_mgir_dev_info_ext *ptr_struct, FILE *fd);
/* mgir_fw_info_ext */
void reg_access_hca_mgir_fw_info_ext_pack(const struct reg_access_hca_mgir_fw_info_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mgir_fw_info_ext_unpack(struct reg_access_hca_mgir_fw_info_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mgir_fw_info_ext_print(const struct reg_access_hca_mgir_fw_info_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mgir_fw_info_ext_size(void);
#define REG_ACCESS_HCA_MGIR_FW_INFO_EXT_SIZE (0x40)
void reg_access_hca_mgir_fw_info_ext_dump(const struct reg_access_hca_mgir_fw_info_ext *ptr_struct, FILE *fd);
/* mgir_hardware_info_ext */
void reg_access_hca_mgir_hardware_info_ext_pack(const struct reg_access_hca_mgir_hardware_info_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mgir_hardware_info_ext_unpack(struct reg_access_hca_mgir_hardware_info_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mgir_hardware_info_ext_print(const struct reg_access_hca_mgir_hardware_info_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mgir_hardware_info_ext_size(void);
#define REG_ACCESS_HCA_MGIR_HARDWARE_INFO_EXT_SIZE (0x20)
void reg_access_hca_mgir_hardware_info_ext_dump(const struct reg_access_hca_mgir_hardware_info_ext *ptr_struct, FILE *fd);
/* mgir_sw_info_ext */
void reg_access_hca_mgir_sw_info_ext_pack(const struct reg_access_hca_mgir_sw_info_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mgir_sw_info_ext_unpack(struct reg_access_hca_mgir_sw_info_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mgir_sw_info_ext_print(const struct reg_access_hca_mgir_sw_info_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mgir_sw_info_ext_size(void);
#define REG_ACCESS_HCA_MGIR_SW_INFO_EXT_SIZE (0x20)
void reg_access_hca_mgir_sw_info_ext_dump(const struct reg_access_hca_mgir_sw_info_ext *ptr_struct, FILE *fd);
/* nic_cap_ext_reg_cap_data_auto_ext */
void reg_access_hca_nic_cap_ext_reg_cap_data_auto_ext_pack(const union reg_access_hca_nic_cap_ext_reg_cap_data_auto_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_nic_cap_ext_reg_cap_data_auto_ext_unpack(union reg_access_hca_nic_cap_ext_reg_cap_data_auto_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_nic_cap_ext_reg_cap_data_auto_ext_print(const union reg_access_hca_nic_cap_ext_reg_cap_data_auto_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_nic_cap_ext_reg_cap_data_auto_ext_size(void);
#define REG_ACCESS_HCA_NIC_CAP_EXT_REG_CAP_DATA_AUTO_EXT_SIZE (0x70)
void reg_access_hca_nic_cap_ext_reg_cap_data_auto_ext_dump(const union reg_access_hca_nic_cap_ext_reg_cap_data_auto_ext *ptr_struct, FILE *fd);
/* string_db_parameters_ext */
void reg_access_hca_string_db_parameters_ext_pack(const struct reg_access_hca_string_db_parameters_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_string_db_parameters_ext_unpack(struct reg_access_hca_string_db_parameters_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_string_db_parameters_ext_print(const struct reg_access_hca_string_db_parameters_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_string_db_parameters_ext_size(void);
#define REG_ACCESS_HCA_STRING_DB_PARAMETERS_EXT_SIZE (0x8)
void reg_access_hca_string_db_parameters_ext_dump(const struct reg_access_hca_string_db_parameters_ext *ptr_struct, FILE *fd);
/* uint64 */
void reg_access_hca_uint64_pack(const u_int64_t *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_uint64_unpack(u_int64_t *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_uint64_print(const u_int64_t *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_uint64_size(void);
#define REG_ACCESS_HCA_UINT64_SIZE (0x8)
void reg_access_hca_uint64_dump(const u_int64_t *ptr_struct, FILE *fd);
/* MRSV_ext */
void reg_access_hca_MRSV_ext_pack(const struct reg_access_hca_MRSV_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_MRSV_ext_unpack(struct reg_access_hca_MRSV_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_MRSV_ext_print(const struct reg_access_hca_MRSV_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_MRSV_ext_size(void);
#define REG_ACCESS_HCA_MRSV_EXT_SIZE (0x40)
void reg_access_hca_MRSV_ext_dump(const struct reg_access_hca_MRSV_ext *ptr_struct, FILE *fd);
/* debug_cap */
void reg_access_hca_debug_cap_pack(const struct reg_access_hca_debug_cap *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_debug_cap_unpack(struct reg_access_hca_debug_cap *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_debug_cap_print(const struct reg_access_hca_debug_cap *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_debug_cap_size(void);
#define REG_ACCESS_HCA_DEBUG_CAP_SIZE (0x40)
void reg_access_hca_debug_cap_dump(const struct reg_access_hca_debug_cap *ptr_struct, FILE *fd);
/* dtor_reg_ext */
void reg_access_hca_dtor_reg_ext_pack(const struct reg_access_hca_dtor_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_dtor_reg_ext_unpack(struct reg_access_hca_dtor_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_dtor_reg_ext_print(const struct reg_access_hca_dtor_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_dtor_reg_ext_size(void);
#define REG_ACCESS_HCA_DTOR_REG_EXT_SIZE (0x40)
void reg_access_hca_dtor_reg_ext_dump(const struct reg_access_hca_dtor_reg_ext *ptr_struct, FILE *fd);
/* mcam_reg_ext */
void reg_access_hca_mcam_reg_ext_pack(const struct reg_access_hca_mcam_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mcam_reg_ext_unpack(struct reg_access_hca_mcam_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mcam_reg_ext_print(const struct reg_access_hca_mcam_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mcam_reg_ext_size(void);
#define REG_ACCESS_HCA_MCAM_REG_EXT_SIZE (0x48)
void reg_access_hca_mcam_reg_ext_dump(const struct reg_access_hca_mcam_reg_ext *ptr_struct, FILE *fd);
/* mcc_reg_ext */
void reg_access_hca_mcc_reg_ext_pack(const struct reg_access_hca_mcc_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mcc_reg_ext_unpack(struct reg_access_hca_mcc_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mcc_reg_ext_print(const struct reg_access_hca_mcc_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mcc_reg_ext_size(void);
#define REG_ACCESS_HCA_MCC_REG_EXT_SIZE (0x20)
void reg_access_hca_mcc_reg_ext_dump(const struct reg_access_hca_mcc_reg_ext *ptr_struct, FILE *fd);
/* mcda_reg_ext */
void reg_access_hca_mcda_reg_ext_pack(const struct reg_access_hca_mcda_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mcda_reg_ext_unpack(struct reg_access_hca_mcda_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mcda_reg_ext_print(const struct reg_access_hca_mcda_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mcda_reg_ext_size(void);
#define REG_ACCESS_HCA_MCDA_REG_EXT_SIZE (0x90)
void reg_access_hca_mcda_reg_ext_dump(const struct reg_access_hca_mcda_reg_ext *ptr_struct, FILE *fd);
/* mcqi_reg_ext */
void reg_access_hca_mcqi_reg_ext_pack(const struct reg_access_hca_mcqi_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mcqi_reg_ext_unpack(struct reg_access_hca_mcqi_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mcqi_reg_ext_print(const struct reg_access_hca_mcqi_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mcqi_reg_ext_size(void);
#define REG_ACCESS_HCA_MCQI_REG_EXT_SIZE (0x94)
void reg_access_hca_mcqi_reg_ext_dump(const struct reg_access_hca_mcqi_reg_ext *ptr_struct, FILE *fd);
/* mcqs_reg_ext */
void reg_access_hca_mcqs_reg_ext_pack(const struct reg_access_hca_mcqs_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mcqs_reg_ext_unpack(struct reg_access_hca_mcqs_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mcqs_reg_ext_print(const struct reg_access_hca_mcqs_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mcqs_reg_ext_size(void);
#define REG_ACCESS_HCA_MCQS_REG_EXT_SIZE (0x10)
void reg_access_hca_mcqs_reg_ext_dump(const struct reg_access_hca_mcqs_reg_ext *ptr_struct, FILE *fd);
/* mfba_reg_ext */
void reg_access_hca_mfba_reg_ext_pack(const struct reg_access_hca_mfba_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mfba_reg_ext_unpack(struct reg_access_hca_mfba_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mfba_reg_ext_print(const struct reg_access_hca_mfba_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mfba_reg_ext_size(void);
#define REG_ACCESS_HCA_MFBA_REG_EXT_SIZE (0x10c)
void reg_access_hca_mfba_reg_ext_dump(const struct reg_access_hca_mfba_reg_ext *ptr_struct, FILE *fd);
/* mfbe_reg_ext */
void reg_access_hca_mfbe_reg_ext_pack(const struct reg_access_hca_mfbe_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mfbe_reg_ext_unpack(struct reg_access_hca_mfbe_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mfbe_reg_ext_print(const struct reg_access_hca_mfbe_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mfbe_reg_ext_size(void);
#define REG_ACCESS_HCA_MFBE_REG_EXT_SIZE (0xc)
void reg_access_hca_mfbe_reg_ext_dump(const struct reg_access_hca_mfbe_reg_ext *ptr_struct, FILE *fd);
/* mfpa_reg_ext */
void reg_access_hca_mfpa_reg_ext_pack(const struct reg_access_hca_mfpa_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mfpa_reg_ext_unpack(struct reg_access_hca_mfpa_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mfpa_reg_ext_print(const struct reg_access_hca_mfpa_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mfpa_reg_ext_size(void);
#define REG_ACCESS_HCA_MFPA_REG_EXT_SIZE (0x20)
void reg_access_hca_mfpa_reg_ext_dump(const struct reg_access_hca_mfpa_reg_ext *ptr_struct, FILE *fd);
/* mfrl_reg_ext */
void reg_access_hca_mfrl_reg_ext_pack(const struct reg_access_hca_mfrl_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mfrl_reg_ext_unpack(struct reg_access_hca_mfrl_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mfrl_reg_ext_print(const struct reg_access_hca_mfrl_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mfrl_reg_ext_size(void);
#define REG_ACCESS_HCA_MFRL_REG_EXT_SIZE (0x8)
void reg_access_hca_mfrl_reg_ext_dump(const struct reg_access_hca_mfrl_reg_ext *ptr_struct, FILE *fd);
/* mfsv_reg_ext */
void reg_access_hca_mfsv_reg_ext_pack(const struct reg_access_hca_mfsv_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mfsv_reg_ext_unpack(struct reg_access_hca_mfsv_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mfsv_reg_ext_print(const struct reg_access_hca_mfsv_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mfsv_reg_ext_size(void);
#define REG_ACCESS_HCA_MFSV_REG_EXT_SIZE (0x30)
void reg_access_hca_mfsv_reg_ext_dump(const struct reg_access_hca_mfsv_reg_ext *ptr_struct, FILE *fd);
/* mgir_ext */
void reg_access_hca_mgir_ext_pack(const struct reg_access_hca_mgir_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mgir_ext_unpack(struct reg_access_hca_mgir_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mgir_ext_print(const struct reg_access_hca_mgir_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mgir_ext_size(void);
#define REG_ACCESS_HCA_MGIR_EXT_SIZE (0xa0)
void reg_access_hca_mgir_ext_dump(const struct reg_access_hca_mgir_ext *ptr_struct, FILE *fd);
/* misoc_reg_ext */
void reg_access_hca_misoc_reg_ext_pack(const struct reg_access_hca_misoc_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_misoc_reg_ext_unpack(struct reg_access_hca_misoc_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_misoc_reg_ext_print(const struct reg_access_hca_misoc_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_misoc_reg_ext_size(void);
#define REG_ACCESS_HCA_MISOC_REG_EXT_SIZE (0x120)
void reg_access_hca_misoc_reg_ext_dump(const struct reg_access_hca_misoc_reg_ext *ptr_struct, FILE *fd);
/* mmdio_ext */
void reg_access_hca_mmdio_ext_pack(const struct reg_access_hca_mmdio_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mmdio_ext_unpack(struct reg_access_hca_mmdio_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mmdio_ext_print(const struct reg_access_hca_mmdio_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mmdio_ext_size(void);
#define REG_ACCESS_HCA_MMDIO_EXT_SIZE (0xc)
void reg_access_hca_mmdio_ext_dump(const struct reg_access_hca_mmdio_ext *ptr_struct, FILE *fd);
/* mnvdi_reg_ext */
void reg_access_hca_mnvdi_reg_ext_pack(const struct reg_access_hca_mnvdi_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mnvdi_reg_ext_unpack(struct reg_access_hca_mnvdi_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mnvdi_reg_ext_print(const struct reg_access_hca_mnvdi_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mnvdi_reg_ext_size(void);
#define REG_ACCESS_HCA_MNVDI_REG_EXT_SIZE (0xc)
void reg_access_hca_mnvdi_reg_ext_dump(const struct reg_access_hca_mnvdi_reg_ext *ptr_struct, FILE *fd);
/* mnvgc_reg_ext */
void reg_access_hca_mnvgc_reg_ext_pack(const struct reg_access_hca_mnvgc_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mnvgc_reg_ext_unpack(struct reg_access_hca_mnvgc_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mnvgc_reg_ext_print(const struct reg_access_hca_mnvgc_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mnvgc_reg_ext_size(void);
#define REG_ACCESS_HCA_MNVGC_REG_EXT_SIZE (0x10)
void reg_access_hca_mnvgc_reg_ext_dump(const struct reg_access_hca_mnvgc_reg_ext *ptr_struct, FILE *fd);
/* mnvia_reg_ext */
void reg_access_hca_mnvia_reg_ext_pack(const struct reg_access_hca_mnvia_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mnvia_reg_ext_unpack(struct reg_access_hca_mnvia_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mnvia_reg_ext_print(const struct reg_access_hca_mnvia_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mnvia_reg_ext_size(void);
#define REG_ACCESS_HCA_MNVIA_REG_EXT_SIZE (0x8)
void reg_access_hca_mnvia_reg_ext_dump(const struct reg_access_hca_mnvia_reg_ext *ptr_struct, FILE *fd);
/* mnvqc_reg_ext */
void reg_access_hca_mnvqc_reg_ext_pack(const struct reg_access_hca_mnvqc_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mnvqc_reg_ext_unpack(struct reg_access_hca_mnvqc_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mnvqc_reg_ext_print(const struct reg_access_hca_mnvqc_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mnvqc_reg_ext_size(void);
#define REG_ACCESS_HCA_MNVQC_REG_EXT_SIZE (0x8)
void reg_access_hca_mnvqc_reg_ext_dump(const struct reg_access_hca_mnvqc_reg_ext *ptr_struct, FILE *fd);
/* mpcir_ext */
void reg_access_hca_mpcir_ext_pack(const struct reg_access_hca_mpcir_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mpcir_ext_unpack(struct reg_access_hca_mpcir_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mpcir_ext_print(const struct reg_access_hca_mpcir_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mpcir_ext_size(void);
#define REG_ACCESS_HCA_MPCIR_EXT_SIZE (0xa0)
void reg_access_hca_mpcir_ext_dump(const struct reg_access_hca_mpcir_ext *ptr_struct, FILE *fd);
/* mpegc_reg_ext */
void reg_access_hca_mpegc_reg_ext_pack(const struct reg_access_hca_mpegc_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mpegc_reg_ext_unpack(struct reg_access_hca_mpegc_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mpegc_reg_ext_print(const struct reg_access_hca_mpegc_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mpegc_reg_ext_size(void);
#define REG_ACCESS_HCA_MPEGC_REG_EXT_SIZE (0x2c)
void reg_access_hca_mpegc_reg_ext_dump(const struct reg_access_hca_mpegc_reg_ext *ptr_struct, FILE *fd);
/* mpein_reg_ext */
void reg_access_hca_mpein_reg_ext_pack(const struct reg_access_hca_mpein_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mpein_reg_ext_unpack(struct reg_access_hca_mpein_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mpein_reg_ext_print(const struct reg_access_hca_mpein_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mpein_reg_ext_size(void);
#define REG_ACCESS_HCA_MPEIN_REG_EXT_SIZE (0x30)
void reg_access_hca_mpein_reg_ext_dump(const struct reg_access_hca_mpein_reg_ext *ptr_struct, FILE *fd);
/* mpir_ext */
void reg_access_hca_mpir_ext_pack(const struct reg_access_hca_mpir_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mpir_ext_unpack(struct reg_access_hca_mpir_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mpir_ext_print(const struct reg_access_hca_mpir_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mpir_ext_size(void);
#define REG_ACCESS_HCA_MPIR_EXT_SIZE (0x10)
void reg_access_hca_mpir_ext_dump(const struct reg_access_hca_mpir_ext *ptr_struct, FILE *fd);
/* mqis_reg_ext */
void reg_access_hca_mqis_reg_ext_pack(const struct reg_access_hca_mqis_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mqis_reg_ext_unpack(struct reg_access_hca_mqis_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mqis_reg_ext_print(const struct reg_access_hca_mqis_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mqis_reg_ext_size(void);
#define REG_ACCESS_HCA_MQIS_REG_EXT_SIZE (0x18)
void reg_access_hca_mqis_reg_ext_dump(const struct reg_access_hca_mqis_reg_ext *ptr_struct, FILE *fd);
/* mroq_ext */
void reg_access_hca_mroq_ext_pack(const struct reg_access_hca_mroq_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mroq_ext_unpack(struct reg_access_hca_mroq_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mroq_ext_print(const struct reg_access_hca_mroq_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mroq_ext_size(void);
#define REG_ACCESS_HCA_MROQ_EXT_SIZE (0x20)
void reg_access_hca_mroq_ext_dump(const struct reg_access_hca_mroq_ext *ptr_struct, FILE *fd);
/* mrsi_ext */
void reg_access_hca_mrsi_ext_pack(const struct reg_access_hca_mrsi_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mrsi_ext_unpack(struct reg_access_hca_mrsi_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mrsi_ext_print(const struct reg_access_hca_mrsi_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mrsi_ext_size(void);
#define REG_ACCESS_HCA_MRSI_EXT_SIZE (0x40)
void reg_access_hca_mrsi_ext_dump(const struct reg_access_hca_mrsi_ext *ptr_struct, FILE *fd);
/* mtcap_ext */
void reg_access_hca_mtcap_ext_pack(const struct reg_access_hca_mtcap_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mtcap_ext_unpack(struct reg_access_hca_mtcap_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mtcap_ext_print(const struct reg_access_hca_mtcap_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mtcap_ext_size(void);
#define REG_ACCESS_HCA_MTCAP_EXT_SIZE (0x10)
void reg_access_hca_mtcap_ext_dump(const struct reg_access_hca_mtcap_ext *ptr_struct, FILE *fd);
/* mtdc_ext */
void reg_access_hca_mtdc_ext_pack(const struct reg_access_hca_mtdc_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mtdc_ext_unpack(struct reg_access_hca_mtdc_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mtdc_ext_print(const struct reg_access_hca_mtdc_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mtdc_ext_size(void);
#define REG_ACCESS_HCA_MTDC_EXT_SIZE (0x20)
void reg_access_hca_mtdc_ext_dump(const struct reg_access_hca_mtdc_ext *ptr_struct, FILE *fd);
/* mteim_reg_ext */
void reg_access_hca_mteim_reg_ext_pack(const struct reg_access_hca_mteim_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mteim_reg_ext_unpack(struct reg_access_hca_mteim_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mteim_reg_ext_print(const struct reg_access_hca_mteim_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mteim_reg_ext_size(void);
#define REG_ACCESS_HCA_MTEIM_REG_EXT_SIZE (0x30)
void reg_access_hca_mteim_reg_ext_dump(const struct reg_access_hca_mteim_reg_ext *ptr_struct, FILE *fd);
/* mtie_ext */
void reg_access_hca_mtie_ext_pack(const struct reg_access_hca_mtie_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mtie_ext_unpack(struct reg_access_hca_mtie_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mtie_ext_print(const struct reg_access_hca_mtie_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mtie_ext_size(void);
#define REG_ACCESS_HCA_MTIE_EXT_SIZE (0x30)
void reg_access_hca_mtie_ext_dump(const struct reg_access_hca_mtie_ext *ptr_struct, FILE *fd);
/* mtim_ext */
void reg_access_hca_mtim_ext_pack(const struct reg_access_hca_mtim_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mtim_ext_unpack(struct reg_access_hca_mtim_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mtim_ext_print(const struct reg_access_hca_mtim_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mtim_ext_size(void);
#define REG_ACCESS_HCA_MTIM_EXT_SIZE (0x10)
void reg_access_hca_mtim_ext_dump(const struct reg_access_hca_mtim_ext *ptr_struct, FILE *fd);
/* mtmp_ext */
void reg_access_hca_mtmp_ext_pack(const struct reg_access_hca_mtmp_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mtmp_ext_unpack(struct reg_access_hca_mtmp_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mtmp_ext_print(const struct reg_access_hca_mtmp_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mtmp_ext_size(void);
#define REG_ACCESS_HCA_MTMP_EXT_SIZE (0x20)
void reg_access_hca_mtmp_ext_dump(const struct reg_access_hca_mtmp_ext *ptr_struct, FILE *fd);
/* mtrc_cap_reg_ext */
void reg_access_hca_mtrc_cap_reg_ext_pack(const struct reg_access_hca_mtrc_cap_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mtrc_cap_reg_ext_unpack(struct reg_access_hca_mtrc_cap_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mtrc_cap_reg_ext_print(const struct reg_access_hca_mtrc_cap_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mtrc_cap_reg_ext_size(void);
#define REG_ACCESS_HCA_MTRC_CAP_REG_EXT_SIZE (0x84)
void reg_access_hca_mtrc_cap_reg_ext_dump(const struct reg_access_hca_mtrc_cap_reg_ext *ptr_struct, FILE *fd);
/* mtrc_conf_reg_ext */
void reg_access_hca_mtrc_conf_reg_ext_pack(const struct reg_access_hca_mtrc_conf_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mtrc_conf_reg_ext_unpack(struct reg_access_hca_mtrc_conf_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mtrc_conf_reg_ext_print(const struct reg_access_hca_mtrc_conf_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mtrc_conf_reg_ext_size(void);
#define REG_ACCESS_HCA_MTRC_CONF_REG_EXT_SIZE (0x80)
void reg_access_hca_mtrc_conf_reg_ext_dump(const struct reg_access_hca_mtrc_conf_reg_ext *ptr_struct, FILE *fd);
/* mtrc_ctrl_reg_ext */
void reg_access_hca_mtrc_ctrl_reg_ext_pack(const struct reg_access_hca_mtrc_ctrl_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mtrc_ctrl_reg_ext_unpack(struct reg_access_hca_mtrc_ctrl_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mtrc_ctrl_reg_ext_print(const struct reg_access_hca_mtrc_ctrl_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mtrc_ctrl_reg_ext_size(void);
#define REG_ACCESS_HCA_MTRC_CTRL_REG_EXT_SIZE (0x40)
void reg_access_hca_mtrc_ctrl_reg_ext_dump(const struct reg_access_hca_mtrc_ctrl_reg_ext *ptr_struct, FILE *fd);
/* mtrc_stdb_reg_ext */
void reg_access_hca_mtrc_stdb_reg_ext_pack(const struct reg_access_hca_mtrc_stdb_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_mtrc_stdb_reg_ext_unpack(struct reg_access_hca_mtrc_stdb_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_mtrc_stdb_reg_ext_print(const struct reg_access_hca_mtrc_stdb_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_mtrc_stdb_reg_ext_size(void);
#define REG_ACCESS_HCA_MTRC_STDB_REG_EXT_SIZE (0x8)
void reg_access_hca_mtrc_stdb_reg_ext_dump(const struct reg_access_hca_mtrc_stdb_reg_ext *ptr_struct, FILE *fd);
/* nic_cap_ext_reg_ext */
void reg_access_hca_nic_cap_ext_reg_ext_pack(const struct reg_access_hca_nic_cap_ext_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_nic_cap_ext_reg_ext_unpack(struct reg_access_hca_nic_cap_ext_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_nic_cap_ext_reg_ext_print(const struct reg_access_hca_nic_cap_ext_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_nic_cap_ext_reg_ext_size(void);
#define REG_ACCESS_HCA_NIC_CAP_EXT_REG_EXT_SIZE (0x80)
void reg_access_hca_nic_cap_ext_reg_ext_dump(const struct reg_access_hca_nic_cap_ext_reg_ext *ptr_struct, FILE *fd);
/* nic_dpa_eu_partition_reg_ext */
void reg_access_hca_nic_dpa_eu_partition_reg_ext_pack(const struct reg_access_hca_nic_dpa_eu_partition_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_nic_dpa_eu_partition_reg_ext_unpack(struct reg_access_hca_nic_dpa_eu_partition_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_nic_dpa_eu_partition_reg_ext_print(const struct reg_access_hca_nic_dpa_eu_partition_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_nic_dpa_eu_partition_reg_ext_size(void);
#define REG_ACCESS_HCA_NIC_DPA_EU_PARTITION_REG_EXT_SIZE (0x300)
void reg_access_hca_nic_dpa_eu_partition_reg_ext_dump(const struct reg_access_hca_nic_dpa_eu_partition_reg_ext *ptr_struct, FILE *fd);
/* nic_dpa_eug_reg_ext */
void reg_access_hca_nic_dpa_eug_reg_ext_pack(const struct reg_access_hca_nic_dpa_eug_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_nic_dpa_eug_reg_ext_unpack(struct reg_access_hca_nic_dpa_eug_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_nic_dpa_eug_reg_ext_print(const struct reg_access_hca_nic_dpa_eug_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_nic_dpa_eug_reg_ext_size(void);
#define REG_ACCESS_HCA_NIC_DPA_EUG_REG_EXT_SIZE (0x100)
void reg_access_hca_nic_dpa_eug_reg_ext_dump(const struct reg_access_hca_nic_dpa_eug_reg_ext *ptr_struct, FILE *fd);
/* nic_dpa_perf_ctrl_reg_ext */
void reg_access_hca_nic_dpa_perf_ctrl_reg_ext_pack(const struct reg_access_hca_nic_dpa_perf_ctrl_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_nic_dpa_perf_ctrl_reg_ext_unpack(struct reg_access_hca_nic_dpa_perf_ctrl_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_nic_dpa_perf_ctrl_reg_ext_print(const struct reg_access_hca_nic_dpa_perf_ctrl_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_nic_dpa_perf_ctrl_reg_ext_size(void);
#define REG_ACCESS_HCA_NIC_DPA_PERF_CTRL_REG_EXT_SIZE (0x40)
void reg_access_hca_nic_dpa_perf_ctrl_reg_ext_dump(const struct reg_access_hca_nic_dpa_perf_ctrl_reg_ext *ptr_struct, FILE *fd);
/* paos_reg_ext */
void reg_access_hca_paos_reg_ext_pack(const struct reg_access_hca_paos_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_paos_reg_ext_unpack(struct reg_access_hca_paos_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_paos_reg_ext_print(const struct reg_access_hca_paos_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_paos_reg_ext_size(void);
#define REG_ACCESS_HCA_PAOS_REG_EXT_SIZE (0x10)
void reg_access_hca_paos_reg_ext_dump(const struct reg_access_hca_paos_reg_ext *ptr_struct, FILE *fd);
/* pcnr_reg_ext */
void reg_access_hca_pcnr_reg_ext_pack(const struct reg_access_hca_pcnr_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_pcnr_reg_ext_unpack(struct reg_access_hca_pcnr_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_pcnr_reg_ext_print(const struct reg_access_hca_pcnr_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_pcnr_reg_ext_size(void);
#define REG_ACCESS_HCA_PCNR_REG_EXT_SIZE (0xc)
void reg_access_hca_pcnr_reg_ext_dump(const struct reg_access_hca_pcnr_reg_ext *ptr_struct, FILE *fd);
/* pguid_reg_ext */
void reg_access_hca_pguid_reg_ext_pack(const struct reg_access_hca_pguid_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_pguid_reg_ext_unpack(struct reg_access_hca_pguid_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_pguid_reg_ext_print(const struct reg_access_hca_pguid_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_pguid_reg_ext_size(void);
#define REG_ACCESS_HCA_PGUID_REG_EXT_SIZE (0x60)
void reg_access_hca_pguid_reg_ext_dump(const struct reg_access_hca_pguid_reg_ext *ptr_struct, FILE *fd);
/* pmaos_reg_ext */
void reg_access_hca_pmaos_reg_ext_pack(const struct reg_access_hca_pmaos_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_pmaos_reg_ext_unpack(struct reg_access_hca_pmaos_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_pmaos_reg_ext_print(const struct reg_access_hca_pmaos_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_pmaos_reg_ext_size(void);
#define REG_ACCESS_HCA_PMAOS_REG_EXT_SIZE (0x10)
void reg_access_hca_pmaos_reg_ext_dump(const struct reg_access_hca_pmaos_reg_ext *ptr_struct, FILE *fd);
/* pmlp_reg_ext */
void reg_access_hca_pmlp_reg_ext_pack(const struct reg_access_hca_pmlp_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_pmlp_reg_ext_unpack(struct reg_access_hca_pmlp_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_pmlp_reg_ext_print(const struct reg_access_hca_pmlp_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_pmlp_reg_ext_size(void);
#define REG_ACCESS_HCA_PMLP_REG_EXT_SIZE (0x40)
void reg_access_hca_pmlp_reg_ext_dump(const struct reg_access_hca_pmlp_reg_ext *ptr_struct, FILE *fd);
/* ptys_reg_ext */
void reg_access_hca_ptys_reg_ext_pack(const struct reg_access_hca_ptys_reg_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_ptys_reg_ext_unpack(struct reg_access_hca_ptys_reg_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_ptys_reg_ext_print(const struct reg_access_hca_ptys_reg_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_ptys_reg_ext_size(void);
#define REG_ACCESS_HCA_PTYS_REG_EXT_SIZE (0x44)
void reg_access_hca_ptys_reg_ext_dump(const struct reg_access_hca_ptys_reg_ext *ptr_struct, FILE *fd);
/* resource_dump_ext */
void reg_access_hca_resource_dump_ext_pack(const struct reg_access_hca_resource_dump_ext *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_resource_dump_ext_unpack(struct reg_access_hca_resource_dump_ext *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_resource_dump_ext_print(const struct reg_access_hca_resource_dump_ext *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_resource_dump_ext_size(void);
#define REG_ACCESS_HCA_RESOURCE_DUMP_EXT_SIZE (0x100)
void reg_access_hca_resource_dump_ext_dump(const struct reg_access_hca_resource_dump_ext *ptr_struct, FILE *fd);
/* reg_access_hca_Nodes */
void reg_access_hca_reg_access_hca_Nodes_pack(const union reg_access_hca_reg_access_hca_Nodes *ptr_struct, u_int8_t *ptr_buff);
void reg_access_hca_reg_access_hca_Nodes_unpack(union reg_access_hca_reg_access_hca_Nodes *ptr_struct, const u_int8_t *ptr_buff);
void reg_access_hca_reg_access_hca_Nodes_print(const union reg_access_hca_reg_access_hca_Nodes *ptr_struct, FILE *fd, int indent_level);
unsigned int reg_access_hca_reg_access_hca_Nodes_size(void);
#define REG_ACCESS_HCA_REG_ACCESS_HCA_NODES_SIZE (0x300)
void reg_access_hca_reg_access_hca_Nodes_dump(const union reg_access_hca_reg_access_hca_Nodes *ptr_struct, FILE *fd);
#ifdef __cplusplus
}
#endif
#endif // REG_ACCESS_HCA_LAYOUTS_H
|