diff options
| author | David S. Miller <davem@davemloft.net> | 2018-05-24 22:20:51 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-05-24 22:20:51 -0400 |
| commit | 90fed9c94625718a3a10db7d1e8e4efe093bbf5f (patch) | |
| tree | 09b3bc9ea679316372b139338179a230105306dc /scripts | |
| parent | 49a473f5b5f54f33e0bd8618158d33f83153c921 (diff) | |
| parent | 10f678683e4026e43524b0492068a371d00fdeed (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
Alexei Starovoitov says:
====================
pull-request: bpf-next 2018-05-24
The following pull-request contains BPF updates for your *net-next* tree.
The main changes are:
1) Björn Töpel cleans up AF_XDP (removes rebind, explicit cache alignment from uapi, etc).
2) David Ahern adds mtu checks to bpf_ipv{4,6}_fib_lookup() helpers.
3) Jesper Dangaard Brouer adds bulking support to ndo_xdp_xmit.
4) Jiong Wang adds support for indirect and arithmetic shifts to NFP
5) Martin KaFai Lau cleans up BTF uapi and makes the btf_header extensible.
6) Mathieu Xhonneux adds an End.BPF action to seg6local with BPF helpers allowing
to edit/grow/shrink a SRH and apply on a packet generic SRv6 actions.
7) Sandipan Das adds support for bpf2bpf function calls in ppc64 JIT.
8) Yonghong Song adds BPF_TASK_FD_QUERY command for introspection of tracing events.
9) other misc fixes from Gustavo A. R. Silva, Sirio Balmelli, John Fastabend, and Magnus Karlsson
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/bpf_helpers_doc.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/bpf_helpers_doc.py b/scripts/bpf_helpers_doc.py index 8f59897fbda1..5010a4d5bfba 100755 --- a/scripts/bpf_helpers_doc.py +++ b/scripts/bpf_helpers_doc.py | |||
| @@ -95,7 +95,7 @@ class HeaderParser(object): | |||
| 95 | return capture.group(1) | 95 | return capture.group(1) |
| 96 | 96 | ||
| 97 | def parse_desc(self): | 97 | def parse_desc(self): |
| 98 | p = re.compile(' \* ?(?:\t| {6,8})Description$') | 98 | p = re.compile(' \* ?(?:\t| {5,8})Description$') |
| 99 | capture = p.match(self.line) | 99 | capture = p.match(self.line) |
| 100 | if not capture: | 100 | if not capture: |
| 101 | # Helper can have empty description and we might be parsing another | 101 | # Helper can have empty description and we might be parsing another |
| @@ -109,7 +109,7 @@ class HeaderParser(object): | |||
| 109 | if self.line == ' *\n': | 109 | if self.line == ' *\n': |
| 110 | desc += '\n' | 110 | desc += '\n' |
| 111 | else: | 111 | else: |
| 112 | p = re.compile(' \* ?(?:\t| {6,8})(?:\t| {8})(.*)') | 112 | p = re.compile(' \* ?(?:\t| {5,8})(?:\t| {8})(.*)') |
| 113 | capture = p.match(self.line) | 113 | capture = p.match(self.line) |
| 114 | if capture: | 114 | if capture: |
| 115 | desc += capture.group(1) + '\n' | 115 | desc += capture.group(1) + '\n' |
| @@ -118,7 +118,7 @@ class HeaderParser(object): | |||
| 118 | return desc | 118 | return desc |
| 119 | 119 | ||
| 120 | def parse_ret(self): | 120 | def parse_ret(self): |
| 121 | p = re.compile(' \* ?(?:\t| {6,8})Return$') | 121 | p = re.compile(' \* ?(?:\t| {5,8})Return$') |
| 122 | capture = p.match(self.line) | 122 | capture = p.match(self.line) |
| 123 | if not capture: | 123 | if not capture: |
| 124 | # Helper can have empty retval and we might be parsing another | 124 | # Helper can have empty retval and we might be parsing another |
| @@ -132,7 +132,7 @@ class HeaderParser(object): | |||
| 132 | if self.line == ' *\n': | 132 | if self.line == ' *\n': |
| 133 | ret += '\n' | 133 | ret += '\n' |
| 134 | else: | 134 | else: |
| 135 | p = re.compile(' \* ?(?:\t| {6,8})(?:\t| {8})(.*)') | 135 | p = re.compile(' \* ?(?:\t| {5,8})(?:\t| {8})(.*)') |
| 136 | capture = p.match(self.line) | 136 | capture = p.match(self.line) |
| 137 | if capture: | 137 | if capture: |
| 138 | ret += capture.group(1) + '\n' | 138 | ret += capture.group(1) + '\n' |
