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 5C6B6436C8; Mon, 11 Dec 2023 14:40:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 05E09402CF; Mon, 11 Dec 2023 14:40:48 +0100 (CET) Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com [209.85.160.181]) by mails.dpdk.org (Postfix) with ESMTP id 9B70E40289 for ; Mon, 11 Dec 2023 14:40:46 +0100 (CET) Received: by mail-qt1-f181.google.com with SMTP id d75a77b69052e-4258026a9fdso28093261cf.0 for ; Mon, 11 Dec 2023 05:40:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702302046; x=1702906846; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HBW4fdwORC0mH3grP9cM2x3wJpsz3C1Nd3G7rQvY0Kw=; b=BIXnpjmG1Dmd3ssjhRE44K5ZOw/eYr881gJDeNlamisk53io6C01RDw0aLghz6tvNm 0vPBkLWksTej8ONFDMh4J1gr3/rTk0g9LftgQ988oOyd88AuLms1fi5hqpOnf1obOdSN XKf3k9cJyoyFJlq2dkNEJs+EGqQCsWkeowb6l1oLMWKJSerwHmwpUdbmMucHHpWOimg4 HnVdAtLTl80sey7q/FicZyWKU1xXpTr60ez0p+HPJmziUZ9Qrh5gzyrpCS/2qK/ZatCq jLqa6s1TDOSDtbtAIo4+/Us+WoT24a/g/nrdAfoI0JiTHhO9MvRVtmoNfKn5oUHUwWxX EHZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702302046; x=1702906846; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HBW4fdwORC0mH3grP9cM2x3wJpsz3C1Nd3G7rQvY0Kw=; b=LWF/yDXWj2g/S0Fj7CFYokDWL/y54azkAhoRQCqOxwTCf6oZeuI7IA2uZy/ZypwLKH Yme9Pvay9dH/PCyQkbswS1LI0ZiyWLiFOROhebvAzovmMSeeuMdczpW8+yamBWzlqiNt ORuwYgdWrs2AUL3rBO39nptqG6mrxYq+X0+oSwtM+XztuoK8fv4lDPTCECjp2EduRZd7 CsVj4KOHtcjYtXVha7BritBurXo4GExHEpxLaU+f4ogiu1ncrLR3LE8mgs4GP8P9kNZz zXN8Ej447MsvKI95ENj2DQEsGfxm9xij5bzkUZxMMCN150BSqurUuZrJIx6hOqaDH4YQ l+Vw== X-Gm-Message-State: AOJu0YxZSDR8sU8vPT6C7pnVBCxuKqn+is6LTQ38g9z0Qb6h9GcberxJ ns6Z8puKvUWbbsZDV3etRZk3abxfQQJIGygrK9s= X-Google-Smtp-Source: AGHT+IHu3oKKZWDNeFlOSihitEOj/Q+/50ECap6JSgfWHQ6wxxGK5V8jdU5f5Is4/LAsw8y3uyTMVupTgCTRQC4EjDI= X-Received: by 2002:a05:622a:60c:b0:425:4043:29e5 with SMTP id z12-20020a05622a060c00b00425404329e5mr5562802qta.96.1702302045883; Mon, 11 Dec 2023 05:40:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jerin Jacob Date: Mon, 11 Dec 2023 19:10:19 +0530 Message-ID: Subject: Re: [EXT] Libtpa: a DPDK based userspace TCP stack implementation To: Yuanhan Liu Cc: Jerin Jacob Kollanukkaran , "libtpa@googlegroups.com" , "dev@dpdk.org" , Yuanhan Liu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, Dec 11, 2023 at 5:48=E2=80=AFPM Yuanhan Liu = wrote: > > On Mon, Dec 11, 2023 at 11:32:16AM +0000, Jerin Jacob Kollanukkaran wrote= : > > > > > > > -----Original Message----- > > > From: Yuanhan Liu > > > Sent: Monday, December 11, 2023 3:27 PM > > > To: libtpa@googlegroups.com > > > Cc: dev@dpdk.org; Yuanhan Liu > > > Subject: [EXT] Libtpa: a DPDK based userspace TCP stack implementatio= n > > > > > > External Email > > > > > > ---------------------------------------------------------------------= - > > > Hi all, > > > > > > I'd like to share a new DPDK open source project, libtpa(Transport Pr= otocol > > > Acceleration)[0], which is just another userspace TCP stack implement= ation so > > > far, written from scratch. > > > > > > I started this project 3 years ago, while I was searching for a feasi= ble open > > > source project with no luck. There were indeed quite a few options, b= ut none of > > > them actually met my needs. I then started writing one. Likely, there= are still > > > other guys out there looking for a high performance and stable usersp= ace TCP > > > stack. This is what this email and libtpa for. > > > > Great Yuanhan. > > > > If you have time and willing to put effort, I suggest make this part of= dpdk code base > > as new library (tcp or so) and leverage + improve another existing libr= ary such ip_frag. > > > > I believe, that is only way. > > - This code soon won't soon outdated based on new DPDK version > > - More community review and contributors > > - More review and features from NIC vendors PoV. > > - More arch and driver support. > > - More quality > > Hi Jerin, > > Thanks for you suggestion and these really are good points! > > Although libtpa is currently designed as a libray, I doubt it would suit > well as a new library to DPDK. Just taking the code base an example, I think, number of line won't be a concern for upstreaming > libtpa so far is about 27K lines of code. The TCP part is only about > 3K lines of code. All the rest are codes supporting the TCP part, such > as sock tracing, mem file, mem file auto archive, etc. You can look I think, key piece would be split the code as reusable library(like mem file)and leverage existing libraries like eal trace. DPDK standardized the new library addition process without doing a lot of throw away code. See https://doc.dpdk.org/guides/contributing/new_library.html > more from the internals page (or even read the code ;) > > https://github.com/bytedance/libtpa/blob/main/doc/internals.rst > > Thanks, > Yuanhan Liu > > > > > > Just my 2c. > > > > -- > > You received this message because you are subscribed to the Google Grou= ps "libtpa" group. > > To unsubscribe from this group and stop receiving emails from it, send = an email to libtpa+unsubscribe@googlegroups.com. > > To view this discussion on the web visit https://groups.google.com/d/ms= gid/libtpa/BY3PR18MB478592AF236C7BBDB0285E3CC88FA%40BY3PR18MB4785.namprd18.= prod.outlook.com. > > For more options, visit https://groups.google.com/d/optout.