Message ID | 160703131710.162669.9632344967082582016.stgit@toke.dk |
---|---|
Headers | show |
Series | selftests/bpf: Restore test_offload.py to working order | expand |
On Thu, 03 Dec 2020 22:35:20 +0100 Toke Høiland-Jørgensen wrote: > diff --git a/drivers/net/netdevsim/netdevsim.h b/drivers/net/netdevsim/netdevsim.h > index 827fc80f50a0..d1d329af3e61 100644 > --- a/drivers/net/netdevsim/netdevsim.h > +++ b/drivers/net/netdevsim/netdevsim.h > @@ -190,6 +190,7 @@ struct nsim_dev { > struct bpf_offload_dev *bpf_dev; > bool bpf_bind_accept; > u32 bpf_bind_verifier_delay; > + bool bpf_bind_verifier_accept; > struct dentry *ddir_bpf_bound_progs; nit: if you respin please reorder the bpf_bind_verifier_* fields so that the structure packs better. Acked-by: Jakub Kicinski <kuba@kernel.org> Thanks for fixing this test!
Jakub Kicinski <kuba@kernel.org> writes: > On Thu, 03 Dec 2020 22:35:20 +0100 Toke Høiland-Jørgensen wrote: >> diff --git a/drivers/net/netdevsim/netdevsim.h b/drivers/net/netdevsim/netdevsim.h >> index 827fc80f50a0..d1d329af3e61 100644 >> --- a/drivers/net/netdevsim/netdevsim.h >> +++ b/drivers/net/netdevsim/netdevsim.h >> @@ -190,6 +190,7 @@ struct nsim_dev { >> struct bpf_offload_dev *bpf_dev; >> bool bpf_bind_accept; >> u32 bpf_bind_verifier_delay; >> + bool bpf_bind_verifier_accept; >> struct dentry *ddir_bpf_bound_progs; > > nit: if you respin please reorder the bpf_bind_verifier_* fields so > that the structure packs better. Ah, good point, will do! > Acked-by: Jakub Kicinski <kuba@kernel.org> > > Thanks for fixing this test! You're welcome :) I'll see if I can't get our CI people to also run it regularly so we can avoid it regressing again... -Toke