netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][net-next] Documentation: replace __sk_run_filter with __bpf_prog_run
@ 2014-10-10  3:36 roy.qing.li
  2014-10-10  4:20 ` Alexei Starovoitov
  2014-10-10 19:11 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: roy.qing.li @ 2014-10-10  3:36 UTC (permalink / raw)
  To: netdev

From: Li RongQing <roy.qing.li@gmail.com> 

__sk_run_filter has been renamed as __bpf_prog_run, so replace them in comments

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
---
 Documentation/networking/filter.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/networking/filter.txt b/Documentation/networking/filter.txt
index 5ce4d07..c22b797 100644
--- a/Documentation/networking/filter.txt
+++ b/Documentation/networking/filter.txt
@@ -700,11 +700,11 @@ Some core changes of the new internal format:
     bpf_exit
 
   If f2 is JITed and the pointer stored to '_f2'. The calls f1 -> f2 -> f3 and
-  returns will be seamless. Without JIT, __sk_run_filter() interpreter needs to
+  returns will be seamless. Without JIT, __bpf_prog_run() interpreter needs to
   be used to call into f2.
 
   For practical reasons all eBPF programs have only one argument 'ctx' which is
-  already placed into R1 (e.g. on __sk_run_filter() startup) and the programs
+  already placed into R1 (e.g. on __bpf_prog_run() startup) and the programs
   can call kernel functions with up to 5 arguments. Calls with 6 or more arguments
   are currently not supported, but these restrictions can be lifted if necessary
   in the future.
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH][net-next] Documentation: replace __sk_run_filter with __bpf_prog_run
  2014-10-10  3:36 [PATCH][net-next] Documentation: replace __sk_run_filter with __bpf_prog_run roy.qing.li
@ 2014-10-10  4:20 ` Alexei Starovoitov
  2014-10-10 19:11 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Alexei Starovoitov @ 2014-10-10  4:20 UTC (permalink / raw)
  To: roy.qing.li, Daniel Borkmann; +Cc: netdev@vger.kernel.org

On Thu, Oct 9, 2014 at 8:36 PM,  <roy.qing.li@gmail.com> wrote:
> From: Li RongQing <roy.qing.li@gmail.com>
>
> __sk_run_filter has been renamed as __bpf_prog_run, so replace them in comments
>
> Signed-off-by: Li RongQing <roy.qing.li@gmail.com>

Acked-by: Alexei Starovoitov <ast@plumgrid.com>

> ---
>  Documentation/networking/filter.txt |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/networking/filter.txt b/Documentation/networking/filter.txt
> index 5ce4d07..c22b797 100644
> --- a/Documentation/networking/filter.txt
> +++ b/Documentation/networking/filter.txt
> @@ -700,11 +700,11 @@ Some core changes of the new internal format:
>      bpf_exit
>
>    If f2 is JITed and the pointer stored to '_f2'. The calls f1 -> f2 -> f3 and
> -  returns will be seamless. Without JIT, __sk_run_filter() interpreter needs to
> +  returns will be seamless. Without JIT, __bpf_prog_run() interpreter needs to
>    be used to call into f2.
>
>    For practical reasons all eBPF programs have only one argument 'ctx' which is
> -  already placed into R1 (e.g. on __sk_run_filter() startup) and the programs
> +  already placed into R1 (e.g. on __bpf_prog_run() startup) and the programs
>    can call kernel functions with up to 5 arguments. Calls with 6 or more arguments
>    are currently not supported, but these restrictions can be lifted if necessary
>    in the future.
> --
> 1.7.10.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][net-next] Documentation: replace __sk_run_filter with __bpf_prog_run
  2014-10-10  3:36 [PATCH][net-next] Documentation: replace __sk_run_filter with __bpf_prog_run roy.qing.li
  2014-10-10  4:20 ` Alexei Starovoitov
@ 2014-10-10 19:11 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2014-10-10 19:11 UTC (permalink / raw)
  To: roy.qing.li; +Cc: netdev

From: roy.qing.li@gmail.com
Date: Fri, 10 Oct 2014 11:36:54 +0800

> From: Li RongQing <roy.qing.li@gmail.com> 
> 
> __sk_run_filter has been renamed as __bpf_prog_run, so replace them in comments
> 
> Signed-off-by: Li RongQing <roy.qing.li@gmail.com>

Applied.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-10 19:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-10  3:36 [PATCH][net-next] Documentation: replace __sk_run_filter with __bpf_prog_run roy.qing.li
2014-10-10  4:20 ` Alexei Starovoitov
2014-10-10 19:11 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).