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 2C02342483; Wed, 25 Jan 2023 11:13:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E239942D59; Wed, 25 Jan 2023 11:13:12 +0100 (CET) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mails.dpdk.org (Postfix) with ESMTP id 2030E400EF for ; Tue, 24 Jan 2023 08:55:16 +0100 (CET) Received: by mail-wm1-f51.google.com with SMTP id d4-20020a05600c3ac400b003db1de2aef0so10261413wms.2 for ; Mon, 23 Jan 2023 23:55:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FwkwStN9kRHMq99dQe5zJfAUv0KgvqhAnt+AyjeXTac=; b=mXkqO+Mey/E2woah5xTxcN+YpkMxrUH2jYQSQp4Tx+Yqtn6/IAKs7TLeDdgs/0mbhq g0dK/lbOEu8BmKTViG7LViWI7oC5ZvqdEwuNrwylCefngQoES+MDAMPCOOlgeyQT/Z26 yzqOomzx1q5ui9sKZkOr0HqChVs/SAyNT+vxGHJG0I7xkJ8DKyOvVHqgvtakV1Nx/FY7 s3Xd5on/b2GM3+oAjF+E7wGogE85GglZY5JkatUFL7/ajGCyq0KEhrroq9/7YQ823FJe O8bxIUzV/sY8BMOVqnXK+7cokRYdhUaorKJv7ozw1vyKs36VDy7nUyUli6Eegwqw1vl1 mxiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=FwkwStN9kRHMq99dQe5zJfAUv0KgvqhAnt+AyjeXTac=; b=0MQ2aca8Qa+DnGZv1fWKdBOwpgqW/ZxPmzT7gt6uPWdsoF+IlVSt0xGo85xym8JUSH LNmOEP8sfBs95u2hUBdbz76HrUlRK0GdoOv1bqFHzyCpzUW8r5uwHeKwHkHtKUcG/PlQ G9dAzxlT1+L/OCXCzFxGAWCrH4x+dBiUcnwURl39X2M17bRWsi76/e9qohMbs5451XXv C/ttK26jLksVG0NQ3o5drAl2Tcc7/17sLQ1gNkx7d++5IgrLvRSxcx3PmP9Ser+nv4eQ dqPhgXAby2P9YieMFbQvkSfl0aHTPEjMcPwqbec8V/pGQ+x1Zli89AbJwk++ECTz5I5m FbYQ== X-Gm-Message-State: AFqh2kpgV8j3q6j6zEtnBQYCa0QjuPYDTREvRUkzHcOWVdZQElKVcyq1 GGMkR34JzfYhr44w87WyZmaLjd7+I1UOobDucRngDT6q X-Google-Smtp-Source: AMrXdXsOlPBc6lfxGbyRIIBjiDsNta1F3z35IblqGczj0bQqbSIhuZu9w7pF+yMP0Q1afcrq+bbrxrygnujon8iFaxU= X-Received: by 2002:a05:600c:c19:b0:3db:e13:6291 with SMTP id fm25-20020a05600c0c1900b003db0e136291mr1367793wmb.110.1674546915612; Mon, 23 Jan 2023 23:55:15 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Sam Kirubakaran Date: Tue, 24 Jan 2023 13:24:38 +0530 Message-ID: Subject: Re: TCP stack support on DPDK To: Liang Ma Cc: dev@dpdk.org Content-Type: multipart/alternative; boundary="000000000000109dd705f2fdd66f" X-Mailman-Approved-At: Wed, 25 Jan 2023 11:13:11 +0100 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 --000000000000109dd705f2fdd66f Content-Type: text/plain; charset="UTF-8" Hi Liang, Thank you so much for your response. I would like to convert our in-house tool into a high performance traffic generator and it is written in Python. Is it possible to use any of the user space TCP stack by compiling into shared libraries and access it via Python using ctypes? Could you please let me know any viable solution to make use of user space TCP stack compatible with Python? Regards, Sam On Mon, Jan 23, 2023 at 3:48 PM Liang Ma wrote: > On Fri, Jan 20, 2023 at 01:41:56PM +0530, Sam Kirubakaran wrote: > > Hi team, > > > > My name is Sam and I am a Software Engineer. > > Currently, we are trying to improve the performance of proprietary > in-house > > tools by using DPDK but we are not sure whether DPDK has support for TCP > > stack. > > If yes, could you please point me to the link of apis alone. I will take > it > > from there. > > Could you please guide me on this? Your response would be highly > > appreciated! > DPDK itself has no TCP stack. However, there are some userspace TCP > stack project which support DPDK. TPDK/Seastar/fullstack etc. > > > > Regards, > > Sam > --000000000000109dd705f2fdd66f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Liang,=C2=A0

Thank you so much for y= our response.
I would like to convert our in-house tool into a hi= gh performance traffic generator and it is written in Python.
Is = it possible to use any of the user space=C2=A0TCP stack by compiling=C2=A0i= nto shared libraries and access it via Python using ctypes?
Could= you please let me know any viable solution to make use of user space TCP s= tack compatible with Python?

Regards,
Sa= m

On Mon, Jan 23, 2023 at 3:48 PM Liang Ma <liangma@liangbit.com> wrote:
On Fri, Jan 20, 2023 at 01:41:56PM +05= 30, Sam Kirubakaran wrote:
> Hi team,
>
> My name is Sam and I am a Software Engineer.
> Currently, we are trying to improve the performance of proprietary in-= house
> tools by using DPDK but we are not sure whether DPDK has support for T= CP
> stack.
> If yes, could you please point me to the link of apis alone. I will ta= ke it
> from there.
> Could you please guide me on this? Your response would be highly
> appreciated!
DPDK itself has no TCP stack. However, there are some userspace TCP
stack project which support DPDK. TPDK/Seastar/fullstack etc.
>
> Regards,
> Sam
--000000000000109dd705f2fdd66f--