Re: [PATCH bpf-next 3/3] selftests/bpf: Add tests for XDP bonding
From: Jussi Maki <hidden>
Date: 2021-06-14 12:20:43
Also in:
bpf
From: Jussi Maki <hidden>
Date: 2021-06-14 12:20:43
Also in:
bpf
On Mon, Jun 14, 2021 at 10:48 AM Magnus Karlsson [off-list ref] wrote:
On Mon, Jun 14, 2021 at 10:09 AM Jussi Maki [off-list ref] wrote:quoted
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.