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 E10C1A0A0A for ; Mon, 5 Apr 2021 17:11:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 725A7406A3; Mon, 5 Apr 2021 17:11:28 +0200 (CEST) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mails.dpdk.org (Postfix) with ESMTP id EB7A54068C for ; Mon, 5 Apr 2021 17:11:26 +0200 (CEST) Received: by mail-pg1-f178.google.com with SMTP id k8so8316496pgf.4 for ; Mon, 05 Apr 2021 08:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dn+8bubSSK79Cwm9GzM7uOV7t1Vq9yHK6No/o63ey+Q=; b=iu3R/gJ5FeyjhPCl3IY7oVpoC5/foDmyUh19krS2r8KBkzBoI5VBJ9MPtvwdAj2k/g V99qJIIC6gvFqmCNtqt11XH7kV6TlFIxZhXpPwo4usmkCrmMwO/YLJYtvvOgon9nPcfT duCsy2ebxlL3gCfLWo32JfqtCeXxgMq7JNKqtelkVW8tHF1hNDFN0jb1+Rh24Mw6qYss WplYXw0mWGINYkIkDekK8xDOM54EgdooGVzcS4Dai/mGaKC5BFmItTeHGB/i1HtYEJJZ helLtezlpjX0rAPTno0sXlXKih85cOlxZCLQOgwqj1g1T+tvseZ21c2RrP1rcHZLDNfH zPnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dn+8bubSSK79Cwm9GzM7uOV7t1Vq9yHK6No/o63ey+Q=; b=f/gJxIeVkq//i5MKzU5lbSBofPrBn6UzapURmKVGxjKkuI7uH9Zg17NVGILmc4dtm9 /wITsKlL8IlLxMT7Slxr3S+730MgReykvWt5ieJBajUwQUEAD9LH1HiIux87vzORxfMC AQ2TJCImgm5pOs9dL7s0Xq2le7hQeKydaPnm3ciGbbP1HT0xkedwokFogsSiSrNUZsZQ MLMMiDF28S6jBjkAppsl+SkftwR5Opnt7TbtWfiO0kl9ebg53l9B8XXLQ3Ak4mXCjI7J npnbbJfz9GG1EQmOdjB+EEqcReh9sVg0x1DzqtiENKDrPlRNNAZfOgrT794xUL5Cp0pT 8oZg== X-Gm-Message-State: AOAM530cRfcdVp8Ff+rNRwOE8gjHztfn3Q6LIS5ICzbrlgx6ZdDVmGmm tybJaRaUm7Ue5lnyl7k2UUNp2w== X-Google-Smtp-Source: ABdhPJwBROfIWbwR1a73gO3LPiy7hI5AfyNqQq9coXwqAPKf2kW6d/z8CBmqkUB1h0jbgC07eb43Qg== X-Received: by 2002:a63:e906:: with SMTP id i6mr23378663pgh.132.1617635485901; Mon, 05 Apr 2021 08:11:25 -0700 (PDT) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id 11sm16745904pfn.146.2021.04.05.08.11.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 08:11:25 -0700 (PDT) Date: Mon, 5 Apr 2021 08:11:17 -0700 From: Stephen Hemminger To: "Joshi, Venkatesh" Cc: "users@dpdk.org" Message-ID: <20210405081117.7ec69e25@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] Ref: Excluding certain Rx Queues from the RSS hashing algorithm X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Mon, 5 Apr 2021 03:10:21 +0000 "Joshi, Venkatesh" wrote: > Hi, > > We use the following hardware/software in our product: > > * CPU: Intel Xeon Silver 4210 > * NIC: XXV710-AM2 > * NIC Firmware: 7.3/8.0 > * Linux Kernel version: 4.14 > * DPDK version: 20.08 > * vfio-pci driver > > Our DPDK application runs on 7 CPU threads. We have initialized 7 Rx Queues - one for each CPU thread. > > We want to use one of the queues exclusively for traffic that matches Flow Director rules. > And, we want that when the RSS hashing algorithm provides action as Enqueue - it should not use that queue during its computation. > > Example: We initialize Rx Queues 0 to 6. > Out of this, we want that Rx Queue 0 to 5 be used in the RSS hash algorithm when the action is enqueue. > Rx Queue 6 should be kept out of the RSS hashing logic. > > This is wrt the i40e driver. > > Is this possible? > > regards, > venkatesh The hashing logic relative to flow rules is confused in DPDK. Have you tried programming two rules, one for the traffic you want, and the other at lower priority which is a match any rule? Also, fdir is deprecated in DPDK, please consider using rte_flow instead.