contrail-vrouter-dpdk: fail with XL710 (i40e dpdk driver), "Error getting RSS RETA info"
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
Fix Committed
|
Undecided
|
Unassigned | |||
Trunk |
Fix Committed
|
Undecided
|
Unassigned | |||
OpenContrail |
New
|
Undecided
|
Unassigned |
Bug Description
We use Intel XL710 40GbE. It's handled by i40e driver in DPDK.
contrail-
2017-06-01 13:35:49,921 PMD: i40e_pf_
2017-06-01 13:35:49,966 VROUTER: Error getting RSS RETA info: Unknown error -22 (-22)
2017-06-01 13:35:49,966 VROUTER: error initializing ethdev 0 RSS: Invalid argument (22)
2017-06-01 13:35:49,966 VROUTER: Error getting RSS RETA info: Unknown error -22 (-22)
2017-06-01 13:35:49,966 VROUTER: Deleting vif 0 eth device
Root cause found:
1. Intel xl710 NIC supports 512 rss entries per PF in redirection table (ref. http://
2. This value (512) is set to internal structure in i40e drv, and propagated to contrail-vrouter (via rte_eth_
3. Contrail vrouter takes this number and makes this thing with it:
ethdev-
thus the number becomes 128 (value of "VR_DPDK_
4. Contrail calls i40e driver function (via rte_eth_
5. i40e driver fails in `i40e_dev_
Suggested fix:
Increase value VR_DPDK_
tags: | added: dpdk vrouter |
Review in progress for https:/ /review. opencontrail. org/32487
Submitter: Anonymous Coward (<email address hidden>)