Commit d69a490
dpdk: use 1gb hugepages in priority
Even when 1GB hugepages are allocated on boot and available, trex will
try to allocate 2MB pages and ignore the 1GB pages. Change the logic and
see if 1GB hugepages can be used in priority. If there are not enough
1GB hugepages, fallback on 2MB.
Signed-off-by: Robin Jarry <rjarry@redhat.com>1 parent 5999b02 commit d69a490
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
732 | | - | |
| 732 | + | |
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
| |||
0 commit comments