blob: 3a4d254485b3fb271e25d3c0f713c2871e90abeb (
plain)
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
|
.TH DEVLINK\-DPIPE 8 "4 Apr 2020" "iproute2" "Linux"
.SH NAME
devlink-dpipe \- devlink dataplane pipeline visualization
.SH SYNOPSIS
.sp
.ad l
.in +8
.ti -8
.B devlink
.RI "[ " OPTIONS " ]"
.B dpipe
.RB "{ " table " | " header " }"
.RI "{ " COMMAND " | "
.BR help " }"
.sp
.ti -8
.IR OPTIONS " := { "
\fB\-V\fR[\fIersion\fR] }
.ti -8
.BI "devlink dpipe table show " DEV
.RB "[ " name
.IR TABLE_NAME " ]"
.ti -8
.BI "devlink dpipe table set " DEV
.BI name " TABLE_NAME "
.ti -8
.BI "devlink dpipe table dump " DEV
.BI name " TABLE_NAME "
.ti -8
.BI "devlink dpipe header show " DEV
.ti -8
.B devlink dpipe help
.SH "DESCRIPTION"
.SS devlink dpipe table show - display devlink dpipe table attributes
.TP
.BI name " TABLE_NAME"
Specifies the table to operate on.
.SS devlink dpipe table set - set devlink dpipe table attributes
.TP
.BI name " TABLE_NAME"
Specifies the table to operate on.
.SS devlink dpipe table dump - dump devlink dpipe table entries
.TP
.BI name " TABLE_NAME"
Specifies the table to operate on.
.SS devlink dpipe header show - display devlink dpipe header attributes
.TP
.BI name " TABLE_NAME"
Specifies the table to operate on.
.SH "EXAMPLES"
.PP
devlink dpipe table show pci/0000:01:00.0
.RS 4
Shows all dpipe tables on specified devlink device.
.RE
.PP
devlink dpipe table show pci/0000:01:00.0 name mlxsw_erif
.RS 4
Shows mlxsw_erif dpipe table on specified devlink device.
.RE
.PP
devlink dpipe table set pci/0000:01:00.0 name mlxsw_erif counters_enabled true
.RS 4
Turns on the counters on mlxsw_erif table.
.RE
.PP
devlink dpipe table dump pci/0000:01:00.0 name mlxsw_erif
.RS 4
Dumps content of mlxsw_erif table.
.RE
.PP
devlink dpipe header show pci/0000:01:00.0
.RS 4
Shows all dpipe headers on specified devlink device.
.RE
.SH SEE ALSO
.BR devlink (8),
.BR devlink-dev (8),
.BR devlink-monitor (8),
.br
.SH AUTHOR
Jiri Pirko <jiri@mellanox.com>
|