diff options
author | Huy Nguyen <huyn@mellanox.com> | 2017-08-17 15:29:52 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-30 08:21:42 (GMT) |
commit | 19f433a9ce9d37ff3817b67dd6d8cb7a504aef62 (patch) | |
tree | 949d5773bb3a772c6c78d8219b4fabeafd32077b /drivers/vhost | |
parent | aadbe1fe91e785c95f12308b1e1589cfb3984984 (diff) | |
download | linux-19f433a9ce9d37ff3817b67dd6d8cb7a504aef62.tar.xz |
net/mlx4_core: Enable 4K UAR if SRIOV module parameter is not enabled
[ Upstream commit ca3d89a3ebe79367bd41b6b8ba37664478ae2dba ]
enable_4k_uar module parameter was added in patch cited below to
address the backward compatibility issue in SRIOV when the VM has
system's PAGE_SIZE uar implementation and the Hypervisor has 4k uar
implementation.
The above compatibility issue does not exist in the non SRIOV case.
In this patch, we always enable 4k uar implementation if SRIOV
is not enabled on mlx4's supported cards.
Fixes: 76e39ccf9c36 ("net/mlx4_core: Fix backward compatibility on VFs")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions