Patchwork [v2,bpf-next] tools: bpftool: doc, add text about feature-subcommand

login
register
mail settings
Submitter Prashant Bhole
Date Feb. 12, 2019, 1:25 a.m.
Message ID <20190212012512.9060-1-bhole_prashant_q7@lab.ntt.co.jp>
Download mbox | patch
Permalink /patch/723477/
State New
Headers show

Comments

Prashant Bhole - Feb. 12, 2019, 1:25 a.m.
This patch adds missing information about feature-subcommand in
bpftool.rst

Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
---

v2: used tabs instead of spaces

 tools/bpf/bpftool/Documentation/bpftool.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Quentin Monnet - Feb. 12, 2019, 10:12 a.m.
2019-02-12 10:25 UTC+0900 ~ Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
> This patch adds missing information about feature-subcommand in
> bpftool.rst
> 
> Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
> ---
> 
> v2: used tabs instead of spaces

Thanks a lot!

Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Daniel Borkmann - Feb. 12, 2019, 4:09 p.m.
On 02/12/2019 11:12 AM, Quentin Monnet wrote:
> 2019-02-12 10:25 UTC+0900 ~ Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
>> This patch adds missing information about feature-subcommand in
>> bpftool.rst
>>
>> Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
>> ---
>>
>> v2: used tabs instead of spaces
> 
> Thanks a lot!
> 
> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>

Applied, thanks!

Patch

diff --git a/tools/bpf/bpftool/Documentation/bpftool.rst b/tools/bpf/bpftool/Documentation/bpftool.rst
index 27153bb816ac..4f2188845dd8 100644
--- a/tools/bpf/bpftool/Documentation/bpftool.rst
+++ b/tools/bpf/bpftool/Documentation/bpftool.rst
@@ -16,7 +16,7 @@  SYNOPSIS
 
 	**bpftool** **version**
 
-	*OBJECT* := { **map** | **program** | **cgroup** | **perf** | **net** }
+	*OBJECT* := { **map** | **program** | **cgroup** | **perf** | **net** | **feature** }
 
 	*OPTIONS* := { { **-V** | **--version** } | { **-h** | **--help** }
 	| { **-j** | **--json** } [{ **-p** | **--pretty** }] }
@@ -34,6 +34,8 @@  SYNOPSIS
 
 	*NET-COMMANDS* := { **show** | **list** | **help** }
 
+	*FEATURE-COMMANDS* := { **probe** | **help** }
+
 DESCRIPTION
 ===========
 	*bpftool* allows for inspection and simple modification of BPF objects