[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dpdk-dev
Subject:    Re: Flow Bifurcation of splitting the traffic between kernel space and user space (DPDK)
From:       Ramakrishnan G <gramakr () gmail ! com>
Date:       2022-10-31 17:39:05
Message-ID: CAFBoL6oZxQ=Yi-OsSb8y2PB=eFDHa-jvPAFsxTCkPv5-zWksrg () mail ! gmail ! com
[Download RAW message or body]

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 <gramakr@gmail.com> 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 — Data Plane Development Kit 16.07.2 documentation (dpdk.org)
> <https://doc.dpdk.org/guides-16.07/howto/flow_bifurcation.html>)
> 
> 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
> 
> 
> 
> 
> 
> 
> 


[Attachment #3 (text/html)]

<div dir="ltr">Dear Aaron, DPDK Dev team,<div><br></div><div>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</div><div><br></div><div>Thanks,</div><div>Ram</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 29, 2022 at 2:39 AM \
Ramakrishnan G &lt;<a href="mailto:gramakr@gmail.com">gramakr@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div \
dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><div dir="ltr">Dear Aaron and DPDK Dev Team,<div><br></div><div>Thanks for \
the Article talks about the Traffic Flow bifurcation between  kernel space and user \
space (DPDK) (<a href="https://doc.dpdk.org/guides-16.07/howto/flow_bifurcation.html" \
target="_blank">3. Flow Bifurcation How-to Guide — Data Plane Development Kit \
16.07.2 documentation (dpdk.org)</a>)</div><div><br></div><div>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 )</div><div><br></div><div>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.</div><div><br></div><div>But \
when we are trying to configure the flow-type for port 22  \
</div><div><br></div><div><div>Ubuntu# ethtool -K eth9 ntuple on</div><div>Ubuntu## \
ethtool -N eth9 flow-type ip4 dst-port 22 action 0</div><div>rmgr: Cannot insert RX \
class rule: Invalid argument</div><div>Ubuntu## ethtool -N eth9 flow-type ip4 \
dst-port 22 action 1</div><div>rmgr: Cannot insert RX class rule: Invalid \
argument</div><div>Ubuntu## ethtool -N eth9 flow-type ip4 dst-port 22 action \
2</div><div>rmgr: Cannot insert RX class rule: Invalid \
argument</div></div><div><br></div><div>We tried to apply the patch that was given in \
the following link,  </div><div>( <a \
href="https://patchwork.ozlabs.org/project/intel-wired-lan/patch/1451456399-13353-1-git-send-email-gangfeng.huang@ni.com/#1236040" \
target="_blank">https://patchwork.ozlabs.org/project/intel-wired-lan/patch/1451456399-13353-1-git-send-email-gangfeng.huang@ni.com/#1236040</a> \
)<br></div><div><br></div><div>But we couldn&#39;t patch any of the latest igb driver \
and we tried to patch with the 2016 igb driver.</div><div><br></div><div>please help \
us in sharing the info where can we apply the patch for igb driver in \
Ubuntu.</div><div><br></div><div>Thanks,</div><div>Ram</div><div><br></div><div><br></ \
div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div>
 </blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic