nl-linux 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/NLSPEC_VERSION +1 -1
- data/generated/nl/linux/devlink.rb +727 -200
- data/generated/nl/linux/dpll.rb +79 -12
- data/generated/nl/linux/drm_ras.rb +222 -0
- data/generated/nl/linux/ethtool.rb +47 -8
- data/generated/nl/linux/handshake.rb +1 -1
- data/generated/nl/linux/net_shaper.rb +1 -1
- data/generated/nl/linux/netdev.rb +141 -6
- data/generated/nl/linux/nfsd.rb +566 -8
- data/generated/nl/linux/nftables.rb +1705 -139
- data/generated/nl/linux/ovpn.rb +27 -12
- data/generated/nl/linux/ovs_datapath.rb +4 -4
- data/generated/nl/linux/ovs_packet.rb +166 -0
- data/generated/nl/linux/ovs_vport.rb +4 -4
- data/generated/nl/linux/psp.rb +196 -6
- data/generated/nl/linux/rt_link.rb +84 -78
- data/generated/nl/linux/sunrpc_cache.rb +293 -0
- data/generated/nl/linux/tc.rb +7 -2
- data/generated/nl/linux.rb +3 -0
- data/lib/nl/linux/version.rb +1 -1
- data/linux/devlink.yaml +92 -2
- data/linux/dpll.yaml +94 -5
- data/linux/drm_ras.yaml +126 -0
- data/linux/ethtool.yaml +21 -4
- data/linux/handshake.yaml +9 -0
- data/linux/mptcp_pm.yaml +1 -0
- data/linux/net_shaper.yaml +13 -6
- data/linux/netdev.yaml +61 -2
- data/linux/nfsd.yaml +303 -2
- data/linux/nftables.yaml +640 -49
- data/linux/ovpn.yaml +26 -1
- data/linux/ovs_packet.yaml +130 -0
- data/linux/psp.yaml +80 -3
- data/linux/rt-link.yaml +70 -24
- data/linux/sunrpc_cache.yaml +149 -0
- data/linux/tc.yaml +3 -0
- metadata +12 -6
data/linux/devlink.yaml
CHANGED
|
@@ -157,6 +157,14 @@ definitions:
|
|
|
157
157
|
entries:
|
|
158
158
|
-
|
|
159
159
|
name: entry
|
|
160
|
+
-
|
|
161
|
+
type: enum
|
|
162
|
+
name: resource-scope
|
|
163
|
+
entries:
|
|
164
|
+
-
|
|
165
|
+
name: dev
|
|
166
|
+
-
|
|
167
|
+
name: port
|
|
160
168
|
-
|
|
161
169
|
type: enum
|
|
162
170
|
name: reload-action
|
|
@@ -226,6 +234,10 @@ definitions:
|
|
|
226
234
|
value: 10
|
|
227
235
|
-
|
|
228
236
|
name: binary
|
|
237
|
+
-
|
|
238
|
+
name: u64-array
|
|
239
|
+
value: 129
|
|
240
|
+
|
|
229
241
|
-
|
|
230
242
|
name: rate-tc-index-max
|
|
231
243
|
type: const
|
|
@@ -867,6 +879,22 @@ attribute-sets:
|
|
|
867
879
|
type: flag
|
|
868
880
|
doc: Request restoring parameter to its default value.
|
|
869
881
|
value: 183
|
|
882
|
+
-
|
|
883
|
+
name: index
|
|
884
|
+
type: uint
|
|
885
|
+
doc: Unique devlink instance index.
|
|
886
|
+
checks:
|
|
887
|
+
max: u32-max
|
|
888
|
+
-
|
|
889
|
+
name: resource-scope-mask
|
|
890
|
+
type: u32
|
|
891
|
+
enum: resource-scope
|
|
892
|
+
enum-as-flags: true
|
|
893
|
+
doc: |
|
|
894
|
+
Bitmask selecting which resource classes to include in a
|
|
895
|
+
resource-dump response. Bit 0 (dev) selects device-level
|
|
896
|
+
resources; bit 1 (port) selects port-level resources.
|
|
897
|
+
When absent all classes are returned.
|
|
870
898
|
-
|
|
871
899
|
name: dl-dev-stats
|
|
872
900
|
subset-of: devlink
|
|
@@ -1306,11 +1334,13 @@ operations:
|
|
|
1306
1334
|
attributes: &dev-id-attrs
|
|
1307
1335
|
- bus-name
|
|
1308
1336
|
- dev-name
|
|
1337
|
+
- index
|
|
1309
1338
|
reply: &get-reply
|
|
1310
1339
|
value: 3
|
|
1311
1340
|
attributes:
|
|
1312
1341
|
- bus-name
|
|
1313
1342
|
- dev-name
|
|
1343
|
+
- index
|
|
1314
1344
|
- reload-failed
|
|
1315
1345
|
- dev-stats
|
|
1316
1346
|
dump:
|
|
@@ -1329,6 +1359,7 @@ operations:
|
|
|
1329
1359
|
attributes: &port-id-attrs
|
|
1330
1360
|
- bus-name
|
|
1331
1361
|
- dev-name
|
|
1362
|
+
- index
|
|
1332
1363
|
- port-index
|
|
1333
1364
|
reply:
|
|
1334
1365
|
value: 7
|
|
@@ -1353,6 +1384,7 @@ operations:
|
|
|
1353
1384
|
attributes:
|
|
1354
1385
|
- bus-name
|
|
1355
1386
|
- dev-name
|
|
1387
|
+
- index
|
|
1356
1388
|
- port-index
|
|
1357
1389
|
- port-type
|
|
1358
1390
|
- port-function
|
|
@@ -1370,6 +1402,7 @@ operations:
|
|
|
1370
1402
|
attributes:
|
|
1371
1403
|
- bus-name
|
|
1372
1404
|
- dev-name
|
|
1405
|
+
- index
|
|
1373
1406
|
- port-index
|
|
1374
1407
|
- port-flavour
|
|
1375
1408
|
- port-pci-pf-number
|
|
@@ -1404,6 +1437,7 @@ operations:
|
|
|
1404
1437
|
attributes:
|
|
1405
1438
|
- bus-name
|
|
1406
1439
|
- dev-name
|
|
1440
|
+
- index
|
|
1407
1441
|
- port-index
|
|
1408
1442
|
- port-split-count
|
|
1409
1443
|
|
|
@@ -1432,6 +1466,7 @@ operations:
|
|
|
1432
1466
|
attributes: &sb-id-attrs
|
|
1433
1467
|
- bus-name
|
|
1434
1468
|
- dev-name
|
|
1469
|
+
- index
|
|
1435
1470
|
- sb-index
|
|
1436
1471
|
reply: &sb-get-reply
|
|
1437
1472
|
value: 13
|
|
@@ -1454,6 +1489,7 @@ operations:
|
|
|
1454
1489
|
attributes: &sb-pool-id-attrs
|
|
1455
1490
|
- bus-name
|
|
1456
1491
|
- dev-name
|
|
1492
|
+
- index
|
|
1457
1493
|
- sb-index
|
|
1458
1494
|
- sb-pool-index
|
|
1459
1495
|
reply: &sb-pool-get-reply
|
|
@@ -1477,6 +1513,7 @@ operations:
|
|
|
1477
1513
|
attributes:
|
|
1478
1514
|
- bus-name
|
|
1479
1515
|
- dev-name
|
|
1516
|
+
- index
|
|
1480
1517
|
- sb-index
|
|
1481
1518
|
- sb-pool-index
|
|
1482
1519
|
- sb-pool-threshold-type
|
|
@@ -1495,6 +1532,7 @@ operations:
|
|
|
1495
1532
|
attributes: &sb-port-pool-id-attrs
|
|
1496
1533
|
- bus-name
|
|
1497
1534
|
- dev-name
|
|
1535
|
+
- index
|
|
1498
1536
|
- port-index
|
|
1499
1537
|
- sb-index
|
|
1500
1538
|
- sb-pool-index
|
|
@@ -1519,6 +1557,7 @@ operations:
|
|
|
1519
1557
|
attributes:
|
|
1520
1558
|
- bus-name
|
|
1521
1559
|
- dev-name
|
|
1560
|
+
- index
|
|
1522
1561
|
- port-index
|
|
1523
1562
|
- sb-index
|
|
1524
1563
|
- sb-pool-index
|
|
@@ -1537,6 +1576,7 @@ operations:
|
|
|
1537
1576
|
attributes: &sb-tc-pool-bind-id-attrs
|
|
1538
1577
|
- bus-name
|
|
1539
1578
|
- dev-name
|
|
1579
|
+
- index
|
|
1540
1580
|
- port-index
|
|
1541
1581
|
- sb-index
|
|
1542
1582
|
- sb-pool-type
|
|
@@ -1562,6 +1602,7 @@ operations:
|
|
|
1562
1602
|
attributes:
|
|
1563
1603
|
- bus-name
|
|
1564
1604
|
- dev-name
|
|
1605
|
+
- index
|
|
1565
1606
|
- port-index
|
|
1566
1607
|
- sb-index
|
|
1567
1608
|
- sb-pool-index
|
|
@@ -1583,6 +1624,7 @@ operations:
|
|
|
1583
1624
|
attributes:
|
|
1584
1625
|
- bus-name
|
|
1585
1626
|
- dev-name
|
|
1627
|
+
- index
|
|
1586
1628
|
- sb-index
|
|
1587
1629
|
|
|
1588
1630
|
-
|
|
@@ -1598,6 +1640,7 @@ operations:
|
|
|
1598
1640
|
attributes:
|
|
1599
1641
|
- bus-name
|
|
1600
1642
|
- dev-name
|
|
1643
|
+
- index
|
|
1601
1644
|
- sb-index
|
|
1602
1645
|
|
|
1603
1646
|
-
|
|
@@ -1616,6 +1659,7 @@ operations:
|
|
|
1616
1659
|
attributes: &eswitch-attrs
|
|
1617
1660
|
- bus-name
|
|
1618
1661
|
- dev-name
|
|
1662
|
+
- index
|
|
1619
1663
|
- eswitch-mode
|
|
1620
1664
|
- eswitch-inline-mode
|
|
1621
1665
|
- eswitch-encap-mode
|
|
@@ -1644,12 +1688,14 @@ operations:
|
|
|
1644
1688
|
attributes:
|
|
1645
1689
|
- bus-name
|
|
1646
1690
|
- dev-name
|
|
1691
|
+
- index
|
|
1647
1692
|
- dpipe-table-name
|
|
1648
1693
|
reply:
|
|
1649
1694
|
value: 31
|
|
1650
1695
|
attributes:
|
|
1651
1696
|
- bus-name
|
|
1652
1697
|
- dev-name
|
|
1698
|
+
- index
|
|
1653
1699
|
- dpipe-tables
|
|
1654
1700
|
|
|
1655
1701
|
-
|
|
@@ -1664,11 +1710,13 @@ operations:
|
|
|
1664
1710
|
attributes:
|
|
1665
1711
|
- bus-name
|
|
1666
1712
|
- dev-name
|
|
1713
|
+
- index
|
|
1667
1714
|
- dpipe-table-name
|
|
1668
1715
|
reply:
|
|
1669
1716
|
attributes:
|
|
1670
1717
|
- bus-name
|
|
1671
1718
|
- dev-name
|
|
1719
|
+
- index
|
|
1672
1720
|
- dpipe-entries
|
|
1673
1721
|
|
|
1674
1722
|
-
|
|
@@ -1683,10 +1731,12 @@ operations:
|
|
|
1683
1731
|
attributes:
|
|
1684
1732
|
- bus-name
|
|
1685
1733
|
- dev-name
|
|
1734
|
+
- index
|
|
1686
1735
|
reply:
|
|
1687
1736
|
attributes:
|
|
1688
1737
|
- bus-name
|
|
1689
1738
|
- dev-name
|
|
1739
|
+
- index
|
|
1690
1740
|
- dpipe-headers
|
|
1691
1741
|
|
|
1692
1742
|
-
|
|
@@ -1702,6 +1752,7 @@ operations:
|
|
|
1702
1752
|
attributes:
|
|
1703
1753
|
- bus-name
|
|
1704
1754
|
- dev-name
|
|
1755
|
+
- index
|
|
1705
1756
|
- dpipe-table-name
|
|
1706
1757
|
- dpipe-table-counters-enabled
|
|
1707
1758
|
|
|
@@ -1718,6 +1769,7 @@ operations:
|
|
|
1718
1769
|
attributes:
|
|
1719
1770
|
- bus-name
|
|
1720
1771
|
- dev-name
|
|
1772
|
+
- index
|
|
1721
1773
|
- resource-id
|
|
1722
1774
|
- resource-size
|
|
1723
1775
|
|
|
@@ -1727,18 +1779,30 @@ operations:
|
|
|
1727
1779
|
attribute-set: devlink
|
|
1728
1780
|
dont-validate: [strict]
|
|
1729
1781
|
do:
|
|
1730
|
-
pre: devlink-nl-pre-doit
|
|
1782
|
+
pre: devlink-nl-pre-doit-port-optional
|
|
1731
1783
|
post: devlink-nl-post-doit
|
|
1732
1784
|
request:
|
|
1733
1785
|
attributes:
|
|
1734
1786
|
- bus-name
|
|
1735
1787
|
- dev-name
|
|
1736
|
-
|
|
1788
|
+
- index
|
|
1789
|
+
- port-index
|
|
1790
|
+
reply: &resource-dump-reply
|
|
1737
1791
|
value: 36
|
|
1738
1792
|
attributes:
|
|
1739
1793
|
- bus-name
|
|
1740
1794
|
- dev-name
|
|
1795
|
+
- index
|
|
1796
|
+
- port-index
|
|
1741
1797
|
- resource-list
|
|
1798
|
+
dump:
|
|
1799
|
+
request:
|
|
1800
|
+
attributes:
|
|
1801
|
+
- bus-name
|
|
1802
|
+
- dev-name
|
|
1803
|
+
- index
|
|
1804
|
+
- resource-scope-mask
|
|
1805
|
+
reply: *resource-dump-reply
|
|
1742
1806
|
|
|
1743
1807
|
-
|
|
1744
1808
|
name: reload
|
|
@@ -1753,6 +1817,7 @@ operations:
|
|
|
1753
1817
|
attributes:
|
|
1754
1818
|
- bus-name
|
|
1755
1819
|
- dev-name
|
|
1820
|
+
- index
|
|
1756
1821
|
- reload-action
|
|
1757
1822
|
- reload-limits
|
|
1758
1823
|
- netns-pid
|
|
@@ -1762,6 +1827,7 @@ operations:
|
|
|
1762
1827
|
attributes:
|
|
1763
1828
|
- bus-name
|
|
1764
1829
|
- dev-name
|
|
1830
|
+
- index
|
|
1765
1831
|
- reload-actions-performed
|
|
1766
1832
|
|
|
1767
1833
|
-
|
|
@@ -1776,6 +1842,7 @@ operations:
|
|
|
1776
1842
|
attributes: ¶m-id-attrs
|
|
1777
1843
|
- bus-name
|
|
1778
1844
|
- dev-name
|
|
1845
|
+
- index
|
|
1779
1846
|
- param-name
|
|
1780
1847
|
reply: ¶m-get-reply
|
|
1781
1848
|
attributes: *param-id-attrs
|
|
@@ -1797,6 +1864,7 @@ operations:
|
|
|
1797
1864
|
attributes:
|
|
1798
1865
|
- bus-name
|
|
1799
1866
|
- dev-name
|
|
1867
|
+
- index
|
|
1800
1868
|
- param-name
|
|
1801
1869
|
- param-type
|
|
1802
1870
|
# param-value-data is missing here as the type is variable
|
|
@@ -1816,6 +1884,7 @@ operations:
|
|
|
1816
1884
|
attributes: ®ion-id-attrs
|
|
1817
1885
|
- bus-name
|
|
1818
1886
|
- dev-name
|
|
1887
|
+
- index
|
|
1819
1888
|
- port-index
|
|
1820
1889
|
- region-name
|
|
1821
1890
|
reply: ®ion-get-reply
|
|
@@ -1840,6 +1909,7 @@ operations:
|
|
|
1840
1909
|
attributes: ®ion-snapshot-id-attrs
|
|
1841
1910
|
- bus-name
|
|
1842
1911
|
- dev-name
|
|
1912
|
+
- index
|
|
1843
1913
|
- port-index
|
|
1844
1914
|
- region-name
|
|
1845
1915
|
- region-snapshot-id
|
|
@@ -1870,6 +1940,7 @@ operations:
|
|
|
1870
1940
|
attributes:
|
|
1871
1941
|
- bus-name
|
|
1872
1942
|
- dev-name
|
|
1943
|
+
- index
|
|
1873
1944
|
- port-index
|
|
1874
1945
|
- region-name
|
|
1875
1946
|
- region-snapshot-id
|
|
@@ -1881,6 +1952,7 @@ operations:
|
|
|
1881
1952
|
attributes:
|
|
1882
1953
|
- bus-name
|
|
1883
1954
|
- dev-name
|
|
1955
|
+
- index
|
|
1884
1956
|
- port-index
|
|
1885
1957
|
- region-name
|
|
1886
1958
|
|
|
@@ -1930,6 +2002,7 @@ operations:
|
|
|
1930
2002
|
attributes:
|
|
1931
2003
|
- bus-name
|
|
1932
2004
|
- dev-name
|
|
2005
|
+
- index
|
|
1933
2006
|
- info-driver-name
|
|
1934
2007
|
- info-serial-number
|
|
1935
2008
|
- info-version-fixed
|
|
@@ -1951,6 +2024,7 @@ operations:
|
|
|
1951
2024
|
attributes: &health-reporter-id-attrs
|
|
1952
2025
|
- bus-name
|
|
1953
2026
|
- dev-name
|
|
2027
|
+
- index
|
|
1954
2028
|
- port-index
|
|
1955
2029
|
- health-reporter-name
|
|
1956
2030
|
reply: &health-reporter-get-reply
|
|
@@ -1973,6 +2047,7 @@ operations:
|
|
|
1973
2047
|
attributes:
|
|
1974
2048
|
- bus-name
|
|
1975
2049
|
- dev-name
|
|
2050
|
+
- index
|
|
1976
2051
|
- port-index
|
|
1977
2052
|
- health-reporter-name
|
|
1978
2053
|
- health-reporter-graceful-period
|
|
@@ -2043,6 +2118,7 @@ operations:
|
|
|
2043
2118
|
attributes:
|
|
2044
2119
|
- bus-name
|
|
2045
2120
|
- dev-name
|
|
2121
|
+
- index
|
|
2046
2122
|
- flash-update-file-name
|
|
2047
2123
|
- flash-update-component
|
|
2048
2124
|
- flash-update-overwrite-mask
|
|
@@ -2060,6 +2136,7 @@ operations:
|
|
|
2060
2136
|
attributes: &trap-id-attrs
|
|
2061
2137
|
- bus-name
|
|
2062
2138
|
- dev-name
|
|
2139
|
+
- index
|
|
2063
2140
|
- trap-name
|
|
2064
2141
|
reply: &trap-get-reply
|
|
2065
2142
|
value: 63
|
|
@@ -2082,6 +2159,7 @@ operations:
|
|
|
2082
2159
|
attributes:
|
|
2083
2160
|
- bus-name
|
|
2084
2161
|
- dev-name
|
|
2162
|
+
- index
|
|
2085
2163
|
- trap-name
|
|
2086
2164
|
- trap-action
|
|
2087
2165
|
|
|
@@ -2098,6 +2176,7 @@ operations:
|
|
|
2098
2176
|
attributes: &trap-group-id-attrs
|
|
2099
2177
|
- bus-name
|
|
2100
2178
|
- dev-name
|
|
2179
|
+
- index
|
|
2101
2180
|
- trap-group-name
|
|
2102
2181
|
reply: &trap-group-get-reply
|
|
2103
2182
|
value: 67
|
|
@@ -2120,6 +2199,7 @@ operations:
|
|
|
2120
2199
|
attributes:
|
|
2121
2200
|
- bus-name
|
|
2122
2201
|
- dev-name
|
|
2202
|
+
- index
|
|
2123
2203
|
- trap-group-name
|
|
2124
2204
|
- trap-action
|
|
2125
2205
|
- trap-policer-id
|
|
@@ -2137,6 +2217,7 @@ operations:
|
|
|
2137
2217
|
attributes: &trap-policer-id-attrs
|
|
2138
2218
|
- bus-name
|
|
2139
2219
|
- dev-name
|
|
2220
|
+
- index
|
|
2140
2221
|
- trap-policer-id
|
|
2141
2222
|
reply: &trap-policer-get-reply
|
|
2142
2223
|
value: 71
|
|
@@ -2159,6 +2240,7 @@ operations:
|
|
|
2159
2240
|
attributes:
|
|
2160
2241
|
- bus-name
|
|
2161
2242
|
- dev-name
|
|
2243
|
+
- index
|
|
2162
2244
|
- trap-policer-id
|
|
2163
2245
|
- trap-policer-rate
|
|
2164
2246
|
- trap-policer-burst
|
|
@@ -2189,6 +2271,7 @@ operations:
|
|
|
2189
2271
|
attributes: &rate-id-attrs
|
|
2190
2272
|
- bus-name
|
|
2191
2273
|
- dev-name
|
|
2274
|
+
- index
|
|
2192
2275
|
- port-index
|
|
2193
2276
|
- rate-node-name
|
|
2194
2277
|
reply: &rate-get-reply
|
|
@@ -2212,6 +2295,7 @@ operations:
|
|
|
2212
2295
|
attributes:
|
|
2213
2296
|
- bus-name
|
|
2214
2297
|
- dev-name
|
|
2298
|
+
- index
|
|
2215
2299
|
- rate-node-name
|
|
2216
2300
|
- rate-tx-share
|
|
2217
2301
|
- rate-tx-max
|
|
@@ -2233,6 +2317,7 @@ operations:
|
|
|
2233
2317
|
attributes:
|
|
2234
2318
|
- bus-name
|
|
2235
2319
|
- dev-name
|
|
2320
|
+
- index
|
|
2236
2321
|
- rate-node-name
|
|
2237
2322
|
- rate-tx-share
|
|
2238
2323
|
- rate-tx-max
|
|
@@ -2254,6 +2339,7 @@ operations:
|
|
|
2254
2339
|
attributes:
|
|
2255
2340
|
- bus-name
|
|
2256
2341
|
- dev-name
|
|
2342
|
+
- index
|
|
2257
2343
|
- rate-node-name
|
|
2258
2344
|
|
|
2259
2345
|
-
|
|
@@ -2269,6 +2355,7 @@ operations:
|
|
|
2269
2355
|
attributes: &linecard-id-attrs
|
|
2270
2356
|
- bus-name
|
|
2271
2357
|
- dev-name
|
|
2358
|
+
- index
|
|
2272
2359
|
- linecard-index
|
|
2273
2360
|
reply: &linecard-get-reply
|
|
2274
2361
|
value: 80
|
|
@@ -2291,6 +2378,7 @@ operations:
|
|
|
2291
2378
|
attributes:
|
|
2292
2379
|
- bus-name
|
|
2293
2380
|
- dev-name
|
|
2381
|
+
- index
|
|
2294
2382
|
- linecard-index
|
|
2295
2383
|
- linecard-type
|
|
2296
2384
|
|
|
@@ -2324,6 +2412,7 @@ operations:
|
|
|
2324
2412
|
attributes:
|
|
2325
2413
|
- bus-name
|
|
2326
2414
|
- dev-name
|
|
2415
|
+
- index
|
|
2327
2416
|
- selftests
|
|
2328
2417
|
|
|
2329
2418
|
-
|
|
@@ -2335,4 +2424,5 @@ operations:
|
|
|
2335
2424
|
attributes:
|
|
2336
2425
|
- bus-name
|
|
2337
2426
|
- dev-name
|
|
2427
|
+
- index
|
|
2338
2428
|
- port-index
|
data/linux/dpll.yaml
CHANGED
|
@@ -138,6 +138,9 @@ definitions:
|
|
|
138
138
|
-
|
|
139
139
|
name: eec
|
|
140
140
|
doc: dpll drives the Ethernet Equipment Clock
|
|
141
|
+
-
|
|
142
|
+
name: generic
|
|
143
|
+
doc: generic dpll type for devices outside PPS/EEC classes
|
|
141
144
|
render-max: true
|
|
142
145
|
-
|
|
143
146
|
type: enum
|
|
@@ -212,6 +215,27 @@ definitions:
|
|
|
212
215
|
name: selectable
|
|
213
216
|
doc: pin enabled for automatic input selection
|
|
214
217
|
render-max: true
|
|
218
|
+
-
|
|
219
|
+
type: enum
|
|
220
|
+
name: pin-operstate
|
|
221
|
+
doc: |
|
|
222
|
+
defines possible operational states of a pin with respect to its
|
|
223
|
+
parent DPLL device, valid values for DPLL_A_PIN_OPERSTATE attribute
|
|
224
|
+
entries:
|
|
225
|
+
-
|
|
226
|
+
name: active
|
|
227
|
+
doc: pin is qualified and actively used by the DPLL
|
|
228
|
+
value: 1
|
|
229
|
+
-
|
|
230
|
+
name: standby
|
|
231
|
+
doc: pin is qualified but not actively used by the DPLL
|
|
232
|
+
-
|
|
233
|
+
name: no-signal
|
|
234
|
+
doc: pin does not have a valid signal
|
|
235
|
+
-
|
|
236
|
+
name: qual-failed
|
|
237
|
+
doc: pin signal failed qualification (e.g. frequency or phase monitor)
|
|
238
|
+
render-max: true
|
|
215
239
|
-
|
|
216
240
|
type: flags
|
|
217
241
|
name: pin-capabilities
|
|
@@ -240,6 +264,20 @@ definitions:
|
|
|
240
264
|
integer part of a measured phase offset value.
|
|
241
265
|
Value of (DPLL_A_PHASE_OFFSET % DPLL_PHASE_OFFSET_DIVIDER) is a
|
|
242
266
|
fractional part of a measured phase offset value.
|
|
267
|
+
-
|
|
268
|
+
type: const
|
|
269
|
+
name: pin-measured-frequency-divider
|
|
270
|
+
value: 1000
|
|
271
|
+
doc: |
|
|
272
|
+
pin measured frequency divider allows userspace to calculate
|
|
273
|
+
a value of measured input frequency as a fractional value with
|
|
274
|
+
three digit decimal precision (millihertz).
|
|
275
|
+
Value of (DPLL_A_PIN_MEASURED_FREQUENCY /
|
|
276
|
+
DPLL_PIN_MEASURED_FREQUENCY_DIVIDER) is an integer part of
|
|
277
|
+
a measured frequency value.
|
|
278
|
+
Value of (DPLL_A_PIN_MEASURED_FREQUENCY %
|
|
279
|
+
DPLL_PIN_MEASURED_FREQUENCY_DIVIDER) is a fractional part of
|
|
280
|
+
a measured frequency value.
|
|
243
281
|
-
|
|
244
282
|
type: enum
|
|
245
283
|
name: feature-state
|
|
@@ -319,6 +357,13 @@ attribute-sets:
|
|
|
319
357
|
name: phase-offset-avg-factor
|
|
320
358
|
type: u32
|
|
321
359
|
doc: Averaging factor applied to calculation of reported phase offset.
|
|
360
|
+
-
|
|
361
|
+
name: frequency-monitor
|
|
362
|
+
type: u32
|
|
363
|
+
enum: feature-state
|
|
364
|
+
doc: Current or desired state of the frequency monitor feature.
|
|
365
|
+
If enabled, dpll device shall measure all currently available
|
|
366
|
+
inputs for their actual input frequency.
|
|
322
367
|
-
|
|
323
368
|
name: pin
|
|
324
369
|
enum-name: dpll_a_pin
|
|
@@ -406,12 +451,14 @@ attribute-sets:
|
|
|
406
451
|
name: fractional-frequency-offset
|
|
407
452
|
type: sint
|
|
408
453
|
doc: |
|
|
409
|
-
The FFO (Fractional Frequency Offset)
|
|
410
|
-
|
|
411
|
-
|
|
454
|
+
The FFO (Fractional Frequency Offset) of the pin.
|
|
455
|
+
At top level this represents the RX vs TX symbol rate
|
|
456
|
+
offset on the media associated with the pin. Inside
|
|
457
|
+
the pin-parent-device nest it represents the frequency
|
|
458
|
+
offset between the pin and its parent DPLL device.
|
|
412
459
|
Value is in PPM (parts per million).
|
|
413
|
-
This
|
|
414
|
-
|
|
460
|
+
This is a lower-precision version of
|
|
461
|
+
fractional-frequency-offset-ppt.
|
|
415
462
|
-
|
|
416
463
|
name: esync-frequency
|
|
417
464
|
type: u64
|
|
@@ -446,6 +493,37 @@ attribute-sets:
|
|
|
446
493
|
doc: |
|
|
447
494
|
Granularity of phase adjustment, in picoseconds. The value of
|
|
448
495
|
phase adjustment must be a multiple of this granularity.
|
|
496
|
+
-
|
|
497
|
+
name: fractional-frequency-offset-ppt
|
|
498
|
+
type: sint
|
|
499
|
+
doc: |
|
|
500
|
+
The FFO (Fractional Frequency Offset) of the pin.
|
|
501
|
+
At top level this represents the RX vs TX symbol rate
|
|
502
|
+
offset on the media associated with the pin. Inside
|
|
503
|
+
the pin-parent-device nest it represents the frequency
|
|
504
|
+
offset between the pin and its parent DPLL device.
|
|
505
|
+
Value is in PPT (parts per trillion, 10^-12).
|
|
506
|
+
This is a higher-precision version of
|
|
507
|
+
fractional-frequency-offset.
|
|
508
|
+
-
|
|
509
|
+
name: measured-frequency
|
|
510
|
+
type: u64
|
|
511
|
+
doc: |
|
|
512
|
+
The measured frequency of the input pin in millihertz (mHz).
|
|
513
|
+
Value of (DPLL_A_PIN_MEASURED_FREQUENCY /
|
|
514
|
+
DPLL_PIN_MEASURED_FREQUENCY_DIVIDER) is an integer part (Hz)
|
|
515
|
+
of a measured frequency value.
|
|
516
|
+
Value of (DPLL_A_PIN_MEASURED_FREQUENCY %
|
|
517
|
+
DPLL_PIN_MEASURED_FREQUENCY_DIVIDER) is a fractional part
|
|
518
|
+
of a measured frequency value.
|
|
519
|
+
-
|
|
520
|
+
name: operstate
|
|
521
|
+
type: u32
|
|
522
|
+
enum: pin-operstate
|
|
523
|
+
doc: |
|
|
524
|
+
Operational state of the pin with respect to its parent DPLL
|
|
525
|
+
device. Unlike state (which reflects the administrative intent),
|
|
526
|
+
operstate reflects the actual hardware status.
|
|
449
527
|
|
|
450
528
|
-
|
|
451
529
|
name: pin-parent-device
|
|
@@ -459,8 +537,14 @@ attribute-sets:
|
|
|
459
537
|
name: prio
|
|
460
538
|
-
|
|
461
539
|
name: state
|
|
540
|
+
-
|
|
541
|
+
name: operstate
|
|
462
542
|
-
|
|
463
543
|
name: phase-offset
|
|
544
|
+
-
|
|
545
|
+
name: fractional-frequency-offset
|
|
546
|
+
-
|
|
547
|
+
name: fractional-frequency-offset-ppt
|
|
464
548
|
-
|
|
465
549
|
name: pin-parent-pin
|
|
466
550
|
subset-of: pin
|
|
@@ -534,6 +618,7 @@ operations:
|
|
|
534
618
|
- type
|
|
535
619
|
- phase-offset-monitor
|
|
536
620
|
- phase-offset-avg-factor
|
|
621
|
+
- frequency-monitor
|
|
537
622
|
|
|
538
623
|
dump:
|
|
539
624
|
reply: *dev-attrs
|
|
@@ -550,8 +635,10 @@ operations:
|
|
|
550
635
|
request:
|
|
551
636
|
attributes:
|
|
552
637
|
- id
|
|
638
|
+
- mode
|
|
553
639
|
- phase-offset-monitor
|
|
554
640
|
- phase-offset-avg-factor
|
|
641
|
+
- frequency-monitor
|
|
555
642
|
-
|
|
556
643
|
name: device-create-ntf
|
|
557
644
|
doc: Notification about device appearing
|
|
@@ -627,10 +714,12 @@ operations:
|
|
|
627
714
|
- phase-adjust-max
|
|
628
715
|
- phase-adjust
|
|
629
716
|
- fractional-frequency-offset
|
|
717
|
+
- fractional-frequency-offset-ppt
|
|
630
718
|
- esync-frequency
|
|
631
719
|
- esync-frequency-supported
|
|
632
720
|
- esync-pulse
|
|
633
721
|
- reference-sync
|
|
722
|
+
- measured-frequency
|
|
634
723
|
|
|
635
724
|
dump:
|
|
636
725
|
request:
|