[dpdk-dev] [PATCH v2 0/5] allow to dynamically change RSS configuration

Ivan Boule ivan.boule at 6wind.com
Fri May 16 10:58:38 CEST 2014


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



More information about the dev mailing list