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 27C15A0A02; Mon, 5 Apr 2021 20:31:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1184F4068C; Mon, 5 Apr 2021 20:31:08 +0200 (CEST) Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171]) by mails.dpdk.org (Postfix) with ESMTP id C72A24014E for ; Mon, 5 Apr 2021 20:31:06 +0200 (CEST) Received: by mail-yb1-f171.google.com with SMTP id 11so4863481ybe.8 for ; Mon, 05 Apr 2021 11:31:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=3pyf3yBc+rL5E8BjU4YWnS0EqQWzA+y1XzNnZKN6Y9g=; b=o3x9WJoMtkTujIUGiclU7et5TOiUkWNbEEGpeNASl6dLlZa5SMsWAyr7z5CzM3DRRH +u1y3df5qcYXcgeNDdyB1VTQgnuFFO95qDyjImVKliVn021BMrjaxv3bZ7gG9aXM6kai W9IhaU3NmCi2GvX7649bAgWOxgLuj7QRA7rv0tkGm4uGagFUcCzfGHLUL0oWbMXy4EEZ edqVQiwC+xk1Jk4YkPkYqY/UFp+eiryjYbvZGh5rMijlteBk4y5cz5KzO5LukTGaNDyE fci5P5I2jJ/ZmUPxolTFP887BnPqOUZpsCLHXC/X3x5++NL5do6NydEIGxEID4QOCMbb FZFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3pyf3yBc+rL5E8BjU4YWnS0EqQWzA+y1XzNnZKN6Y9g=; b=L5heKTdQl6oRuC1l8XEUqWgjjJRpeckLHpNGZcAcpiV4LZ0iu0YpvSXeJ07zgZPWol SaAYCdlgggEpqyExpCpxr6w3hqsP3vEeUBfpdaBK0yXARxlil9OMFrbCck40e8En4QwH ak9mffw6zaVznLY4lzU1x2+4ZiMG8iDP2yYtroPJoahzQmDUESD5qEBvyVd2BK+ujSrf zwPy9ylDvtFgQi4+gOaJR6Wf9qOdPd13MhLE+G6dqj6xPYj0gd8lFofvykd8A3+jerDJ TMsusVBtoiL0IGhDlYOxmiyRMbelaaV/6uVGl0JMSPlQrPoYycfZYNQLCS5O5E7Zy4/n LqQg== X-Gm-Message-State: AOAM5319Ma8KBvBvAfpMCZMAHmnJg5g+3Z//qPic1OGh+3k2YNkZJpD0 JAxSolyZtwdjOlfTfNEKdhKBjV8P2xj/qHDEPHxdC9cnzNy87A== X-Google-Smtp-Source: ABdhPJyi6Mhr3sQKSyc0mMKXPtHomS/iG+GhjYb7U7zlpWixvgOmszez39fvi3NIz1AsXQvaapDtBUA1azlXFAVx0mk= X-Received: by 2002:a25:1f07:: with SMTP id f7mr15389120ybf.423.1617647465849; Mon, 05 Apr 2021 11:31:05 -0700 (PDT) MIME-Version: 1.0 From: Deepak Gowda Date: Tue, 6 Apr 2021 00:00:55 +0530 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-dev] RSS hash computation on Intel X550 NIC with ixgbe driver 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 Sender: "dev" Hello, I have been doing some experiments on rss hash computation, i'm using DPDK's testpmd application. Even though I apply rss conf on the available DPDK port, i don't see any value populated in the rss hash, it's always zero. Setup details -- *Debian 10 VM with a (Intel X550) VF attached to it.* *DPDK version* *-* dpdk-18.11.2 *NIC - * root@debian:~# lspci | grep -i ether 00:03.0 Ethernet controller: Red Hat, Inc Virtio network device *00:09.0 Ethernet controller: Intel Corporation X550 Virtual Function**DPDK dev_bind o/p -* root@debian:~/dpdk-stable-18.11.2/usertools# ./dpdk-devbind.py --status Network devices using DPDK-compatible driver ============================================ 0000:00:09.0 'X550 Virtual Function 1565' drv=igb_uio unused=ixgbevf Network devices using kernel driver =================================== 0000:00:03.0 'Virtio network device 1000' if=ens3 drv=virtio-pci unused=virtio_pci,igb_uio *Active* No 'Crypto' devices detected ============================ No 'Eventdev' devices detected ============================== No 'Mempool' devices detected ============================= No 'Compress' devices detected ============================== root@debian:~/dpdk-stable-18.11.2/usertools# *This is how launch test pmd -* ./testpmd -l 0-3 -n 4 -- -i --portmask=0x1 --nb-cores=2 Then, when the testpmd is up, i issue the following commands on the testpmd cli -- in the same order as below testpmd> set fwd rxonly Set rxonly packet forwarding mode testpmd> start rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native Logical Core 1 (socket 0) forwards packets on 1 streams: RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00 rxonly packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 1 Tx queue number: 1 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=512 - RX free threshold=32 RX threshold registers: pthresh=8 hthresh=8 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=512 - TX free threshold=32 TX threshold registers: pthresh=32 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=32 testpmd> port config all rss all Port 0 modified RSS hash function based on hardware support,requested:0x3fffc configured:0 After this I send udp packets from another machine and I see 0x0 in the hash field on all the received packets. Am i missing something here? Do I need to configure anything on the host machine or the PF? Any insight is appreciated. Thanks! -Deepak Gowda