diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-01-11 23:29:07 -0500 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-01-14 17:36:29 -0500 |
commit | 0a9c1991f285f829fd786fa2a9c824c2a3f87bc6 (patch) | |
tree | faf719e6253b4eaa3e60a17835ac4e031661862a /include/linux/bpf.h | |
parent | bd475643d74e8ed78bfd36d941053b0e45974e8e (diff) |
bpf: rename bpf_dev_offload -> bpf_prog_offload
With map offload coming, we need to call program offload structure
something less ambiguous. Pure rename, no functional changes.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'include/linux/bpf.h')
-rw-r--r-- | include/linux/bpf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/bpf.h b/include/linux/bpf.h index c60ddfb34d41..9fff1ace1d8e 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h | |||
@@ -200,7 +200,7 @@ struct bpf_prog_offload_ops { | |||
200 | int insn_idx, int prev_insn_idx); | 200 | int insn_idx, int prev_insn_idx); |
201 | }; | 201 | }; |
202 | 202 | ||
203 | struct bpf_dev_offload { | 203 | struct bpf_prog_offload { |
204 | struct bpf_prog *prog; | 204 | struct bpf_prog *prog; |
205 | struct net_device *netdev; | 205 | struct net_device *netdev; |
206 | void *dev_priv; | 206 | void *dev_priv; |
@@ -230,7 +230,7 @@ struct bpf_prog_aux { | |||
230 | #ifdef CONFIG_SECURITY | 230 | #ifdef CONFIG_SECURITY |
231 | void *security; | 231 | void *security; |
232 | #endif | 232 | #endif |
233 | struct bpf_dev_offload *offload; | 233 | struct bpf_prog_offload *offload; |
234 | union { | 234 | union { |
235 | struct work_struct work; | 235 | struct work_struct work; |
236 | struct rcu_head rcu; | 236 | struct rcu_head rcu; |