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 393B4A00C5; Mon, 31 Oct 2022 14:04:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1E0E140223; Mon, 31 Oct 2022 14:04:37 +0100 (CET) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by mails.dpdk.org (Postfix) with ESMTP id CA6B740146 for ; Fri, 28 Oct 2022 23:09:13 +0200 (CEST) Received: by mail-wm1-f52.google.com with SMTP id r186-20020a1c44c3000000b003cf4d389c41so4516220wma.3 for ; Fri, 28 Oct 2022 14:09:13 -0700 (PDT) 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=A9vI/KDhnV3G/qaHM6BC67DXVjjV8dSihr13RvwKdY0=; b=ppnzProNnJVySftU0V77vIILO1ZKdMGvVWp2q40DT3wkUrqNilmI/afqT5F/ODwWAa KETpcuZXUY9eIjfsIwD+SZSNGMudg7cXMr11k2ENl+KFNgJlCxueDceC+B02TT2RYrsE YWXiocoTMDLFkDovacMeySQSfQ0JB8BCThxFl9qnkngZ+9dTyF+ZK5EBB05z8aKmt7l9 MYZiNB6Y8qPZJpg4HALdVIQlAgaP/03H3fdFx+GBuYu/xkftkYsptkww7KHt98QWMDH0 h6nl4Ld0OUlbpEhEl2ZTE2DD1ikYgJomRGxT5EmM+g5P8qSV6OC9uaZDFJFYGUE2RjfR dJzA== 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=A9vI/KDhnV3G/qaHM6BC67DXVjjV8dSihr13RvwKdY0=; b=qBKC0Qannw8XGOYVKnAVPhUUZwaOKkMQCQHlIOcm//7YQu/XH913b3ElrXQKlHRQwo aYOF1q4H36Oq1dd14wgKsrUbmy5j6WJtag7PFsgrZ1uZvYxepJ2PyANu8cORgCJ+jkgl c3DJWajy2/q+OLWB9FZQLwvg486RT/phRDJlRfYii7u2TT/kuWIDxLCHon4MOnSWEpWN Zw0AYtERS4m9KGScznC2TM8HdCahvYKJZbEd6oNfG8+VBLBhfzFF9DhERIEudJr/aF5H UqustkghBfRmt493kzWCMZJhnctDUQm6xi3q369vPjmKa8nSqa3NvUL32GOeqaQHoprK d6hQ== X-Gm-Message-State: ACrzQf3fMrxgiNm4vvoKOF6kgd1BhkfTDHu4ir5AyLlqOffPZjU0RQiK lmt/rDRwaujylE/wgl4eftMsSEPs4GA9v1WF9o4= X-Google-Smtp-Source: AMsMyM7fC/lsNRLEoNsMuuL0+JJ9L5qW0tX3k2APPq1XQu9668v9cAGbmaGon14yy8MahrEG3kSNV3jGJROwkuWloPA= X-Received: by 2002:a1c:7c03:0:b0:3cf:4969:9bab with SMTP id x3-20020a1c7c03000000b003cf49699babmr695290wmc.176.1666991353176; Fri, 28 Oct 2022 14:09:13 -0700 (PDT) MIME-Version: 1.0 From: Ramakrishnan G Date: Sat, 29 Oct 2022 02:39:01 +0530 Message-ID: Subject: Flow Bifurcation of splitting the traffic between kernel space and user space (DPDK) To: aaron.f.brown@intel.com, dev@dpdk.org, saravana3@gmail.com Content-Type: multipart/alternative; boundary="00000000000073275105ec1eab2b" X-Mailman-Approved-At: Mon, 31 Oct 2022 14:04:36 +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 --00000000000073275105ec1eab2b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Aaron and DPDK Dev Team, Thanks for the Article talks about the Traffic Flow bifurcation between kernel space and user space (DPDK) (3. Flow Bifurcation How-to Guide =E2=80=94 Data Plane Development Kit 16.07.2 documentation (dpdk.org) ) We are trying to test this functionality for sending only the SSH (port 22) traffic to kernel and all the other traffic to be transferred to the user space (DPDK) by assigning same IP for both the virtual interface (one virtual interface is owned by the DPDK and another virtual interface is owned by the DPDK ) Using the igb driver with max_vfs setting, we were able to create the virtual link and map it to user space (DPDK) and another link into kernel space. we assigned different IP addresses and we were able to reach from other host. But when we are trying to configure the flow-type for port 22 Ubuntu# ethtool -K eth9 ntuple on Ubuntu## ethtool -N eth9 flow-type ip4 dst-port 22 action 0 rmgr: Cannot insert RX class rule: Invalid argument Ubuntu## ethtool -N eth9 flow-type ip4 dst-port 22 action 1 rmgr: Cannot insert RX class rule: Invalid argument Ubuntu## ethtool -N eth9 flow-type ip4 dst-port 22 action 2 rmgr: Cannot insert RX class rule: Invalid argument We tried to apply the patch that was given in the following link, ( https://patchwork.ozlabs.org/project/intel-wired-lan/patch/1451456399-13353= -1-git-send-email-gangfeng.huang@ni.com/#1236040 ) But we couldn't patch any of the latest igb driver and we tried to patch with the 2016 igb driver. please help us in sharing the info where can we apply the patch for igb driver in Ubuntu. Thanks, Ram --00000000000073275105ec1eab2b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Aaron and= DPDK Dev Team,

Thanks for the Article talks about the T= raffic Flow bifurcation between=C2=A0kernel space and user space (DPDK) (3. = Flow Bifurcation How-to Guide =E2=80=94 Data Plane Development Kit 16.07.2 = documentation (dpdk.org))

We are trying to tes= t this functionality for sending only the SSH (port 22) traffic to kernel a= nd all the other traffic to be transferred to the user space (DPDK) by assi= gning same IP for both the virtual interface (one virtual interface is owne= d by the DPDK and another virtual interface is owned by the DPDK )

Using the igb driver with max_vfs setting, we were able to= create the virtual link and map it to user space (DPDK) and another link i= nto kernel space. we assigned different IP addresses and we were able to re= ach from other host.

But when we are trying to con= figure the flow-type for port 22=C2=A0

Ubuntu= # ethtool -K eth9 ntuple on
Ubuntu## ethtool -N eth9 flow-type ip= 4 dst-port 22 action 0
rmgr: Cannot insert RX class rule: Invalid= argument
Ubuntu## ethtool -N eth9 flow-type ip4 dst-port 22 acti= on 1
rmgr: Cannot insert RX class rule: Invalid argument
Ubuntu## ethtool -N eth9 flow-type ip4 dst-port 22 action 2
rmg= r: Cannot insert RX class rule: Invalid argument

=
We tried to apply the patch that was given in the following link,=C2= =A0
(