c2fec27b5c
Currently, when more than 1 receive queues are configured, the driver always enables RSS with the driver's own default hash type, key, and RETA. The user is unable to change any of the RSS settings. Address this by implementing the ethdev RSS API as follows. Correctly report the RETA size, key size, and supported hash types through rte_eth_dev_info. During dev_configure(), initialize RSS according to the device's mq_mode and rss_conf. Start with the default RETA, and use the default key unless a custom key is provided. Add the RETA and rss_conf query/set handlers to let the user change RSS settings after the initial configuration. The hardware is able to change hash type, key, and RETA individually. So, the handlers change only the affected settings. Refactor/rename several functions in order to make their intentions clear. For example, remove all traces of RSS from enicpmd_vlan_offload_set() as it is confusing. Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com> Reviewed-by: John Daley <johndale@cisco.com> |
||
---|---|---|
app | ||
buildtools | ||
config | ||
devtools | ||
doc | ||
drivers | ||
examples | ||
kernel | ||
lib | ||
license | ||
mk | ||
pkg | ||
test | ||
usertools | ||
.gitattributes | ||
.gitignore | ||
GNUmakefile | ||
MAINTAINERS | ||
Makefile | ||
meson_options.txt | ||
meson.build | ||
README |
DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux. The DPDK uses the Open Source BSD-3-Clause license for the core libraries and drivers. The kernel components are GPL-2.0 licensed. Please check the doc directory for release notes, API documentation, and sample application information. For questions and usage discussions, subscribe to: users@dpdk.org Report bugs and issues to the development mailing list: dev@dpdk.org