commit 7e27429ba3703ef02e21947810c1822f95b6da59
Author: Jim Somerville <email address hidden>
Date: Fri Jan 24 12:36:06 2020 -0500
Mellanox Driver: Disable use of kernel page pool functionality
Problem: The out-of-tree Mellanox driver detects the presence
of page pool support in the new kernel, and thus wants to use it.
However, page pools are not configured to be on in the new kernel
by default (CONFIG_PAGE_POOL), and not only that, the config
option is hidden ie. it is not user selectable. The built-in
Mellanox driver selects it, but we don't use the built-in driver.
The out-of-tree driver does compile but not all pieces of it
will load properly, specifically the mlx5 pieces which rely on
page pool functionality being enabled in the kernel.
Solution: Simply disable kernel page pool use in the
out-of-tree Mellanox driver, making it work the same way as
it did with the older kernel.
Change-Id: If7e7155867d539352fcd0ea3acd5a17dd9d9579f
Closes-Bug: 1860347
Signed-off-by: Jim Somerville <email address hidden>
(cherry picked from commit 424ba94a9aa9e64fe1c0d2099b63e7d979b492cd)
Reviewed: https:/ /review. opendev. org/705066 /git.openstack. org/cgit/ starlingx/ integ/commit/ ?id=7e27429ba37 03ef02e21947810 c1822f95b6da59
Committed: https:/
Submitter: Zuul
Branch: r/stx.2.0
commit 7e27429ba3703ef 02e21947810c182 2f95b6da59
Author: Jim Somerville <email address hidden>
Date: Fri Jan 24 12:36:06 2020 -0500
Mellanox Driver: Disable use of kernel page pool functionality
Problem: The out-of-tree Mellanox driver detects the presence
of page pool support in the new kernel, and thus wants to use it.
However, page pools are not configured to be on in the new kernel
by default (CONFIG_PAGE_POOL), and not only that, the config
option is hidden ie. it is not user selectable. The built-in
Mellanox driver selects it, but we don't use the built-in driver.
The out-of-tree driver does compile but not all pieces of it
will load properly, specifically the mlx5 pieces which rely on
page pool functionality being enabled in the kernel.
Solution: Simply disable kernel page pool use in the
out-of-tree Mellanox driver, making it work the same way as
it did with the older kernel.
Change-Id: If7e7155867d539 352fcd0ea3acd5a 17dd9d9579f fe1c0d2099b63e7 d979b492cd)
Closes-Bug: 1860347
Signed-off-by: Jim Somerville <email address hidden>
(cherry picked from commit 424ba94a9aa9e64