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 96299A00C2; Thu, 3 Nov 2022 15:55:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 36E8C42D0E; Thu, 3 Nov 2022 15:55:03 +0100 (CET) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by mails.dpdk.org (Postfix) with ESMTP id 98FD740223 for ; Mon, 31 Oct 2022 18:27:17 +0100 (CET) Received: by mail-wm1-f46.google.com with SMTP id p16so1974367wmc.3 for ; Mon, 31 Oct 2022 10:27:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=bL95QJjq0p/ztvlqNUQgdnqN4XHCTURbdZseYXju/pE=; b=gi27+dqOxBHVx0XM7ctJLfom4LPwtZcdQmOVgFV+bb2CDdhz7uWoeGv6N4P2o5XNFN mYijQAGUpMfyLTbUZ39quP5HTlFapgL+q9oRooG3ZNON5t2Jx2Sri/y+N24vvgnLQm2c JQOmcWxhyPSNi91LOal0+IE/e0ODHcuv+HUqV1Ci++hpQparvyW/Iby31bjpd7OeUIpk j3oIhy1IgYApOQ4sPFwyJ+JYXR7F+F+wDJke3ZkPgHZU09GmF87gNMJhIs4WloKx4D8O SBCUvWQKcOfsp9c3XCMm1b8y6hWYU6H1FkAmDWxSU8Xba4W7Xvgnqk3rl1lovsVsbz4C SvkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=bL95QJjq0p/ztvlqNUQgdnqN4XHCTURbdZseYXju/pE=; b=jS/FUxJerfR8WfK6J7yICKg9p/McKrASogy8sEyBcOGb9+p3Zyx22iAERE0UMrG7MI JUffjiL3q0tmzrW+WfCPgjrIT+NaBL/OVSBDv8UfFEsDl9s6/qNZxKSLEppsA3ubm8v6 Jgk8ba3V0O8k7DwpOhnvJA7iS5g/ymGOjmRUzPxCKV6g+KnkTkBBXbv3ZjoW7XwtckZg GLj2J1HRWaSmo7wR4YXbrzj2pE9nustvayXy/dsoQ2EHaLl2okfG0wnmf2zRDNhoYVtD KVCRGZPiUadz9acNOOlW6NJcKbGeYdqP5wTAXEQl6zBzB9lUQQUHuvo7A9WiqRWdIx07 Zy3w== X-Gm-Message-State: ACrzQf0B6jWF5kmIFY4EnS+KDtV83jx8DdamBTRw2NPjCg28M1nIkgYC STjdLfyZiqyW/eThrVvai2hryEUkYegapNu1Ccm29lcD X-Google-Smtp-Source: AMsMyM6As2e/3et+mTCZntCKtynV/oavZwbWsou1zhcYKSoeC7zsiO5sj3ZLio2CskjwLDlnKOfOEPpFsPkf9xAfNnI= X-Received: by 2002:a1c:7c03:0:b0:3cf:4969:9bab with SMTP id x3-20020a1c7c03000000b003cf49699babmr8808176wmc.176.1667237236992; Mon, 31 Oct 2022 10:27:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ramakrishnan G Date: Mon, 31 Oct 2022 22:57:05 +0530 Message-ID: Subject: Re: 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="000000000000446df305ec57eb97" X-Mailman-Approved-At: Thu, 03 Nov 2022 15:55:02 +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 --000000000000446df305ec57eb97 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Aaron, DPDK Dev team, pls help in solving this issue. We would like to have the same IP Address for linux and DPDK user space and have the flow type defined for routing the respective port traffic Thanks, Ram On Sat, Oct 29, 2022 at 2:39 AM Ramakrishnan G wrote: > 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.or= g) > ) > > 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 (on= e > 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-133= 53-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 > > > > > > > --000000000000446df305ec57eb97 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Aaron, DPDK Dev team,

pls help in = solving this issue. We would like to have the same IP Address for linux and= DPDK user space and have the flow type defined for routing the respective = port traffic

Thanks,
Ram

=
On Sat, Oc= t 29, 2022 at 2:39 AM Ramakrishnan G <gramakr@gmail.com> wrote:
Dear Aaron and DPDK Dev Team,

Thanks for the Artic= le talks about the Traffic Flow bifurcation between=C2=A0kernel space and u= ser space (DPDK) (3. Flow Bifurcation How-to Guide =E2=80= =94 Data Plane Development Kit 16.07.2 documentation (dpdk.org))
<= div>
We are trying to test this functionality for sending onl= y the SSH (port 22) traffic to kernel and all the other traffic to be trans= ferred to the user space (DPDK) by assigning same IP for both the virtual i= nterface (one virtual interface is owned by the DPDK and another virtual in= terface is owned by the DPDK )

Using the igb drive= r 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 differ= ent IP addresses and we were able to reach from other host.

<= /div>
But when we are trying to configure the flow-type for port 22=C2= =A0

Ubuntu# ethtool -K eth9 ntuple on
Ubuntu## ethtool -N eth9 flow-type ip4 dst-port 22 action 0
rm= gr: Cannot insert RX class rule: Invalid argument
Ubuntu## ethtoo= l -N eth9 flow-type ip4 dst-port 22 action 1
rmgr: Cannot insert = RX class rule: Invalid argument
Ubuntu## ethtool -N eth9 flow-typ= e ip4 dst-port 22 action 2
rmgr: Cannot insert RX class rule: Inv= alid argument

We tried to apply the patch th= at was given in the following link,=C2=A0

But we c= ouldn't patch any of the latest igb driver and we tried to patch with t= he 2016 igb driver.

please help us in sharing the = info where can we apply the patch for igb driver in Ubuntu.

<= /div>
Thanks,
Ram





--000000000000446df305ec57eb97--