diff options
author | Thomas Graf <tgraf@suug.ch> | 2016-10-27 11:23:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-29 15:55:13 -0400 |
commit | ebb676daa1a340ccef25eb769aefc09b79c01f8a (patch) | |
tree | 3a12499230e97b4cd2d2b00a140e9fcc62ad7a2e /net/switchdev/switchdev.c | |
parent | 46b5ab1a7cfef72cc15e9de135650851619bc406 (diff) | |
download | linux-ebb676daa1a340ccef25eb769aefc09b79c01f8a.tar.gz linux-ebb676daa1a340ccef25eb769aefc09b79c01f8a.tar.bz2 linux-ebb676daa1a340ccef25eb769aefc09b79c01f8a.zip |
bpf: Print function name in addition to function id
The verifier currently prints raw function ids when printing CALL
instructions or when complaining:
5: (85) call 23
unknown func 23
print a meaningful function name instead:
5: (85) call bpf_redirect#23
unknown func bpf_redirect#23
Moves the function documentation to a single comment and renames all
helpers names in the list to conform to the bpf_ prefix notation so
they can be greped in the kernel source.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions