forked from cjdoucette/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev-dpdk: Retry tx/rx queue setup until we don't get any failure.
It has been observed that some DPDK device (e.g intel xl710) report an high number of queues but make some of them available only for special functions (SRIOV). Therefore the queues will be counted in rte_eth_dev_info_get(), but rte_eth_tx_queue_setup() will fail. This commit works around the issue by retrying the device initialization with a smaller number of queues, if a queue fails to setup. Reported-by: Ian Stokes <[email protected]> Tested-by: Ian Stokes <[email protected]> Acked-by: Kevin Traynor <[email protected]> Signed-off-by: Daniele Di Proietto <[email protected]> Signed-off-by: Ethan Jackson <[email protected]>
- Loading branch information
1 parent
6728d57
commit b98d766
Showing
1 changed file
with
73 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters