]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Allow relaxed ordering over VFs
authorAya Levin <ayal@nvidia.com>
Mon, 11 Apr 2022 06:27:39 +0000 (09:27 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 18 May 2022 06:41:47 +0000 (23:41 -0700)
commit2a94753910214de3d3791fa292ce351f2cc22119
tree3ec2709b73f47aaf89a69a394a6c1e7c8a4252b5
parentb728abd52fcd5ec660a9bbd049bc86e99a13149d
net/mlx5e: Allow relaxed ordering over VFs

By PCI spec, the config space of the VF always report relaxed ordering
not supported while it inherits this property from its PF. Hence using
pcie_relaxed_ordering_enable(), always disables the relaxed ordering on
all VFs. Remove this check and rely on the firmware which queries the
config space of the PF and set the capability bit accordingly.

Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Marina Varshaver <marinav@nvidia.com>
Reviewed-by: Gal Shalom <galshalom@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/params.c
drivers/net/ethernet/mellanox/mlx5/core/en_common.c