]> 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)
commit0931ae7694835922b31b1849b197cc14cfbf204b
tree3ec2709b73f47aaf89a69a394a6c1e7c8a4252b5
parent32cdbe15f1a18ad471949fd4af9941d36ca30a8d
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