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 AD0B3A054F for ; Mon, 15 Feb 2021 10:46:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D7E41606C5; Mon, 15 Feb 2021 10:46:36 +0100 (CET) Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [146.66.121.64]) by mails.dpdk.org (Postfix) with ESMTP id C83A040FDF for ; Mon, 15 Feb 2021 10:46:34 +0100 (CET) Received: from 72.204.214.35.bc.googleusercontent.com ([35.214.204.72] helo=es18.siteground.eu) by se20.mailspamprotection.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1lBaSb-000D0Y-5K for users@dpdk.org; Mon, 15 Feb 2021 03:46:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=filipjaniszewski.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jYxI2iDXfbbKCW2RJvWzGoPf6hC3VwPJ5Y08Xa40lCQ=; b=JT1D214jICrUQrK+w+2KQKeuAB r5bnFaenZK8iug0+Rvx/JJ4xxfBNl4f8icWoMCYf287DHYq0X+tBfaCBUOjM+Z39D9LMis+qBymAO 1qWVImRe+1NQtfY0+j30UMM/r8WC+meYruxA1bUoUrn+KBOaNVAsR3s5DNNqMTSXDk07M57KWUyQo tJrEab5PwpAeL8zCK5xgfPkrek4TWT3keMvaGeiG4b3XhI6rLUgMjYrkcwrb8/Cg0qWYt4bWJnqWl FgsoG2l+cG6AX3lmyaW09I9MXdeLNsetH1Ohzxs/nFu2mLKlVNcJ61lqH/TxqeplhWERIj2rLwmnv BOOO+8SA==; Received: from [89.64.148.179] (port=40612 helo=localhost.localdomain) by es18.siteground.eu with esmtpsa tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.90devstart-1178-b07e68e5-XX) (envelope-from ) id 1lBaSZ-000CSI-Vr for users@dpdk.org; Mon, 15 Feb 2021 10:46:28 +0100 To: "users@dpdk.org" From: Filip Janiszewski Message-ID: <2a5d34c2-0c04-5e27-c26d-40f49f06b79e@filipjaniszewski.com> Date: Mon, 15 Feb 2021 10:46:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: 35.214.204.72 X-SpamExperts-Domain: es18.siteground.eu X-SpamExperts-Username: 35.214.204.72 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=35.214.204.72@es18.siteground.eu X-SpamExperts-Outgoing-Class: unsure X-SpamExperts-Outgoing-Evidence: Combined (0.50) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT90jVzTLJt3vj6cAu5S4eQ0PUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wDtBK3p5VcS6iRNP7EipR8fYzfQXcfqmra3dmoHS4ygngo y+oIiWM8IBvwNqk6wqdWuRWrkPihq53YqAd1ENNqqvvkCNylR0+/G/QNL4gxGybuFz166ckC5o5v OAA21U8MzkZGqm2JS4vMtlBSgThqkYu/Fv4Iv8jJ1/Sw26a/5519uilF/m9S+vpNQwvmdT2AgCyx P9G+Y5LcO+gel2RLm1pC2yjwI4JpUd34sOKtOqHTbQB9bnIAISot4eWVBpkrnvUyzoTfAGEbL5I3 54EAhC5Sb0FtGboACyptpyhcoznlKnN5EY5Xdpjv88dVSAvc2aq67LtN1kRXHKY8HxLxAmezHDLW 8mwML+1gxsplM+nE6wHyAbSyVXutrqMjgFKWCIh6nwoBuMKwN8OP5EE2CsQxwPSTfSeJOF2atdSU JOO52chWf3u/PyZZT+iQ29f/YqocJ1xevGklAARod8ZwdXycisnpz6u996GfGwMiZh0K7aaWJsTJ LX1F+5HwflHXs2KsRjKrCowEavDwQuKoPeHc3Twps6Q+RBc2YClaVwT9fL1uqHa3zvHAM0nVlCe9 iTOXh8SPFTJTt+1n/xaA3WYdNxMU6g6rgAqTbJg65XJ7Wcw/vHrkNz0yR/nxmRhzHDeqqFz43py4 SDhdaHkWKPqbvJCLuIcLc1HAHXa88ylLADhaZauVO11QW42F5YlQQHvqd+lx95GwpLc365EoycEf 7GbpxkcLSrxoSS5cFS0vcIXcQsj5AQLum1p1NEBNQKUsKvds58N3QcAuW8gmiwQzKw+6v3CaIMG6 s7LqJDELsIqiaYJEZpCdl2rp9ehEOAPcnapQWGvONTW3yISKT8aXtSOz4tAN0ewfe9SJ3mwVHDgY 0KviH58qs6bJbS7grrRgzMnBMVY7+/q4yx31UV8ShebT8U8Xw9HTDfreWTYzVW5LM8CWP52kbz5h TJlsYzB6zs3Ie5gF1CN3Vi14TlSKejn7Ieuc603ZMxiGH3aEVdo0mW7om89HjgLtaWijCAlBwgN/ ujv77gIBgOizYXsY7pPpudi7bULX4gWpY6I0ARCH9sl06iT2rcfKzdipeCbT7bCJTkTk189aMNyz 9+wA+Yg1p8ptboi27H6uAPY4ocfmWv3Fe9Iziczdq+A= X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Subject: [dpdk-users] Configuring port input set, NIC XL710 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 Sender: "users" Hi, I'm testing an Intel 700-Series (XL710) NIC using testpmd, given the instructions from here https://software.intel.com/content/www/us/en/develop/articles/intel-ethernet-controller-700-series-hash-and-flow-director-filters.html I wanted to modify the inset such that an UDP header checksum would be taken into account while receiving packets. To test if it works, I've prepare a bunch of UDP packets all identical but the checksum - for those packets normal RSS rules fail to split the traffic across the queues, unless the checksum is taken into account. I've configured testpmd like this: ./dpdk-testpmd -w 0000:b3:00.0 -- -i --rxq=4 --txq=4 --forward=rxonly Then: . testpmd> port config 0 pctype mapping update 31 31 testpmd> port config 0 pctype 31 hash_inset clear all testpmd> port config 0 pctype 31 hash_inset set field 32 testpmd> port config all rss 31 . Where pctype 31 would be "Non-Fragmented IPv4, UDP" and field 32 of the "field Vector" would be the udp checksum (According to https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/xl710-10-40-controller-datasheet.pdf Table 7-12. Default field vector table) And then started capturing, having set the hash_inset field 32 to enabled I should be using that particular UDP field (checksum) for hashing. But, those testpmd commands are not doing much, all the packets end up all in the same queue even if the checksums are different for all the packets. Can anyone help to setup properly testpmd? Thanks -- BR, Filip +48 666 369 823