qedentv - RSS feature support in Multi-function Mode
search cancel

qedentv - RSS feature support in Multi-function Mode

book

Article ID: 313170

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • RSS (DefQ_RSS and NetQ_RSS) feature queues are not being utilized by qedentv driver when NIC is configured in multi-function mode.

  • In Multi-function mode (switch dependent or switch independent), RSS feature is supported only on first four PCI functions if there are enough system and adapter resources available.

  • This is the reason RSS queues are not utilized on remaining PCI functions. In SR-IOV over Multi-function configuration, RSS is not supported on any PCI function.

  • The first four functions of driver qedentv ,which will have RSS feature enabled can be seen using the below command:

==========================================================================================================

# zcat /var/log/boot.gz | grep QueuesRunningConfig
2024-01-30T12:34:44.464Z cpu7:2098062)[qedentv_init_edev:1504(0000:21:00.0)]QueuesRunningConfig: max_rxq:20, max_txq:20, max_tc:1, max_rss:4, total_filters:64, fltrs_per_q:2, num_defq_rss_count:0

2024-01-30T12:34:44.921Z cpu7:2098062)[qedentv_init_edev:1504(0000:21:00.1)]QueuesRunningConfig: max_rxq:20, max_txq:20, max_tc:1, max_rss:4, total_filters:64, fltrs_per_q:2, num_defq_rss_count:0

2024-01-30T12:34:45.079Z cpu7:2098062)[qedentv_init_edev:1504(0000:21:00.2)]QueuesRunningConfig: max_rxq:20, max_txq:20, max_tc:1, max_rss:4, total_filters:64, fltrs_per_q:2, num_defq_rss_count:0

2024-01-30T12:34:45.239Z cpu7:2098062)[qedentv_init_edev:1504(0000:21:00.3)]QueuesRunningConfig: max_rxq:20, max_txq:20, max_tc:1, max_rss:4, total_filters:64, fltrs_per_q:2, num_defq_rss_count:0

2024-01-30T12:34:45.384Z cpu7:2098062)[qedentv_init_edev:1504(0000:21:00.4)]QueuesRunningConfig: max_rxq:2, max_txq:2, max_tc:1, max_rss:0, total_filters:64, fltrs_per_q:2, num_defq_rss_count:0

2024-01-30T12:34:45.531Z cpu7:2098062)[qedentv_init_edev:1504(0000:21:00.5)]QueuesRunningConfig: max_rxq:2, max_txq:2, max_tc:1, max_rss:0, total_filters:64, fltrs_per_q:2, num_defq_rss_count:0

2024-01-30T12:34:45.687Z cpu7:2098062)[qedentv_init_edev:1504(0000:21:00.6)]QueuesRunningConfig: max_rxq:2, max_txq:2, max_tc:1, max_rss:0, total_filters:64, fltrs_per_q:2, num_defq_rss_count:0

2024-01-30T12:34:45.834Z cpu7:2098062)[qedentv_init_edev:1504(0000:21:00.7)]QueuesRunningConfig: max_rxq:2, max_txq:2, max_tc:1, max_rss:0, total_filters:64, fltrs_per_q:2, num_defq_rss_count:0
========================================================================================================== 

  • If storage is enabled then RSS will be enabled in first two functions only, as later two will be used for storage purpose.


Resolution

This is an expected behaviour.

Recommendation

  • As RSS is only supported on first four PCI functions, it is recommended to use the first four PCI functions for those workloads that need RSS to be enabled.

  • If feasible, another option could be to use Single Function mode.