Home
last modified time | relevance | path

Searched hist:"15172 a46fa2796c1a1358a36babd31274716ed41" (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/kernel/bpf/
H A Dmap_iter.cdiff 15172a46fa2796c1a1358a36babd31274716ed41 Wed May 13 13:02:19 CDT 2020 Yonghong Song <yhs@fb.com> bpf: net: Refactor bpf_iter target registration

Currently bpf_iter_reg_target takes parameters from target
and allocates memory to save them. This is really not
necessary, esp. in the future we may grow information
passed from targets to bpf_iter manager.

The patch refactors the code so target reg_info
becomes static and bpf_iter manager can just take
a reference to it.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200513180219.2949605-1-yhs@fb.com
H A Dtask_iter.cdiff 15172a46fa2796c1a1358a36babd31274716ed41 Wed May 13 13:02:19 CDT 2020 Yonghong Song <yhs@fb.com> bpf: net: Refactor bpf_iter target registration

Currently bpf_iter_reg_target takes parameters from target
and allocates memory to save them. This is really not
necessary, esp. in the future we may grow information
passed from targets to bpf_iter manager.

The patch refactors the code so target reg_info
becomes static and bpf_iter manager can just take
a reference to it.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200513180219.2949605-1-yhs@fb.com
H A Dbpf_iter.cdiff 15172a46fa2796c1a1358a36babd31274716ed41 Wed May 13 13:02:19 CDT 2020 Yonghong Song <yhs@fb.com> bpf: net: Refactor bpf_iter target registration

Currently bpf_iter_reg_target takes parameters from target
and allocates memory to save them. This is really not
necessary, esp. in the future we may grow information
passed from targets to bpf_iter manager.

The patch refactors the code so target reg_info
becomes static and bpf_iter manager can just take
a reference to it.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200513180219.2949605-1-yhs@fb.com
/openbmc/linux/net/netlink/
H A Daf_netlink.cdiff 15172a46fa2796c1a1358a36babd31274716ed41 Wed May 13 13:02:19 CDT 2020 Yonghong Song <yhs@fb.com> bpf: net: Refactor bpf_iter target registration

Currently bpf_iter_reg_target takes parameters from target
and allocates memory to save them. This is really not
necessary, esp. in the future we may grow information
passed from targets to bpf_iter manager.

The patch refactors the code so target reg_info
becomes static and bpf_iter manager can just take
a reference to it.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200513180219.2949605-1-yhs@fb.com
/openbmc/linux/include/linux/
H A Dbpf.hdiff 15172a46fa2796c1a1358a36babd31274716ed41 Wed May 13 13:02:19 CDT 2020 Yonghong Song <yhs@fb.com> bpf: net: Refactor bpf_iter target registration

Currently bpf_iter_reg_target takes parameters from target
and allocates memory to save them. This is really not
necessary, esp. in the future we may grow information
passed from targets to bpf_iter manager.

The patch refactors the code so target reg_info
becomes static and bpf_iter manager can just take
a reference to it.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200513180219.2949605-1-yhs@fb.com
/openbmc/linux/net/ipv6/
H A Droute.cdiff 15172a46fa2796c1a1358a36babd31274716ed41 Wed May 13 13:02:19 CDT 2020 Yonghong Song <yhs@fb.com> bpf: net: Refactor bpf_iter target registration

Currently bpf_iter_reg_target takes parameters from target
and allocates memory to save them. This is really not
necessary, esp. in the future we may grow information
passed from targets to bpf_iter manager.

The patch refactors the code so target reg_info
becomes static and bpf_iter manager can just take
a reference to it.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200513180219.2949605-1-yhs@fb.com