commit 3b9601b70a07f894a8d1cd3906e917a3871c170e
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/705112 /git.openstack. org/cgit/ starlingx/ integ/commit/ ?id=3b9601b70a0 7f894a8d1cd3906 e917a3871c170e
Committed: https:/
Submitter: Zuul
Branch: r/stx.3.0
commit 3b9601b70a07f89 4a8d1cd3906e917 a3871c170e
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