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 CB354A0093; Tue, 3 May 2022 11:34:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 705A940C35; Tue, 3 May 2022 11:34:07 +0200 (CEST) Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by mails.dpdk.org (Postfix) with ESMTP id 252AA40691 for ; Tue, 3 May 2022 11:34:06 +0200 (CEST) Received: by mail-io1-f51.google.com with SMTP id g21so18357743iom.13 for ; Tue, 03 May 2022 02:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=kg27rUt0IaKGsHD0h6+GFHsZWT2+NqKeITlufyAFYfs=; b=nPW43o/as71Iq9baEygn1CzQBRNbvjsY5Yb+r8V59KHcxd0Mn/RY1VO0Mm0zwtR2Nx ysauz4LiWA+w6schIg9h93kD3PC18ngAvklUz0u2CCst0i+9KR97dbAZSQlk4poQttBR KmZe6IFT6miVJs5whKCe3NeVsYGsuzMTkj6G5GiDWzE1YkLyV9c5dT62zp6hGi0hCNSK jhNxGsEcnJnXfQdgkRS8xcQwo8jFmwX1RR1ZiKddtauyhxEPSL4m7JoVRjSPMqETH6KV U1ZAGwabSSloz8TpQoJrZYVmfDq2LY2vkekEoclOdZSQOL8kYXSlTcCPm6r7zwA/lcSi bDew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kg27rUt0IaKGsHD0h6+GFHsZWT2+NqKeITlufyAFYfs=; b=cnCaN00CmKrUgOe74SDdS4HqF9xTJ45+sSSy9+zgdu1bk3DNnF0ouH+3o8KtMBRfHm vcVqQHQLl6wO9LfZOl6Lim+vsTIZjt844hscVTaYDuw5ybpNb/kSjW7e1Z53EcBZynbt ZbDIERiDBF1EYsV+QU5l+u2LTslVClvDgbj4zkf9Kqxtf96cZ0ew9TQJuMvw9CdwTOHl esBf68AawwRIIimJLptPKAfFbTFu+q29enYw9dqUFgpbGc9aSl474ZD6O3x7qTCdsPJ8 DjTBtds5c34jSYanFdlaQW8GcQ69ySQkVVDAfdg/3A4Xhl28BcM/hsaNNq47TB8JEQRL urSA== X-Gm-Message-State: AOAM5314WRCyI3IbJsS9K7W0ggO4WsLQh5XRJNVmzqimRZrYJRe0KhwI IyVGckiuoCKpxNKBwOQt7oMnBHPEaonP9bjesWm7ufb8WwA= X-Google-Smtp-Source: ABdhPJxO6uOO1V3SpznkwyCO0SEIZgvCSxkl4uqS0C2t2wgZq7Bb7uij+6wVAiZh1Nst7lgwanqtlTubhd2B8KVM6K0= X-Received: by 2002:a05:6638:1927:b0:32b:7441:1341 with SMTP id p39-20020a056638192700b0032b74411341mr2575209jal.181.1651570444620; Tue, 03 May 2022 02:34:04 -0700 (PDT) MIME-Version: 1.0 From: Maxime Ramiara Date: Tue, 3 May 2022 11:33:53 +0200 Message-ID: Subject: Softnic test failed + questions To: dev@dpdk.org Content-Type: multipart/alternative; boundary="000000000000ac574e05de183544" 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 --000000000000ac574e05de183544 Content-Type: text/plain; charset="UTF-8" Hi all, I'm a beginner with dpdk. With my team, we developed a dpdk app with the following pipeline: NIC RX -> RX Thread -> Worker Thread -> TX Thread -> NIC TX. Within the RX Thread, we parse some headers. Within the worker thread, we're using the hierarchical scheduler. To sum up, we want to replace the HS with the traffic manager. However, it seems the TM can only be set up on a NIC. This is not what we want because we're doing some packet processing stuff within the TX Thread. Thus, we thought about the SoftNIC as a solution for our problem. Would it be possible to develop a pipeline like this ? NIC RX -> RX Thread -> SoftNIC with TM -> Worker Thread -> TX Thread -> NIC TX. It looks like the "firmware.cli" script and the packet framework offer us some freedom to make our pipeline. First and foremost, I tried to test the SoftNIC with the following command in the doc : ./testpmd -c 0x3 --vdev 'net_softnic0,firmware=