-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
process_eventdev_xstats() function was iterating over eventdev_var[] structure even if there is no eventdev present. Revised the code to check to iterate and only look for the number of eventdevs present in the system. Also, shortened function name to eventdev_xstats(). Coverity issue: 395458 Fixes: 674bb39 ("app/procinfo: display eventdev xstats") Cc: stable@dpdk.org Signed-off-by: Abdullah Sevincer <abdullah.sevincer@intel.com> Tested-by: Dukai Yuan <dukaix.yuan@intel.com>
- Loading branch information
Showing
1 changed file
with
15 additions
and
14 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