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