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 8C6D0A00C3 for ; Thu, 12 May 2022 20:09:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2127140E64; Thu, 12 May 2022 20:09:32 +0200 (CEST) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mails.dpdk.org (Postfix) with ESMTP id 6690E40DDD for ; Thu, 12 May 2022 20:09:31 +0200 (CEST) Received: by mail-wm1-f42.google.com with SMTP id q20so3514449wmq.1 for ; Thu, 12 May 2022 11:09:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=7F6XWNNhh5JpjlFZvzwQWQwr1IzbW5SJA72NNiesIS4=; b=UcLN0sj2+5BAmJcIUUvT11J0YcBFDughLn/uCKGQW9N+FsR00EgyTF+iRuAal89frl WYEWfBjLQ9yM3gqLlxhoHrWkS5fM+IbtLqMgiZ7p4t1U8IjjicGdTPl0IZQalSJadS1i eQrajQG/bcgsrK6tufxTTvP5QnPP75iMS17jnHmmVvyLYfIXDokINT1AlL66Xe2ol4Dm Hi4zfVtw53touRNa3S31/mYAhRPFUmhinKyEskewtsCfFF87jDqO28AopC6NXeIBiWFa BKu2aPDC0/SQkTd7WZ0pv3eq+P04uKp0JQlIEll59z/4m1EVEcmiHbcxpEUF09YYndoq xalA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7F6XWNNhh5JpjlFZvzwQWQwr1IzbW5SJA72NNiesIS4=; b=FNABCPUaBTV2LNLqwQXKFs6cKEy+yJqkE9yh5PIqwK0JtE1VNNxoBKEhj3bNklE6D4 E2ZuS4Ywu6YH6I8+K2BFvmCBrZOQ4iDfiJfEi/wfL1byUK2s5GlhhkfA9RG1ae6OP50r Lx23jYMOq0zzYYrupvTsarKIcTEXyn14EUTXZqpqx4uWKxQrc8g3DIsJF3zYD/m1XsM7 e4ezsNGbA8MP8NxQhbIu4u3fp9+q7DunUaUUNnb3rNQGpRzMLOqjRY9Wq5kCj/wFXB/B M5rT9yoj8CnMocaIU1z0hw7Dt9eeVr5M+lcqHiEpLci8WDMO8GVuGzcr7GFHp2IX17hI ElqQ== X-Gm-Message-State: AOAM530fonf1lrc2iKipQezzFCTJSewFJW64vxxLWVykQpuPF5ez472R QTjMAs0dtJtT3w/ujjWqia6OYhV8jAbuxdW7dZRL4EKEdB8= X-Google-Smtp-Source: ABdhPJwR5lGsrJMtEWVeXREmNmnbM+3qjWmU93tZYYymnVnGlvoCsF1xDuoKu7zUPOGR18Qj2JxIMggXzVgpvqQyUic= X-Received: by 2002:a1c:3587:0:b0:381:50ff:cbd with SMTP id c129-20020a1c3587000000b0038150ff0cbdmr11599522wma.140.1652378971058; Thu, 12 May 2022 11:09:31 -0700 (PDT) MIME-Version: 1.0 From: Sylvain Vasseur Date: Thu, 12 May 2022 19:09:19 +0100 Message-ID: Subject: ETH_RSS_NONFRAG_IPV4_UDP with netvsc, and memory setup for mlx4 To: users@dpdk.org Content-Type: multipart/alternative; boundary="0000000000009ab69e05ded47590" 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 --0000000000009ab69e05ded47590 Content-Type: text/plain; charset="UTF-8" Hello, I have been trying to use the netvsc PMD driver lately and face an issue with the RSS flag for UDP. I figured that this is because the PMD does not handle NDIS_HASH_UDP_IPV4, so I am planning at trying to submit a change to the PMD, however I am unsure about the value of the UDP constant. I found on https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/NetworkManagement/Ndis/constant.NDIS_HASH_UDP_IPV4.html that it should be 0x00004000. Would someone have some proper knowledge about this specific setting? And after having used that change locally, I am now facing some issues with the mlx4 PMD used under the hood of netvsc. My memory allocation makes my buffers exist at a different location than my memory pool and this creates an issue: net_mlx4: port 0 unable to find virtually contiguous chunk for address Did someone already tried to use some custom memory management with the mlx pmd? Thanks, Sylvain --0000000000009ab69e05ded47590 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I have been trying to use the ne= tvsc PMD driver lately and face an issue with the RSS flag for UDP.
I fi= gured that this is because the PMD does not handle=C2=A0NDIS_HASH_UDP_IPV4,= so I am planning at trying to submit a change to the PMD, however I am uns= ure about the value of the UDP constant. I found on=C2=A0https://microsoft.github.io/windows-do= cs-rs/doc/windows/Win32/NetworkManagement/Ndis/constant.NDIS_HASH_UDP_IPV4.= html that it should be=C2=A00x00004000.
Would someone have so= me proper knowledge about this specific setting?

And after having us= ed that change locally, I am now facing some issues with the mlx4 PMD used = under the hood of netvsc. My memory allocation makes my buffers exist at a = different location than my memory pool and this creates an issue:
net_ml= x4: port 0 unable to find virtually contiguous chunk for address
Did som= eone already tried to use some custom memory management with the mlx pmd?
Thanks,
Sylvain
--0000000000009ab69e05ded47590--