From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5B65941C43 for ; Wed, 8 Feb 2023 20:46:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD7854014F; Wed, 8 Feb 2023 20:46:33 +0100 (CET) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by mails.dpdk.org (Postfix) with ESMTP id CF1DE40141 for ; Wed, 8 Feb 2023 20:46:31 +0100 (CET) Received: by mail-lf1-f47.google.com with SMTP id h24so29713lfv.6 for ; Wed, 08 Feb 2023 11:46:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=COjda2S/Nau5uZ43X6Jg7ojPgAjIYLMK97cyojJr68E=; b=jmlTzMMsBlHnUjjYG0C8UoIV84tgaqphbORYKulm75xPBsOd+vxu1Uk2EYjgiiwQqE B5eH0mpJnrAd7sBY5RIHtNOhZTJsuIR6uNaBGI462+zqswL4yP0h6od86vrj8zYTM2J4 bnruMKbGF2qCDE4dTBMWLhN9Ha5wZbDv1k6PWvW0PlT2yNogD7cNavMd/0oRFDnmwLmy 0qGuHUcP3b5y7TNQqilSk1DSzV1zANt/ZMi2CFjkcNoiYxVK3lPMoFvy+DHDtjthiA3G gV+GREJmzWj9qL9HHoRbI3U+aD5oP34CWxm7+oeQ+d7SHh3rlz9k0DYLb54K9WbWkQOi zutw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=COjda2S/Nau5uZ43X6Jg7ojPgAjIYLMK97cyojJr68E=; b=X98ek0vbE9x9LfUfIyUpYqYkpUvVbeSsw3gY8sqYj00LBawudZWSReniHnykdaBNFs XJQpxJLSySzKg4RAuo9HbeO1A1sJU2didT4ABGvr1Ke6j10GhWappI1lKTIT322C6eHl +HKvzuAClsoiHIt0cmIH8/0TgsUm/IzObfO1SoY9QXliYmmn5KSM4IeaMxzUwIU/JVnS Gw3w5AJiN8TTvIFJZK4GX7I79ivPhPtGm+uNg1t/TxcnT5OPkx2X1OWYxyFvsKtx8u7N 4+ofeX32gNeqEUAwqDMU2t4TMxMk30+3H4q23wXEV4w/WHyzeb1ARXz8AsF6Bjgzy5A0 hoGw== X-Gm-Message-State: AO0yUKV0dIaSJwaIryGKnOpQwllLVihwbQitpPj5g9K8wB8wEUmoaaMN 4gimeywesA2nDOE8WPSG3MKWy3dNB77rLgKiF64hnirkP8I= X-Google-Smtp-Source: AK7set+L5k8iSb38uvuALGZA6hv76ttYT3CF3VW/IHHww1SfzgiiZobrVHSMsjC8BEnoxvrO/XNJDg6/Vtvi87a480M= X-Received: by 2002:ac2:53a5:0:b0:4b6:f2a8:884e with SMTP id j5-20020ac253a5000000b004b6f2a8884emr1375357lfh.191.1675885590844; Wed, 08 Feb 2023 11:46:30 -0800 (PST) MIME-Version: 1.0 From: Ken Cox Date: Wed, 8 Feb 2023 14:46:19 -0500 Message-ID: Subject: Porting application from libevent To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000539b4d05f4358549" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --000000000000539b4d05f4358549 Content-Type: text/plain; charset="UTF-8" I have several server applications based on libevent ( https://github.com/libevent/libevent) that use high-resolution timers, UDP, and TCP sockets. Right now they run on SR-IOV instances and I would like to port these to DPDK to get access to bonded interfaces. Any advice? I read most of the DPDK Programmer's Guide, and looked at the Event Device Library, but it is quite low-level and will entail a substantial amount of rework. I looked at dpdk-ans (https://github.com/ansyun/dpdk-ans), which provides a socket API on top of DPDK, but it seems to be not recently maintained. I also looked at seastar (https://github.com/scylladb/seastar), which provides an event-driven framework on top of DPDK, but it would require a complete rewrite from libevent to futures and C++17. Any advice would be very much appreciated! -- -Ken --000000000000539b4d05f4358549 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have several=C2=A0server applications based on libevent = (https://github.com/libeve= nt/libevent) that use high-resolution timers, UDP, and TCP sockets.=C2= =A0 Right now they run on SR-IOV instances and I would like to port these t= o DPDK to get access to bonded interfaces.=C2=A0 Any advice?

=
I read most of the DPDK Programmer's Guide, and looked at the Even= t Device Library, but it is quite low-level and will entail a substantial a= mount of rework.
I looked at dpdk-ans (https://github.com/ansyun/dpdk-ans), which=C2=A0pr= ovides a socket API on top of DPDK, but it seems to be not recently maintai= ned.
I also looked at seastar (https://github.com/scylladb/seastar), which provides an e= vent-driven framework on top of DPDK, but it would require a complete rewri= te from libevent to futures and C++17.

Any ad= vice would be very much appreciated!

--
<= div>
-Ken

--000000000000539b4d05f4358549--