Message ID | 20231207172117.3671183-1-dw@davidwei.uk (mailing list archive) |
---|---|
Headers | show |
Series | netdevsim: link and forward skbs between | expand |
"netdevsim: link and forward skbs between" I think it there something wrong with your email client, cutting subjects like this (all of them). Thu, Dec 07, 2023 at 06:21:14PM CET, dw@davidwei.uk wrote: >This patchset adds the ability to link two netdevsim ports together and >forward skbs between them, similar to veth. The goal is to use netdevsim >for testing features e.g. zero copy Rx using io_uring. > >This feature was tested locally on QEMU, and a selftest is included. > >David Wei (3): > netdevsim: allow two netdevsim ports to be connected > netdevsim: forward skbs from one connected port to another > netdevsim: add selftest for forwarding skb between connected ports > > drivers/net/netdevsim/bus.c | 10 ++ > drivers/net/netdevsim/dev.c | 97 +++++++++++++++ > drivers/net/netdevsim/netdev.c | 25 +++- > drivers/net/netdevsim/netdevsim.h | 3 + > .../drivers/net/netdevsim/forward.sh | 111 ++++++++++++++++++ > 5 files changed, 241 insertions(+), 5 deletions(-) > create mode 100755 tools/testing/selftests/drivers/net/netdevsim/forward.sh > >-- >2.39.3 > >
On 2023-12-08 02:13, Jiri Pirko wrote: > "netdevsim: link and forward skbs between" > I think it there something wrong with your email client, cutting > subjects like this (all of them). Apologies, I autoformatted my patch files before git send-email which wrapped all lines including the subject. > > Thu, Dec 07, 2023 at 06:21:14PM CET, dw@davidwei.uk wrote: >> This patchset adds the ability to link two netdevsim ports together and >> forward skbs between them, similar to veth. The goal is to use netdevsim >> for testing features e.g. zero copy Rx using io_uring. >> >> This feature was tested locally on QEMU, and a selftest is included. >> >> David Wei (3): >> netdevsim: allow two netdevsim ports to be connected >> netdevsim: forward skbs from one connected port to another >> netdevsim: add selftest for forwarding skb between connected ports >> >> drivers/net/netdevsim/bus.c | 10 ++ >> drivers/net/netdevsim/dev.c | 97 +++++++++++++++ >> drivers/net/netdevsim/netdev.c | 25 +++- >> drivers/net/netdevsim/netdevsim.h | 3 + >> .../drivers/net/netdevsim/forward.sh | 111 ++++++++++++++++++ >> 5 files changed, 241 insertions(+), 5 deletions(-) >> create mode 100755 tools/testing/selftests/drivers/net/netdevsim/forward.sh >> >> -- >> 2.39.3 >> >>