]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Set port trust mode to PCP as default
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 19 Jul 2018 16:17:00 +0000 (16:17 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 31 Jul 2018 19:58:43 +0000 (12:58 -0700)
commit3b0fad78da838617b245514052bd41ec615fbc53
tree33d228924baed2b9f5c657da183982823b335373
parent05e86b93324eb302c1a9d15ed4f95becb979f7f8
net/mlx5e: Set port trust mode to PCP as default

The hairpin offload code has dependency on the trust mode being PCP.

Hence we should set PCP as the default for handling cases where we are
disallowed to read the trust mode from the FW, or failed to initialize it.

Fixes: 00c0591528ee ('net/mlx5e: Set per priority hairpin pairs')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c