netdevsim: move sdev specific bpf debugfs files to sdev dir
Some netdevsim bpf debugfs files are per-sdev, yet they are defined per netdevsim instance. Move them under sdev directory. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
af9095f00d
commit
38f58c9723
3 changed files with 13 additions and 13 deletions
|
|
@ -39,6 +39,9 @@ struct netdevsim_shared_dev {
|
|||
|
||||
struct bpf_offload_dev *bpf_dev;
|
||||
|
||||
bool bpf_bind_accept;
|
||||
u32 bpf_bind_verifier_delay;
|
||||
|
||||
struct dentry *ddir_bpf_bound_progs;
|
||||
u32 prog_id_gen;
|
||||
|
||||
|
|
@ -95,9 +98,6 @@ struct netdevsim {
|
|||
struct xdp_attachment_info xdp;
|
||||
struct xdp_attachment_info xdp_hw;
|
||||
|
||||
bool bpf_bind_accept;
|
||||
u32 bpf_bind_verifier_delay;
|
||||
|
||||
bool bpf_tc_accept;
|
||||
bool bpf_tc_non_bound_accept;
|
||||
bool bpf_xdpdrv_accept;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue