From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by dpdk.org (Postfix) with ESMTP id 4413A4C80 for ; Wed, 17 Oct 2018 15:09:23 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id q19-v6so9605731pll.5 for ; Wed, 17 Oct 2018 06:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language; bh=tdndXxm9voN9aLTV/heBKQd0DDhKKzuMn2Ya4XHslD4=; b=uYuAHLvtAMoUsPsgAZ/Vb3kSv3HNx7ob2EZs2aLxRVJZOCPdMhWqXfzQVQP61oYhR5 khVB12kbKThjCakVThrzezy5qcPUb08KpMzGa1tQxo7qOnQsKzbFY4/VAvrVisXYJWpb Q866tLoA2sAVybzXsSdnfu2xfdKgf2E6itHXo5+QemCBnNBZ8bHwFpxfc+67iMs0gINp fmpVLK8MpkTByZlPY7t6zgiVYesfvSkEIFVx+aKEa6MsXjNMxQixHaaG4UIuU7d8V20v nawQr/AoeRBqaS08wBWdIB2s8BSRe2J9lYZiF07Dzd0ukTfPB3G7e008rG8LTOfWN6X3 1s9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language; bh=tdndXxm9voN9aLTV/heBKQd0DDhKKzuMn2Ya4XHslD4=; b=K2VBGZhwxEpc5wJo1s5F6IQEIhV41FtWeRnibDVW9saS27rGKJWq/h4YV5A9ASvt9Y A+hpzfr+hI7Z6jb0FbnWnV2CgaxIf2wL399fXbnQ/1J31i2phglsV06SevT8EoPKuHpk /V/uJFixyL997CP/a2OdNzonnnBMlt/y8RUSF3+xq/7MV3dt+8DQEup57DP8JDChKNRg XUIj0ASPk4diuRKk5rckRjMpMpftqFz1E0jiwpavot+PqhMqK0WMhm2nQEB2UbwSvukW 3EYtUizYWvGUTSMhsr27fq8lbyLcwvCDr1/aDAnLqtXrVw6t/EJSPXGoSouc2WdLFnZ6 Pgnw== X-Gm-Message-State: ABuFfohHJR3Q0bGTOhVIIY7HpD7LHaUdiaKHnFcWgGzLvigPXO6bF9LU Ut9AH/hOzwtiTRz62+xPZdg= X-Google-Smtp-Source: ACcGV60OXTvvRslpuj69QZ+X6e547CtaRb3ExKqZHf+6t74FOnpGqYAfXkBelZH1fBoGrclJO/yCFA== X-Received: by 2002:a17:902:3041:: with SMTP id u59-v6mr12704267plb.279.1539781762409; Wed, 17 Oct 2018 06:09:22 -0700 (PDT) Received: from ?IPv6:2001:da8:200:9002:e56a:8697:1418:ef8f? ([2001:da8:200:9002:e56a:8697:1418:ef8f]) by smtp.gmail.com with ESMTPSA id v81-v6sm32400994pfj.25.2018.10.17.06.09.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Oct 2018 06:09:21 -0700 (PDT) To: users@dpdk.org Cc: Menghao Zhang , Shicheng Wang From: Xiao Kong Message-ID: Date: Wed, 17 Oct 2018 21:09:18 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Language: en-US X-Mailman-Approved-At: Thu, 18 Oct 2018 23:42:12 +0200 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] RSS problems with Intel XL710 NIC (i40e) X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2018 13:09:23 -0000 Dear all, We are currently trying to build a multi-RX-queue dpdk program, using RSS to split the incoming traffic evenly into RX queues on a single port. It works fine when we use an Intel 82599ES 10Gig NIC. However when we switch to the Intel XL710 40Gig NIC (i40e), RSS does not seem to work. As a result, TCP packets belonging to various flows (with different src&dst IPs, ports) are all sent into the same RX queue. Below is our code. static const struct rte_eth_conf port_conf_default = {     .rxmode = {         .max_rx_pkt_len = ETHER_MAX_LEN, //1518         .mq_mode = ETH_MQ_RX_RSS,     },     .rx_adv_conf = {         .rss_conf = {             .rss_key = NULL,             .rss_hf = ETH_RSS_IP | ETH_RSS_UDP | ETH_RSS_TCP | ETH_RSS_SCTP,         }     }, }; We noticed that it is mentioned on several pages that XL710 sometimes behaves quite differently from other NICs, but we just can't find a way to configurate RSS hash fields on our card. Another thing is when we tried to enable RSS or setup hash fields in testpmd, it showed error messages as follows. testpmd> port config all rss all Configuration of RSS hash at ethernet port 0 failed with error (22): Invalid argument. Configuration of RSS hash at ethernet port 1 failed with error (22): Invalid argument. testpmd> show port 1 rss-hash ipv4 RSS disabled I am wondering if there is any mistake we made or if there is a unique method for XL710 to configure RSS hash fields. By the way, we are using DPDK ver. 17.08. Thanks. -------------------------- Best Regards, Kong