[dpdk-dev] RSS hashing support on ixgbevf

Gareth Bradshaw gareth at vectra.ai
Fri Feb 22 13:01:03 CET 2019


Hi all,

Does the IXGBE PMD support RSS in the VF?  The value of "dev_info.flow_type_rss_offloads" is 0 for ixgbevf_dev_info_get and triggers the "invalid argument" check added to rte_eth_dev_configure (@line 1243).

The PF equivalent (ixbge_dev_info_get) sets flow_type_rss_offloads to IXGBE_RSS_OFFLOAD_ALL.

Wondering if it's just a missing field in dev_info as the eth_dev_ops struct for IXBGEVF exposes the same RSS ops as the PF:

static const struct eth_dev_ops ixgbevf_eth_dev_ops = {
              ...
.reta_update                   = ixgbe_dev_rss_reta_update,
              .reta_query                      = ixgbe_dev_rss_reta_query,
              .rss_hash_update            = ixgbe_dev_rss_hash_update,
              .rss_hash_update            = ixgbe_dev_rss_hash_update,
              .rss_hash_conf_get         = ixgbe_dev_rss_hash_conf_get,
              .rss_hash_conf_get         = ixgbe_dev_rss_hash_conf_get,
              };

Thanks
Gareth


Technology Strategist
Vectra.AI


More information about the dev mailing list