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 5E87CA00C2; Tue, 1 Nov 2022 01:13:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F08F440685; Tue, 1 Nov 2022 01:13:00 +0100 (CET) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mails.dpdk.org (Postfix) with ESMTP id 30B3B40223 for ; Tue, 1 Nov 2022 01:12:59 +0100 (CET) Received: by mail-pg1-f178.google.com with SMTP id e129so12048752pgc.9 for ; Mon, 31 Oct 2022 17:12:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=gIveuLIA5nDCDqzOa86WtGOttjU9O0Ht0JsuxlYcLpc=; b=HeDXR37gljDCCmGt7LVZ+Yg+qT0B2vhCc7ip5svjBWpk8tn8pnuWAleZxA/jJ/qiQM rlyvmUwSg4EdswALCKxqVfpfL/IHr6S9HY/6C3Sxsw4ReCyuUKRReSmkbzmyNFUI+yFw W4GJurkDAMFlUg9UPPhclW3Pfr2NbXOaj1QEl6HSBfGSRwN4kA06AtTvQLi0fIcEXaZp guAJhu0UsgkyxtDI5BhBM0x5Hc3sODoTPYg/pByS3/dS9qezSPHWBkNLXrILuFwUSUPV CvmQidS0pCWM6adi87iMbTjhgxAkrNpiZ7NHa0PhLFN+HD++jzi+Kpb3tmkn7h8qRAYb CEHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gIveuLIA5nDCDqzOa86WtGOttjU9O0Ht0JsuxlYcLpc=; b=yCxLT+jpLGPW8n8IkrEGUnYFcnYbjOJ5qajAdg4C+54sffhc30QSLfPlv34iyDZ+vm lV5V5zBE0LgLWLqlac7+1fHWYSj68nguU0yANzjp8BbE3Z4IXp5o/ALwMyQ2WJBIFyLF iLqMKMov/YJKZ9td36o9qx1GPsymyUy8JO512uSLdjQ0YCqmkvur6ttkb5rP2qVT4ha9 gaO22UUmlxSHz2pp4cEFCF35fr++mc/kJIRLA9VRj3c/njm248qZAvzlgRWIuorT98C5 9kPzqjYwdj8EDPKVqm6LylYfTQzc93yMUvFsS1qmyBqmo9Rsn2sSCoUUgglMQGwquetE BjFw== X-Gm-Message-State: ACrzQf2mxpGCmrBkD5p/lfyqD8TEVl+Te96RWHVP7o8G/quNRE+IMJQk u99Es/OsSHOwrOT3IYZc3xINPA== X-Google-Smtp-Source: AMsMyM6jkEp8b5ZDZUV7P7zf2WbgA5Bm2thdDp+dRPA7yfMnVkpsnTUhH+u4hZJmNOrcxco/RUgFlg== X-Received: by 2002:a65:47c3:0:b0:46f:98ce:65f7 with SMTP id f3-20020a6547c3000000b0046f98ce65f7mr11041304pgs.48.1667261578115; Mon, 31 Oct 2022 17:12:58 -0700 (PDT) Received: from shemminger-XPS-13-9360 ([131.107.8.221]) by smtp.gmail.com with ESMTPSA id u4-20020a17090341c400b00187033cac81sm1915956ple.145.2022.10.31.17.12.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 17:12:57 -0700 (PDT) Date: Mon, 31 Oct 2022 17:12:55 -0700 From: Stephen Hemminger To: Ramakrishnan G Cc: aaron.f.brown@intel.com, dev@dpdk.org, saravana3@gmail.com Subject: Re: Flow Bifurcation of splitting the traffic between kernel space and user space (DPDK) Message-ID: <20221031171255.3e221d2c@shemminger-XPS-13-9360> In-Reply-To: References: X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 On Sat, 29 Oct 2022 02:39:01 +0530 Ramakrishnan G wrote: > From: Ramakrishnan G > To: aaron.f.brown@intel.com, dev@dpdk.org, saravana3@gmail.com > Subject: Flow Bifurcation of splitting the traffic between kernel space a= nd user space (DPDK) > Date: Sat, 29 Oct 2022 02:39:01 +0530 >=20 > Dear Aaron and DPDK Dev Team, >=20 > 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) > ) That DPDK release is over 6 years old. That feature is no longer supported = on Intel NIC's. You are better off using AF_XDP.=20 >=20 > We are trying to test this functionality for sending only the SSH (port 2= 2) > 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 ) >=20 > 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. >=20 > But when we are trying to configure the flow-type for port 22 >=20 > 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 >=20 > 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 > ) >=20 > But we couldn't patch any of the latest igb driver and we tried to patch > with the 2016 igb driver. >=20 > please help us in sharing the info where can we apply the patch for igb > driver in Ubuntu. The igb NIC does not have an flow direction. The bifurcation for Intel NIC is based off of kernel flow director.