]> 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)
commite0479b88e561e87b3a9e128880edb5c4bfd004ac
tree33d228924baed2b9f5c657da183982823b335373
parentd5cfa0355cfa524585ce0c9b4e7fb5b1c56c339c
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: 2ed81c69922d ('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