From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-ft4.fr.colt.net (smtp-ft4.fr.colt.net [213.41.78.208]) by dpdk.org (Postfix) with ESMTP id B0BAFB0A6 for ; Fri, 16 May 2014 10:58:39 +0200 (CEST) Received: from smtp-ex1.fr.colt.net (smtp-ex1.fr.colt.net [213.41.78.194]) by smtp-ft4.fr.colt.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id s4G8wmBL031120 for ; Fri, 16 May 2014 10:58:48 +0200 Received: from 33.106-14-84.ripe.coltfrance.com ([84.14.106.33] helo=proxy.6wind.com) by smtp-ex1.fr.colt.net with esmtp (Exim) (envelope-from ) id 1WlDyZ-0004eq-2z for ; Fri, 16 May 2014 10:58:48 +0200 Received: from 6wind.com (unknown [10.16.0.189]) by proxy.6wind.com (Postfix) with SMTP id 0F5E75AE3E; Fri, 16 May 2014 10:58:46 +0200 (CEST) Received: by 6wind.com (sSMTP sendmail emulation); Fri, 16 May 2014 10:58:45 +0200 From: Ivan Boule To: dev@dpdk.org Date: Fri, 16 May 2014 10:58:38 +0200 Message-Id: <1400230723-2830-1-git-send-email-ivan.boule@6wind.com> X-Mailer: git-send-email 1.7.10.4 X-ACL-Warn: 1/1 recipients OK. Subject: [dpdk-dev] [PATCH v2 0/5] allow to dynamically change RSS configuration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2014 08:58:39 -0000 This set of patches allows to dynamically get and set the RSS configuration of a port: - rss functions (IPv4/IPv6//UDP/TCP ...) - rss hash key Changes included in v2: - Rename functions "rss_hash_conf_update" to "rss_hash_update" - In RSS hash update functions of igb and ixgbe PMDs, add tests that do not allow RSS to be dynamically enabled or disabled. -- Ivan Boule Ivan Boule (5): ethdev: check RX queue indices in RETA config against number of queues ethdev: allow to set RSS hash computation flags and/or key app/testpmd: configure RSS without restart ethdev: allow to get RSS hash functions and key app/testpmd: allow to configure RSS hash key app/test-pmd/cmdline.c | 177 +++++++++++++++++++++++++++++++--- app/test-pmd/config.c | 93 ++++++++++++++++++ app/test-pmd/testpmd.h | 3 + lib/librte_ether/rte_ethdev.c | 47 ++++++++- lib/librte_ether/rte_ethdev.h | 47 +++++++++ lib/librte_pmd_e1000/e1000_ethdev.h | 6 ++ lib/librte_pmd_e1000/igb_ethdev.c | 2 + lib/librte_pmd_e1000/igb_rxtx.c | 175 ++++++++++++++++++++++++++-------- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 2 + lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 6 ++ lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 178 ++++++++++++++++++++++++++++------- 11 files changed, 645 insertions(+), 91 deletions(-) -- 1.7.10.4