lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 12 Apr 2019 08:45:14 +0300
From:   David Woodhouse <dwmw2@...radead.org>
To:     Jason Wang <jasowang@...hat.com>,
        Toke Høiland-Jørgensen <toke@...hat.com>,
        netdev@...r.kernel.org
Subject: Re: Tun congestion/BQL

On Fri, 2019-04-12 at 12:26 +0800, Jason Wang wrote:
> Yes, you can refer:
> 
> 1) Qemu hw/virtio/vhost.c or hw/net/vhost_net.c
> 
> 2) dpdk drivers/net/virtio/virtio_user/vhost_kernel_tap.c
> 
> DPDK code seems more compact.
> 
> Basically, the setup of TUN/TAP should be the same, then userspace need 
> to allocate virtio rings and pass them and tap fd to vhost through 
> vhost_net ioctls.

Thanks, I'll take a look. Although I might have to do something about
the server side first. I had been using my client with the kernel's ESP
support on an adjacent identical box, naïvely assuming that the kernel
would be able to keep up with anything that userspace could send.

But ksoftirqd is eating 100% of a single CPU and the kernel is starting
to drop incoming packets already.

Download attachment "smime.p7s" of type "application/x-pkcs7-signature" (5174 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ