@@ -59,7 +59,7 @@ MAP COMMANDS
5959
6060DESCRIPTION
6161===========
62- ** bpftool map { show | list } ** [*MAP *]
62+ bpftool map { show | list } [*MAP *]
6363 Show information about loaded maps. If *MAP * is specified show information
6464 only about given maps, otherwise list all maps currently loaded on the
6565 system. In case of **name **, *MAP * may match several maps which will all
@@ -72,7 +72,7 @@ DESCRIPTION
7272 that hold open file descriptors (FDs) against BPF maps. On such kernels
7373 bpftool will automatically emit this information as well.
7474
75- ** bpftool map create ** *FILE * ** type ** *TYPE * ** key ** *KEY_SIZE * ** value ** *VALUE_SIZE * ** entries ** *MAX_ENTRIES * ** name ** *NAME * [** flags ** *FLAGS *] [** inner_map ** *MAP *] [** offload_dev ** *NAME *]
75+ bpftool map create *FILE * type *TYPE * key *KEY_SIZE * value *VALUE_SIZE * entries *MAX_ENTRIES * name *NAME * [flags *FLAGS *] [inner_map *MAP *] [offload_dev *NAME *]
7676 Create a new map with given parameters and pin it to *bpffs * as *FILE *.
7777
7878 *FLAGS * should be an integer which is the combination of desired flags,
@@ -86,11 +86,11 @@ DESCRIPTION
8686 Keyword **offload_dev ** expects a network interface name, and is used to
8787 request hardware offload for the map.
8888
89- ** bpftool map dump ** *MAP *
89+ bpftool map dump *MAP *
9090 Dump all entries in a given *MAP *. In case of **name **, *MAP * may match
9191 several maps which will all be dumped.
9292
93- ** bpftool map update ** *MAP * [** key ** *DATA *] [** value ** *VALUE *] [*UPDATE_FLAGS *]
93+ bpftool map update *MAP * [key *DATA *] [value *VALUE *] [*UPDATE_FLAGS *]
9494 Update map entry for a given *KEY *.
9595
9696 *UPDATE_FLAGS * can be one of: **any ** update existing entry or add if
@@ -103,22 +103,22 @@ DESCRIPTION
103103 unless a "0x" prefix (for hexadecimal) or a "0" prefix (for octal) is
104104 provided.
105105
106- ** bpftool map lookup ** *MAP * [** key ** *DATA *]
106+ bpftool map lookup *MAP * [key *DATA *]
107107 Lookup **key ** in the map.
108108
109- ** bpftool map getnext ** *MAP * [** key ** *DATA *]
109+ bpftool map getnext *MAP * [key *DATA *]
110110 Get next key. If *key * is not specified, get first key.
111111
112- ** bpftool map delete ** *MAP * ** key ** *DATA *
112+ bpftool map delete *MAP * key *DATA *
113113 Remove entry from the map.
114114
115- ** bpftool map pin ** *MAP * *FILE *
115+ bpftool map pin *MAP * *FILE *
116116 Pin map *MAP * as *FILE *.
117117
118118 Note: *FILE * must be located in *bpffs * mount. It must not contain a dot
119119 character ('.'), which is reserved for future extensions of *bpffs *.
120120
121- ** bpftool ** ** map event_pipe ** *MAP * [** cpu ** *N * ** index ** *M *]
121+ bpftool map event_pipe *MAP * [cpu *N * index *M *]
122122 Read events from a **BPF_MAP_TYPE_PERF_EVENT_ARRAY ** map.
123123
124124 Install perf rings into a perf event array map and dump output of any
@@ -133,29 +133,29 @@ DESCRIPTION
133133 existing ring. Any other application will stop receiving events if it
134134 installed its rings earlier.
135135
136- ** bpftool map peek ** *MAP *
136+ bpftool map peek *MAP *
137137 Peek next value in the queue or stack.
138138
139- ** bpftool map push ** *MAP * ** value ** *VALUE *
139+ bpftool map push *MAP * value *VALUE *
140140 Push *VALUE * onto the stack.
141141
142- ** bpftool map pop ** *MAP *
142+ bpftool map pop *MAP *
143143 Pop and print value from the stack.
144144
145- ** bpftool map enqueue ** *MAP * ** value ** *VALUE *
145+ bpftool map enqueue *MAP * value *VALUE *
146146 Enqueue *VALUE * into the queue.
147147
148- ** bpftool map dequeue ** *MAP *
148+ bpftool map dequeue *MAP *
149149 Dequeue and print value from the queue.
150150
151- ** bpftool map freeze ** *MAP *
151+ bpftool map freeze *MAP *
152152 Freeze the map as read-only from user space. Entries from a frozen map can
153153 not longer be updated or deleted with the **bpf **\ () system call. This
154154 operation is not reversible, and the map remains immutable from user space
155155 until its destruction. However, read and write permissions for BPF programs
156156 to the map remain unchanged.
157157
158- ** bpftool map help **
158+ bpftool map help
159159 Print short help message.
160160
161161OPTIONS
0 commit comments