From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f43.google.com (mail-qg0-f43.google.com [209.85.192.43]) by dpdk.org (Postfix) with ESMTP id 20384ADA2 for ; Tue, 16 Feb 2016 14:50:41 +0100 (CET) Received: by mail-qg0-f43.google.com with SMTP id y9so134178886qgd.3 for ; Tue, 16 Feb 2016 05:50:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=i75fMDyXUqoedMDkI7sFVDBGH/VhTx2xpVZcOp1saqI=; b=zq4U0KK5pqU+6Vwib00W2Hd6W7kmcV3+PZsmZSOP7sDhSbhBcS4o/O1gzSZb+965Mf zdh8VOGoosnrcbJ17/1K7MUEYlz0eyHlEGhs3ZxJv+jN22isA5deSa3KAQVJ5U5beniL FPzOfQl92eYRUFOJWWeVCGbruQ0AylBP5JiTkCvf0Q4mHwMzpkbCQPOfHRIoMXV28PzL wMUpW1ONX49uKCVn4zUThRImDbmVg0SPVQNPkU5BiMgRmam3YceqXyLyA0qMmNsdhDNd LN4XQ0sajUQ2E1YHOQTjV3TU8mjZftHnBQIRjmILVbvPPqUqPAcwRgdlqtFik3aHaEXr aqIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=i75fMDyXUqoedMDkI7sFVDBGH/VhTx2xpVZcOp1saqI=; b=Sn8kvArRW/4x5j8reSoB0mFtdIQB5M5+MAau5fCLfCuiPMFF+5NvBSWwfJjFU+v0ra UmuozRYVK+z0fuDCbvtJDNzLQRCpFab75rwykjOFaaksAw2aymh587dww/v7Mb1/m03w CKI+ACTZe1P+AWAwiGLSSmS1b8org19T9X6o1/VMC+SEM8MqVzGa7cDAmev8VvK1KamL fnHRpAPRM/WKJUoWML82KXbhh5cssoPJFqX7fn29hYOenZEhVlU+/vi5H8eKCW4Bi0Zf AjYJ1SqULF9XgreU+wK/FS1jw/vccaJvkWxpqjR5IujHidl683LVkiF2vppzgB8pyvzn monw== X-Gm-Message-State: AG10YOQcIOeS7FJN3fWqQzi0NjmOrX3xNqwvHdvfSP/RzmsUlg5Tk2IgEbHwYZGPnFORP4blepEoGBV/OJxTMA== MIME-Version: 1.0 X-Received: by 10.140.133.133 with SMTP id 127mr28822166qhf.42.1455630640696; Tue, 16 Feb 2016 05:50:40 -0800 (PST) Received: by 10.140.20.2 with HTTP; Tue, 16 Feb 2016 05:50:40 -0800 (PST) In-Reply-To: References: Date: Tue, 16 Feb 2016 19:20:40 +0530 Message-ID: From: Rahul Ramachandran To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] IPV6 RSS not working in i40e X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 13:50:41 -0000 This is the RSS hash related queries in 40G NIC: Hash Flags: 8888 Key Length: 52 Keys: 6D 5A 56 DA 25 5B E C2 41 67 25 3D 43 A3 8F B0 D0 CA 2B CB AE 7B 30 B4 77 CB 2D A3 80 30 F2 C 6A 42 B7 3B BE AC 1 FA 0 0 0 0 0 0 0 0 0 0 0 0 Hash Algorithm: Toeplitz Symmetric hash status: 1 RETA table size: 512 Entries 0-63: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, Entries 64-127: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, Entries 128-191: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, Entries 192-255: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, Entries 256-319: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, Entries 320-383: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, Entries 384-447: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, Entries 448-511: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, On 16 February 2016 at 17:14, Rahul Ramachandran wrote: > Hi, > > I am using dpdk 2.1. I see the hash flags are unified compared to my > previous version 1.8. > But with DPDK 2.1 in Fortville NIC's, I see ipv6 RSS is not working, > all the frames are queued to > first queue even though I have 16 queues (RETA table looks correct). > > For IPV4 RSS works as expected in Fortville. Also in 10G, both ipv4 > and ipv6 RSS works. > > My RSS configuration is : rss_hf = ETH_RSS_IP | ETH_*RSS* > _NONFRAG_IPV4_TCP | ETH_*RSS*_NONFRAG_IPV4_UDP > > I see ETH_RSS_IP contains Layer3 hash flags for ipv6. > > #define ETH_*RSS*_IP ( \ > ETH_*RSS*_IPV4 | \ > ETH_*RSS*_FRAG_IPV4 | \ > ETH_*RSS*_NONFRAG_IPV4_OTHER | \ > ETH_*RSS*_*IPV6* | \ > ETH_*RSS*_FRAG_*IPV6* | \ > ETH_*RSS*_NONFRAG_*IPV6*_OTHER | \ > ETH_*RSS*_*IPV6*_EX) > > But when I query the hash flags, I get the value of 8888. I understand > while configuring RSS > HF in the 40G NIC, we mask the configured RSS HF with NIC specific > mask flags before writing to NIC. But I am not > sure after masking it is taking the flags for IPV6. > > The mask or I40E: I40E_*RSS*_OFFLOAD_ALL . I see this > conatins the flags ETH_*RSS*_FRAG_*IPV6 & *ETH_*RSS*_NONFRAG_*IPV6* > _OTHER. > > Are you aware of any such problems? > > Please let me know if you need more information. > > Thanks >