On Mon, Jun 14, 2021 at 10:48 AM Magnus Karlsson <magnus.karlsson@xxxxxxxxx> wrote: > > On Mon, Jun 14, 2021 at 10:09 AM Jussi Maki <joamaki@xxxxxxxxx> wrote: > > Sounds like a good idea to me to have more shared code in the > > selftests and I don't see a reason not to use the AF_XDP datapath in > > the bonding selftests. I'll look into it this week and get back to > > you. > > Note, that I am currently rewriting a large part of the AF_XDP > selftests making it more amenable to adding various tests. A test is > in my patch set is described as a set of packets to send, a set of > packets that should be received in a certain order with specified > contents, and configuration/setup information for the sender and > receiver. The current code is riddled with test specific if-statements > that make it hard to extend and use generically. So please hold off > for a week or so and review my patch set when I send it to the list. > Better use of your time. Hopefully we can make it fit your bill too > with not too much work. Ok, thanks for the heads up! Looking forward to your patch set.