From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heung Sik Choi Subject: Is it possible to make softrss value be same with NIC RSS value? Date: Fri, 26 May 2017 12:54:39 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To: dev@dpdk.org Return-path: Received: from mail-ua0-f176.google.com (mail-ua0-f176.google.com [209.85.217.176]) by dpdk.org (Postfix) with ESMTP id C4B5499B6 for ; Fri, 26 May 2017 05:54:40 +0200 (CEST) Received: by mail-ua0-f176.google.com with SMTP id e28so126379500uah.0 for ; Thu, 25 May 2017 20:54:40 -0700 (PDT) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, I study hash optimization in network, and I know that rte_softrss() function in DPDK lib(rte_thash.h) which implements RSS. And then, I guess that its value is same with NIC RSS(hardware). I get NIC RSS by call 'le32_to_cpu(rx_desc->wb.lower.hi_dword.rss)'; However, I printed NIC RSS's value and Soft RSS value, and two values is different. I thought that because of little endian, they are different. So I change the call with 'be32_to_cpu(rx_desc->wb.lower.hi_dword.rss)'. But, the result is same Is my guess wrong? Please let me know if you have any insights.