1*4882a593SmuzhiyunWhat: /config/stp-policy 2*4882a593SmuzhiyunDate: June 2015 3*4882a593SmuzhiyunKernelVersion: 4.3 4*4882a593SmuzhiyunDescription: 5*4882a593Smuzhiyun This group contains policies mandating Master/Channel allocation 6*4882a593Smuzhiyun for software sources wishing to send trace data over an STM 7*4882a593Smuzhiyun device. 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunWhat: /config/stp-policy/<device>.<policy> 10*4882a593SmuzhiyunDate: June 2015 11*4882a593SmuzhiyunKernelVersion: 4.3 12*4882a593SmuzhiyunDescription: 13*4882a593Smuzhiyun This group is the root of a policy; its name is a concatenation 14*4882a593Smuzhiyun of an stm device name to which this policy applies and an 15*4882a593Smuzhiyun arbitrary string. If <device> part doesn't match an existing 16*4882a593Smuzhiyun stm device, mkdir will fail with ENODEV; if that device already 17*4882a593Smuzhiyun has a policy assigned to it, mkdir will fail with EBUSY. 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunWhat: /config/stp-policy/<device>.<policy>/device 20*4882a593SmuzhiyunDate: June 2015 21*4882a593SmuzhiyunKernelVersion: 4.3 22*4882a593SmuzhiyunDescription: 23*4882a593Smuzhiyun STM device to which this policy applies, read only. Same as the 24*4882a593Smuzhiyun <device> component of its parent directory. 25*4882a593Smuzhiyun 26*4882a593SmuzhiyunWhat: /config/stp-policy/<device>.<policy>/<node> 27*4882a593SmuzhiyunDate: June 2015 28*4882a593SmuzhiyunKernelVersion: 4.3 29*4882a593SmuzhiyunDescription: 30*4882a593Smuzhiyun Policy node is a string identifier that software clients will 31*4882a593Smuzhiyun use to request a master/channel to be allocated and assigned to 32*4882a593Smuzhiyun them. 33*4882a593Smuzhiyun 34*4882a593SmuzhiyunWhat: /config/stp-policy/<device>.<policy>/<node>/masters 35*4882a593SmuzhiyunDate: June 2015 36*4882a593SmuzhiyunKernelVersion: 4.3 37*4882a593SmuzhiyunDescription: 38*4882a593Smuzhiyun Range of masters from which to allocate for users of this node. 39*4882a593Smuzhiyun Write two numbers: the first master and the last master number. 40*4882a593Smuzhiyun 41*4882a593SmuzhiyunWhat: /config/stp-policy/<device>.<policy>/<node>/channels 42*4882a593SmuzhiyunDate: June 2015 43*4882a593SmuzhiyunKernelVersion: 4.3 44*4882a593SmuzhiyunDescription: 45*4882a593Smuzhiyun Range of channels from which to allocate for users of this node. 46*4882a593Smuzhiyun Write two numbers: the first channel and the last channel 47*4882a593Smuzhiyun number. 48*4882a593Smuzhiyun 49