ni / linux

Linux kernel source for NI Linux Real-Time
Other
81 stars 78 forks source link

pps: Increase PPS_MAX_SOURCES value. #119

Closed SparkingSpork closed 1 year ago

SparkingSpork commented 1 year ago

For consistency with what ptp uses for minors, this change sets PPS_MAX_SOURCES to MINORMASK + 1.

The PPS_MAX_SOURCES value is currently set to 16. In some cases this was not sufficient for a system. For example, a system with multiple 4+ PCIe cards each with 4 PTP-capable ethernet interfaces could run out of the available PPS major:minors if each interface registers a PPS source.

Note: Alternate approach for #118

Testing:

bstreiff commented 1 year ago

Merged into nilrt/23.5/5.15