提交 beaf70b8 编写于 作者: M Markos Chandras 提交者: Ralf Baechle

MIPS: BPF: Use BPF register names to describe the ABI

Use the BPF register names instead of the arch register names to
document how the ABI is structured.
Signed-off-by: NMarkos Chandras <markos.chandras@imgtec.com>
Cc: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Daniel Borkmann <dborkman@redhat.com>
Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
Cc: linux-kernel@vger.kernel.org
Patchwork: http://patchwork.linux-mips.org/patch/10529/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 79a8855c
......@@ -30,10 +30,10 @@
/* ABI
*
* s3 BPF register A
* s4 BPF register X
* s5 *skb
* s6 *scratch memory
* r_A BPF register A
* r_X BPF register X
* r_skb *skb
* r_M *scratch memory
*
* On entry (*bpf_func)(*skb, *filter)
* a0 = MIPS_R_A0 = skb;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册